@sema-agent/core 7.50.2 → 7.51.1
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 +313 -0
- package/dist/agents/child-failure.d.ts +5 -16
- package/dist/agents/child-failure.js +4 -24
- package/dist/agents/subagent-steps.js +2 -2
- package/dist/agents/subagent.d.ts +4 -13
- package/dist/agents/subagent.js +94 -204
- package/dist/agents/tool-filter.d.ts +2 -2
- package/dist/brain/anthropic.d.ts +1 -1
- package/dist/brain/anthropic.js +7 -5
- package/dist/brain/open-responses.d.ts +1 -1
- package/dist/brain/open-responses.js +3 -2
- package/dist/brain/openai.d.ts +1 -1
- package/dist/brain/openai.js +3 -2
- package/dist/brain/request-route.d.ts +2 -2
- package/dist/brain/route-adjudicator.d.ts +16 -7
- package/dist/brain/route-adjudicator.js +23 -7
- package/dist/brain/route-conformance.js +23 -5
- package/dist/brain/stream-engine.js +9 -3
- package/dist/core/a2a.js +6 -8
- package/dist/core/allow-entry.d.ts +45 -26
- package/dist/core/allow-entry.js +48 -24
- package/dist/core/arg-summary.d.ts +8 -85
- package/dist/core/arg-summary.js +4 -386
- package/dist/core/ask-origin.d.ts +35 -33
- package/dist/core/ask-origin.js +9 -11
- package/dist/core/checkpoint-requirements.d.ts +6 -0
- package/dist/core/checkpoint-requirements.js +1 -0
- package/dist/core/checkpoint-store.d.ts +15 -34
- package/dist/core/checkpoint-store.js +5 -4
- package/dist/core/classifier-unavailable-arm.d.ts +12 -8
- package/dist/core/classifier-unavailable-arm.js +7 -2
- package/dist/core/credential-vocabulary.d.ts +3 -2
- package/dist/core/credential-vocabulary.js +27 -18
- package/dist/core/delegation-frames.d.ts +40 -15
- package/dist/core/delegation-frames.js +34 -0
- package/dist/core/engine-capabilities.d.ts +15 -0
- package/dist/core/engine-capabilities.js +1 -0
- package/dist/core/engine-notice.d.ts +41 -14
- package/dist/core/gate-fold.js +9 -7
- package/dist/core/gate-lanes.js +6 -4
- package/dist/core/gate-outcome.d.ts +81 -15
- package/dist/core/gate-outcome.js +168 -67
- package/dist/core/governance-codes.d.ts +7 -1
- package/dist/core/governance-codes.js +9 -0
- package/dist/core/hooks.d.ts +4 -4
- package/dist/core/hooks.js +4 -3
- package/dist/core/mcp-connection-pool.d.ts +2 -0
- package/dist/core/mcp-connection-pool.js +2 -1
- package/dist/core/mcp-failure.js +2 -1
- package/dist/core/mcp-server-spec.d.ts +27 -5
- package/dist/core/mcp.d.ts +13 -38
- package/dist/core/mcp.js +28 -23
- package/dist/core/media-byte-cap.d.ts +25 -0
- package/dist/core/media-byte-cap.js +18 -2
- package/dist/core/memory-engine/consolidation-driver.js +1 -1
- package/dist/core/mode-policy.d.ts +25 -1
- package/dist/core/mode-policy.js +28 -13
- package/dist/core/own-property-receipt.d.ts +18 -0
- package/dist/core/own-property-receipt.js +39 -0
- package/dist/core/permission-rule-model.d.ts +32 -11
- package/dist/core/permission-rule-model.js +12 -7
- package/dist/core/persisted-rule-arms.d.ts +3 -3
- package/dist/core/prompt-section-seat.d.ts +54 -0
- package/dist/core/prompt-section-seat.js +49 -0
- package/dist/core/protocol-http-auth.d.ts +44 -0
- package/dist/core/protocol-http-auth.js +45 -0
- package/dist/core/read-face-seats.d.ts +30 -0
- package/dist/core/read-face-seats.js +38 -0
- package/dist/core/redaction-passes.d.ts +82 -0
- package/dist/core/redaction-passes.js +378 -0
- package/dist/core/remote-env.d.ts +4 -3
- package/dist/core/resume-startup-cause.d.ts +56 -0
- package/dist/core/resume-startup-cause.js +43 -0
- package/dist/core/rule-denial-sentence.d.ts +2 -2
- package/dist/core/runner/announce-once-ledger.js +2 -2
- package/dist/core/runner/classifier-ladder.d.ts +17 -13
- package/dist/core/runner/classifier-ladder.js +12 -10
- package/dist/core/runner/construction-doors.js +9 -20
- package/dist/core/runner/contracts.d.ts +4 -4
- package/dist/core/runner/gate-exit.js +2 -2
- package/dist/core/runner/memory-consolidation-write-judge.d.ts +53 -9
- package/dist/core/runner/memory-consolidation-write-judge.js +39 -1
- package/dist/core/runner/permission-rule-lanes.d.ts +8 -13
- package/dist/core/runner/person-path-rows.d.ts +4 -3
- package/dist/core/runner/policy-throw.js +4 -4
- package/dist/core/runner/prepare-caps-and-workflow.d.ts +4 -3
- package/dist/core/runner/prepare-caps-and-workflow.js +8 -6
- package/dist/core/runner/prepare-gate-stations.js +4 -4
- package/dist/core/runner/prepare-hands-readface.js +1 -19
- package/dist/core/runner/prepare-inherited-gate.js +10 -9
- package/dist/core/runner/prepare-policy-chain.d.ts +3 -5
- package/dist/core/runner/prepare-policy-chain.js +10 -13
- package/dist/core/runner/prepare-project-context.d.ts +4 -4
- package/dist/core/runner/prepare-project-context.js +2 -1
- package/dist/core/runner/prepare-prompt-assembly.js +1 -0
- package/dist/core/runner/prepare-prompt-inputs.d.ts +1 -1
- package/dist/core/runner/prepare-prompt-inputs.js +4 -4
- package/dist/core/runner/prepare-protocol-tools.d.ts +4 -3
- package/dist/core/runner/prepare-protocol-tools.js +3 -2
- package/dist/core/runner/prepare-task.js +6 -4
- package/dist/core/runner/prepare-turn-wiring.d.ts +16 -13
- package/dist/core/runner/prepare-turn-wiring.js +8 -7
- package/dist/core/runner/run-harness-handlers.js +2 -2
- package/dist/core/runner/run-leg.js +10 -9
- package/dist/core/runner/run-settle-and-teardown.js +5 -5
- package/dist/core/runner/run-turn-boundary.js +3 -2
- package/dist/core/runner/runtask.d.ts +1 -2
- package/dist/core/runner/runtask.js +8 -12
- package/dist/core/runner/session-rule-policy.d.ts +15 -11
- package/dist/core/runner/session-rule-policy.js +43 -33
- package/dist/core/runner/stream-lifecycle-verbs.js +2 -2
- package/dist/core/runner/stream-settle-backstop.js +2 -1
- package/dist/core/runner/sub-agent-deny-lists.d.ts +12 -8
- package/dist/core/runner/sub-agent-deny-lists.js +23 -12
- package/dist/core/runner/terminal-account.js +3 -3
- package/dist/core/runner/tool-output-projection.d.ts +5 -0
- package/dist/core/runner/tool-output-projection.js +6 -11
- package/dist/core/runner/tool-result-media-seat.d.ts +19 -0
- package/dist/core/runner/tool-result-media-seat.js +13 -0
- package/dist/core/runner/turn-attachments.d.ts +13 -12
- package/dist/core/runner/turn-attachments.js +11 -7
- package/dist/core/runner-deps.d.ts +4 -3
- package/dist/core/safety-merge-corpus.js +21 -21
- package/dist/core/secret-env.d.ts +41 -15
- package/dist/core/secret-env.js +85 -19
- package/dist/core/session-policy-store.d.ts +89 -72
- package/dist/core/session-policy-store.js +100 -93
- package/dist/core/shell-read-silence.d.ts +38 -4
- package/dist/core/shell-read-silence.js +102 -0
- package/dist/core/side-query.d.ts +7 -8
- package/dist/core/skill-grant-binding.d.ts +32 -11
- package/dist/core/skill-grant-binding.js +11 -3
- package/dist/core/skill-grant.d.ts +4 -3
- package/dist/core/skill-grant.js +5 -4
- package/dist/core/skills-directory.d.ts +12 -1
- package/dist/core/skills-directory.js +17 -8
- package/dist/core/spec-contract.d.ts +5 -3
- package/dist/core/store-contracts/checkpoint-store-contract.d.ts +2 -0
- package/dist/core/store-contracts/checkpoint-store-contract.js +3 -0
- package/dist/core/swappable-deps.d.ts +15 -1
- package/dist/core/swappable-deps.js +25 -1
- package/dist/core/synthetic-read-verdict.d.ts +16 -14
- package/dist/core/synthetic-read-verdict.js +28 -8
- package/dist/core/task-notification.d.ts +13 -3
- package/dist/core/task-notification.js +12 -1
- package/dist/core/task-spec.d.ts +14 -15
- package/dist/core/tool-name-readings.d.ts +0 -4
- package/dist/core/tool-name-readings.js +0 -1
- package/dist/core/tool-policy.d.ts +40 -9
- package/dist/core/tool-policy.js +25 -7
- package/dist/core/types.d.ts +3 -3
- package/dist/core/types.js +1 -1
- package/dist/core/untrusted-egress.d.ts +60 -11
- package/dist/core/untrusted-egress.js +120 -9
- package/dist/core/untrusted-text.js +16 -0
- package/dist/core/wiring-manifest.d.ts +22 -8
- package/dist/core/wiring-manifest.js +12 -4
- package/dist/engine/execution-env/kill-tree.js +4 -4
- package/dist/engine/execution-env/node-execution-env.d.ts +11 -4
- package/dist/engine/execution-env/node-execution-env.js +9 -4
- package/dist/engine/harness/agent-harness.d.ts +2 -1
- package/dist/engine/harness/agent-harness.js +4 -1
- package/dist/engine/harness/types.d.ts +3 -0
- package/dist/engine/llm/types.d.ts +7 -9
- package/dist/engine/loop/agent-loop.d.ts +8 -3
- package/dist/engine/loop/agent-loop.js +26 -9
- package/dist/engine/loop/types.d.ts +10 -0
- package/dist/engine/lsp/node-lsp-manager.d.ts +2 -1
- package/dist/engine/lsp/node-lsp-manager.js +2 -2
- package/dist/index.d.ts +22 -5
- package/dist/index.js +18 -5
- package/dist/orchestration/run-workflow-tool.js +8 -8
- package/dist/orchestration/workflow.js +2 -2
- package/dist/prompt-assembly/assemble.d.ts +3 -1
- package/dist/prompt-assembly/assemble.js +6 -0
- package/dist/prompts/cowork.d.ts +42 -0
- package/dist/prompts/cowork.js +529 -0
- package/dist/prompts/default.d.ts +14 -1
- package/dist/prompts/default.js +3 -0
- package/dist/stores/file/fs-atomic.js +2 -2
- package/dist/stores/file/session-policy-store.d.ts +6 -3
- package/dist/stores/file/session-policy-store.js +5 -16
- package/dist/tools/artifact/artifact-tool.js +2 -0
- package/dist/tools/fs/image-admission.d.ts +57 -4
- package/dist/tools/fs/image-admission.js +85 -0
- package/dist/tools/fs/path-containment.d.ts +2 -0
- package/dist/tools/fs/path-containment.js +5 -0
- package/dist/tools/fs/shell-read-check.d.ts +31 -6
- package/dist/tools/fs/shell-read-check.js +2 -4
- package/dist/tools/fs/shell-read-environment.d.ts +10 -25
- package/dist/tools/fs/shell-read-environment.js +6 -18
- package/dist/tools/fs/shell-read-establish.d.ts +3 -2
- package/dist/tools/fs/shell-read-establish.js +5 -5
- package/dist/tools/fs/shell-read-judge.d.ts +38 -8
- package/dist/tools/fs/shell-read-judge.js +12 -10
- package/dist/tools/web.js +2 -2
- package/package.json +1 -1
- package/test/export-surface.snapshot.json +112 -10
- package/wire-changes/core@7.51.0.json +2421 -0
- package/wire-changes/core@7.51.1.json +259 -0
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo": "core",
|
|
3
|
+
"version": "7.51.1",
|
|
4
|
+
"from": "d990eb2fd73215c09bf254545bdab6f1080c0c98",
|
|
5
|
+
"to": "v7.51.1",
|
|
6
|
+
"added": [
|
|
7
|
+
{
|
|
8
|
+
"name": "ENGINE_CAPABILITIES",
|
|
9
|
+
"kind": "variable",
|
|
10
|
+
"tier": "advanced",
|
|
11
|
+
"at": [
|
|
12
|
+
"src/core/engine-capabilities.ts:13",
|
|
13
|
+
"src/index.ts:516"
|
|
14
|
+
],
|
|
15
|
+
"criteriaCovered": false,
|
|
16
|
+
"breaking": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "EngineCapability",
|
|
20
|
+
"kind": "type",
|
|
21
|
+
"tier": "advanced",
|
|
22
|
+
"at": [
|
|
23
|
+
"src/core/engine-capabilities.ts:16",
|
|
24
|
+
"src/index.ts:516"
|
|
25
|
+
],
|
|
26
|
+
"criteriaCovered": false,
|
|
27
|
+
"breaking": false
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "InheritEnvPolicy",
|
|
31
|
+
"kind": "type",
|
|
32
|
+
"tier": "advanced",
|
|
33
|
+
"at": [
|
|
34
|
+
"src/core/secret-env.ts:220",
|
|
35
|
+
"src/index.ts:515"
|
|
36
|
+
],
|
|
37
|
+
"criteriaCovered": false,
|
|
38
|
+
"breaking": false
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "ProtocolHttpAuth",
|
|
42
|
+
"kind": "interface",
|
|
43
|
+
"tier": "advanced",
|
|
44
|
+
"at": [
|
|
45
|
+
"src/core/protocol-http-auth.ts:18",
|
|
46
|
+
"src/index.ts:2985"
|
|
47
|
+
],
|
|
48
|
+
"criteriaCovered": false,
|
|
49
|
+
"breaking": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "declareWithheldEnv",
|
|
53
|
+
"kind": "function",
|
|
54
|
+
"tier": "advanced",
|
|
55
|
+
"at": [
|
|
56
|
+
"src/core/secret-env.ts:273",
|
|
57
|
+
"src/index.ts:515"
|
|
58
|
+
],
|
|
59
|
+
"criteriaCovered": false,
|
|
60
|
+
"breaking": false
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "headerOwnershipCollision",
|
|
64
|
+
"kind": "function",
|
|
65
|
+
"tier": "advanced",
|
|
66
|
+
"at": [
|
|
67
|
+
"src/core/protocol-http-auth.ts:24",
|
|
68
|
+
"src/index.ts:2984"
|
|
69
|
+
],
|
|
70
|
+
"criteriaCovered": false,
|
|
71
|
+
"breaking": false
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "inheritEnvPolicyProblem",
|
|
75
|
+
"kind": "function",
|
|
76
|
+
"tier": "advanced",
|
|
77
|
+
"at": [
|
|
78
|
+
"src/core/secret-env.ts:336",
|
|
79
|
+
"src/index.ts:515"
|
|
80
|
+
],
|
|
81
|
+
"criteriaCovered": false,
|
|
82
|
+
"breaking": false
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "inheritedHostEnv",
|
|
86
|
+
"kind": "function",
|
|
87
|
+
"tier": "advanced",
|
|
88
|
+
"at": [
|
|
89
|
+
"src/core/secret-env.ts:321",
|
|
90
|
+
"src/index.ts:515"
|
|
91
|
+
],
|
|
92
|
+
"criteriaCovered": false,
|
|
93
|
+
"breaking": false
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "toolOutputBlockChars",
|
|
97
|
+
"kind": "variable",
|
|
98
|
+
"tier": "internal",
|
|
99
|
+
"at": [
|
|
100
|
+
"src/core/runner/tool-output-projection.ts:28",
|
|
101
|
+
"src/index.ts:34"
|
|
102
|
+
],
|
|
103
|
+
"criteriaCovered": false,
|
|
104
|
+
"breaking": false
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"removed": [],
|
|
108
|
+
"changed": [],
|
|
109
|
+
"narrowed": [],
|
|
110
|
+
"closedSetMembers": [
|
|
111
|
+
{
|
|
112
|
+
"set": "ENGINE_CAPABILITIES",
|
|
113
|
+
"at": [
|
|
114
|
+
"src/core/engine-capabilities.ts:13"
|
|
115
|
+
],
|
|
116
|
+
"newSet": true,
|
|
117
|
+
"added": [
|
|
118
|
+
"inherit_env.own_credentials_withheld"
|
|
119
|
+
],
|
|
120
|
+
"removed": [],
|
|
121
|
+
"breaking": false,
|
|
122
|
+
"criteriaCovered": false
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"set": "EngineCapability",
|
|
126
|
+
"at": [
|
|
127
|
+
"src/core/engine-capabilities.ts:16",
|
|
128
|
+
"src/index.ts:516"
|
|
129
|
+
],
|
|
130
|
+
"newSet": true,
|
|
131
|
+
"added": [
|
|
132
|
+
"inherit_env.own_credentials_withheld"
|
|
133
|
+
],
|
|
134
|
+
"removed": [],
|
|
135
|
+
"breaking": false,
|
|
136
|
+
"criteriaCovered": false
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"set": "SecretEnvFindingKind",
|
|
140
|
+
"at": [
|
|
141
|
+
"src/core/secret-env.ts:149"
|
|
142
|
+
],
|
|
143
|
+
"newSet": false,
|
|
144
|
+
"added": [
|
|
145
|
+
"own-credential"
|
|
146
|
+
],
|
|
147
|
+
"removed": [],
|
|
148
|
+
"breaking": false,
|
|
149
|
+
"criteriaCovered": false
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"closedSetsUnreadable": [],
|
|
153
|
+
"typeKeys": [],
|
|
154
|
+
"typeKeysUnreadableArms": [],
|
|
155
|
+
"typeKeysFlattenedCount": 234,
|
|
156
|
+
"signatures": [],
|
|
157
|
+
"declarationMoves": [
|
|
158
|
+
{
|
|
159
|
+
"name": "InheritEnvPolicy",
|
|
160
|
+
"kind": "type",
|
|
161
|
+
"onSurface": true,
|
|
162
|
+
"from": [
|
|
163
|
+
"src/core/secret-env.ts"
|
|
164
|
+
],
|
|
165
|
+
"to": [
|
|
166
|
+
"src/core/secret-env.ts",
|
|
167
|
+
"src/index.ts"
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "ProtocolHttpAuth",
|
|
172
|
+
"kind": "interface",
|
|
173
|
+
"onSurface": true,
|
|
174
|
+
"from": [
|
|
175
|
+
"src/core/protocol-http-auth.ts"
|
|
176
|
+
],
|
|
177
|
+
"to": [
|
|
178
|
+
"src/core/protocol-http-auth.ts",
|
|
179
|
+
"src/index.ts"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "headerOwnershipCollision",
|
|
184
|
+
"kind": "function",
|
|
185
|
+
"onSurface": true,
|
|
186
|
+
"from": [
|
|
187
|
+
"src/core/protocol-http-auth.ts"
|
|
188
|
+
],
|
|
189
|
+
"to": [
|
|
190
|
+
"src/core/protocol-http-auth.ts",
|
|
191
|
+
"src/index.ts"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "inheritEnvPolicyProblem",
|
|
196
|
+
"kind": "function",
|
|
197
|
+
"onSurface": true,
|
|
198
|
+
"from": [
|
|
199
|
+
"src/core/secret-env.ts"
|
|
200
|
+
],
|
|
201
|
+
"to": [
|
|
202
|
+
"src/core/secret-env.ts",
|
|
203
|
+
"src/index.ts"
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "inheritedHostEnv",
|
|
208
|
+
"kind": "function",
|
|
209
|
+
"onSurface": true,
|
|
210
|
+
"from": [
|
|
211
|
+
"src/core/secret-env.ts"
|
|
212
|
+
],
|
|
213
|
+
"to": [
|
|
214
|
+
"src/core/secret-env.ts",
|
|
215
|
+
"src/index.ts"
|
|
216
|
+
]
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"mintMoves": [],
|
|
220
|
+
"criteriaObserves": [
|
|
221
|
+
{
|
|
222
|
+
"kind": "engineNoticeCode",
|
|
223
|
+
"name": "config.secret_env_scrubbed",
|
|
224
|
+
"assertions": [
|
|
225
|
+
"G1.b"
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"kind": "taskEventField",
|
|
230
|
+
"name": "tool_end.totalChars",
|
|
231
|
+
"assertions": [
|
|
232
|
+
"G2.a"
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"kind": "typeMember",
|
|
237
|
+
"name": "SecretEnvFinding.kind",
|
|
238
|
+
"assertions": [
|
|
239
|
+
"G1.a",
|
|
240
|
+
"G1.c"
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"consumersHint": {
|
|
245
|
+
"cli": [
|
|
246
|
+
"InheritEnvPolicy",
|
|
247
|
+
"SecretEnvFindingKind"
|
|
248
|
+
],
|
|
249
|
+
"server": [
|
|
250
|
+
"InheritEnvPolicy",
|
|
251
|
+
"SecretEnvFindingKind"
|
|
252
|
+
],
|
|
253
|
+
"sdk": [],
|
|
254
|
+
"note": "scanned cli@80e061c0 server@3c0e175c sdk@304339d — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
|
|
255
|
+
},
|
|
256
|
+
"breakingCount": 0,
|
|
257
|
+
"breakingItems": [],
|
|
258
|
+
"toResolvedAt": "cedf0606eb8b5b488d394a01b5f0a632019d1692"
|
|
259
|
+
}
|