@sema-agent/core 7.46.0 → 7.48.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 +106 -0
- package/dist/core/allow-entry.d.ts +1 -1
- package/dist/core/allow-entry.js +4 -5
- package/dist/core/ask-origin.d.ts +35 -12
- package/dist/core/ask-origin.js +23 -6
- package/dist/core/checkpoint-store.d.ts +1 -1
- package/dist/core/engine-notice.d.ts +7 -4
- package/dist/core/gate-fold.js +2 -2
- package/dist/core/gate-lanes.js +2 -1
- package/dist/core/gate-outcome.d.ts +4 -2
- package/dist/core/gate-outcome.js +2 -2
- package/dist/core/mcp-server-spec.d.ts +1 -1
- package/dist/core/permission-rule-model.d.ts +12 -6
- package/dist/core/permission-rule-model.js +10 -2
- package/dist/core/permission-rules.d.ts +4 -5
- package/dist/core/permission-rules.js +28 -15
- package/dist/core/runner/gate-exit.d.ts +4 -1
- package/dist/core/runner/gate-exit.js +5 -1
- package/dist/core/runner/park-commit.d.ts +1 -1
- package/dist/core/runner/prepare-hands-readface.js +5 -5
- package/dist/core/runner/prepare-policy-chain.js +2 -1
- package/dist/core/safety-axis-vocab.d.ts +1 -1
- package/dist/core/safety-merge-corpus.d.ts +1 -1
- package/dist/core/session-policy-store.d.ts +6 -3
- package/dist/core/session-policy-store.js +28 -10
- package/dist/core/shell-wrapper-projection.js +1 -1
- package/dist/core/shell-wrapper-table.d.ts +8 -8
- package/dist/core/shell-wrapper-table.js +3 -3
- package/dist/core/tool-catalog-entries.js +3 -2
- package/dist/core/tool-face.d.ts +10 -1
- package/dist/core/tool-name-aliases.d.ts +9 -8
- package/dist/core/tool-name-aliases.js +2 -0
- package/dist/core/tool-name-readings.d.ts +8 -0
- package/dist/core/tool-name-readings.js +2 -0
- package/dist/core/tool-policy.d.ts +10 -9
- package/dist/core/tool-policy.js +6 -7
- package/dist/core/tool-registry.d.ts +9 -0
- package/dist/core/tool-registry.js +10 -0
- package/dist/core/write-protect.d.ts +10 -3
- package/dist/core/write-protect.js +11 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/orchestration/workflow.js +2 -2
- package/dist/prompt-assembly/types.d.ts +1 -1
- package/dist/shell/lex.d.ts +15 -0
- package/dist/shell/lex.js +86 -15
- package/dist/tools/fs/bash-program-position.d.ts +16 -6
- package/dist/tools/fs/bash-program-position.js +18 -12
- package/dist/tools/fs/index.d.ts +3 -2
- package/dist/tools/fs/index.js +2 -2
- package/dist/tools/fs/program-read-model.d.ts +84 -12
- package/dist/tools/fs/program-read-model.js +105 -34
- package/dist/tools/fs/program-read-model.rows.js +26 -7
- package/dist/tools/fs/read-deny-home.d.ts +20 -1
- package/dist/tools/fs/read-deny-home.js +28 -7
- package/dist/tools/fs/read-deny.d.ts +13 -6
- package/dist/tools/fs/read-deny.js +12 -3
- package/dist/tools/fs/removal-targets.js +24 -5
- package/dist/tools/fs/shell-read-argv.d.ts +6 -8
- package/dist/tools/fs/shell-read-argv.js +5 -5
- package/dist/tools/fs/shell-read-bindings.d.ts +71 -19
- package/dist/tools/fs/shell-read-bindings.js +190 -75
- package/dist/tools/fs/shell-read-establish.js +6 -7
- package/dist/tools/fs/shell-read-plan.d.ts +3 -15
- package/dist/tools/fs/shell-read-plan.js +126 -129
- package/dist/tools/fs/shell-read-start.d.ts +57 -0
- package/dist/tools/fs/shell-read-start.js +92 -0
- package/dist/tools/fs/shell-read-word.d.ts +68 -8
- package/dist/tools/fs/shell-read-word.js +106 -12
- package/dist/tools/fs/shell-read-write-targets.js +4 -3
- package/dist/tools/fs/shell-reentry-text.d.ts +103 -3
- package/dist/tools/fs/shell-reentry-text.js +122 -4
- package/dist/tools/monitor.d.ts +3 -3
- package/package.json +1 -1
- package/test/export-surface.snapshot.json +9 -3
- package/wire-changes/core@7.47.0.json +412 -0
- package/wire-changes/core@7.48.0.json +252 -0
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo": "core",
|
|
3
|
+
"version": "7.48.0",
|
|
4
|
+
"from": "b29642cbf7daa459e48226114b2ac2132e855036",
|
|
5
|
+
"to": "7161f2a278ed51f0154de745fd7f6a4f8d349039",
|
|
6
|
+
"added": [],
|
|
7
|
+
"removed": [],
|
|
8
|
+
"changed": [],
|
|
9
|
+
"narrowed": [
|
|
10
|
+
{
|
|
11
|
+
"id": "F1",
|
|
12
|
+
"source": "behaviorFlips.summary",
|
|
13
|
+
"text": "BEHAVIOR NARROWING, open to veto (#1461): a word that a name's established value spells is read as that value at the program position and as an operand — a `Bash` allow no longer runs `P=rm; $P -rf <root>` without a card."
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "F2",
|
|
17
|
+
"source": "behaviorFlips.summary",
|
|
18
|
+
"text": "BEHAVIOR NARROWING, open to veto (#1461, completed): each field of a split unquoted value is a word of its own — named by its text, its `NAME=value` shape kept — for every reader, the removal guard included."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "F7",
|
|
22
|
+
"source": "behaviorFlips.summary",
|
|
23
|
+
"text": "BEHAVIOR NARROWING (#1459): every launcher field asks the one value table — `su -c` / `runuser -c` / `watch` / `bash -c` hand every established value of a name, as `sudo -s` already did."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "F8",
|
|
27
|
+
"source": "behaviorFlips.summary",
|
|
28
|
+
"text": "BEHAVIOR NARROWING (#1460): the combination bound counts distinct names and nothing is sampled past it — the words past the bound are handed on as written with their values as deny floors."
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "F9",
|
|
32
|
+
"source": "behaviorFlips.summary",
|
|
33
|
+
"text": "BEHAVIOR NARROWING (#1446): a launcher option cluster is read as getopt reads it, its command-line letter included."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "F10",
|
|
37
|
+
"source": "behaviorFlips.summary",
|
|
38
|
+
"text": "BEHAVIOR NARROWING (#1452): `watch` declares its options (procps and BusyBox) and the words from its first operand on are the shell text; the exported `SHELL_WRAPPER_TABLE` `watch` row gains its option sets."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "F11",
|
|
42
|
+
"source": "behaviorFlips.summary",
|
|
43
|
+
"text": "BEHAVIOR NARROWING (#1463): a shell run as another user starts with that user's home — a login shell stands in it, `HOME` there is the target's."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "F12",
|
|
47
|
+
"source": "behaviorFlips.summary",
|
|
48
|
+
"text": "BEHAVIOR NARROWING, open to veto (#1424): standard input flows into a group and into an inner shell; a process-substitution script and a stream-fed shell are scripts built when the command runs — also for a harmless text."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "F13",
|
|
52
|
+
"source": "behaviorFlips.summary",
|
|
53
|
+
"text": "BEHAVIOR NARROWING (#1466): the judge sees every name bash opens — a part of a pattern word carries the word's widened pattern, a malformed bracket unit is a member as bash reads it, a field forms its pattern once it has fully expanded."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "F14",
|
|
57
|
+
"source": "behaviorFlips.summary",
|
|
58
|
+
"text": "BEHAVIOR NARROWING (#1471): session rules with a bucket that is not a list of strings are refused — a bare `\"rm\"` was stored as `[\"r\",\"m\"]`."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "F15",
|
|
62
|
+
"source": "behaviorFlips.summary",
|
|
63
|
+
"text": "BEHAVIOR NARROWING (#1400): a protocol name with an empty tool segment (`mcp__srv__`) is judged `unmintable_segment`, not `current` — a rule that guarded nothing in silence is refused or announced."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "F17",
|
|
67
|
+
"source": "behaviorFlips.summary",
|
|
68
|
+
"text": "BEHAVIOR NARROWING (#1442): a `readDenyPatterns` row that opens with `/` is rooted — it names that one absolute location (placed where its literal head leads through a link), not that tail at any depth."
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"closedSetMembers": [],
|
|
72
|
+
"closedSetsUnreadable": [],
|
|
73
|
+
"typeKeys": [],
|
|
74
|
+
"typeKeysUnreadableArms": [],
|
|
75
|
+
"typeKeysFlattenedCount": 228,
|
|
76
|
+
"signatures": [],
|
|
77
|
+
"declarationMoves": [],
|
|
78
|
+
"mintMoves": [],
|
|
79
|
+
"criteriaObserves": [
|
|
80
|
+
{
|
|
81
|
+
"kind": "taskEventField",
|
|
82
|
+
"name": "tool_end.gate",
|
|
83
|
+
"assertions": [
|
|
84
|
+
"G1.a",
|
|
85
|
+
"G2.a",
|
|
86
|
+
"G2.c",
|
|
87
|
+
"G4.a",
|
|
88
|
+
"G4.b",
|
|
89
|
+
"G5.a",
|
|
90
|
+
"G5.c",
|
|
91
|
+
"G6.a",
|
|
92
|
+
"G7.a",
|
|
93
|
+
"G8.a",
|
|
94
|
+
"G8.b"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"kind": "taskEventField",
|
|
99
|
+
"name": "tool_end.isError",
|
|
100
|
+
"assertions": [
|
|
101
|
+
"G12.a",
|
|
102
|
+
"G12.b"
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"kind": "taskEventField",
|
|
107
|
+
"name": "tool_end.output",
|
|
108
|
+
"assertions": [
|
|
109
|
+
"G12.a",
|
|
110
|
+
"G12.b"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"kind": "typeMember",
|
|
115
|
+
"name": "AskRequest.askClass",
|
|
116
|
+
"assertions": [
|
|
117
|
+
"G1.a",
|
|
118
|
+
"G1.b",
|
|
119
|
+
"G1.c",
|
|
120
|
+
"G1.d",
|
|
121
|
+
"G2.a",
|
|
122
|
+
"G3.a",
|
|
123
|
+
"G3.b",
|
|
124
|
+
"G3.c",
|
|
125
|
+
"G3.d",
|
|
126
|
+
"G4.a",
|
|
127
|
+
"G4.c",
|
|
128
|
+
"G5.a",
|
|
129
|
+
"G5.b",
|
|
130
|
+
"G5.c",
|
|
131
|
+
"G5.d",
|
|
132
|
+
"G6.a",
|
|
133
|
+
"G6.b",
|
|
134
|
+
"G6.c",
|
|
135
|
+
"G7.a",
|
|
136
|
+
"G7.b",
|
|
137
|
+
"G8.c"
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"kind": "typeMember",
|
|
142
|
+
"name": "AskRequest.classes",
|
|
143
|
+
"assertions": [
|
|
144
|
+
"G2.b"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"kind": "typeMember",
|
|
149
|
+
"name": "AskRequest.message",
|
|
150
|
+
"assertions": [
|
|
151
|
+
"G1.c",
|
|
152
|
+
"G3.b",
|
|
153
|
+
"G6.b",
|
|
154
|
+
"G7.b"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"kind": "typeMember",
|
|
159
|
+
"name": "GateOutcome.disposition",
|
|
160
|
+
"assertions": [
|
|
161
|
+
"G1.b",
|
|
162
|
+
"G2.b",
|
|
163
|
+
"G2.c",
|
|
164
|
+
"G3.a",
|
|
165
|
+
"G3.c",
|
|
166
|
+
"G3.d",
|
|
167
|
+
"G4.b",
|
|
168
|
+
"G4.c",
|
|
169
|
+
"G5.b",
|
|
170
|
+
"G5.d",
|
|
171
|
+
"G6.c",
|
|
172
|
+
"G8.a",
|
|
173
|
+
"G8.b",
|
|
174
|
+
"G8.c"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"kind": "typeMember",
|
|
179
|
+
"name": "SessionPolicyError.code",
|
|
180
|
+
"assertions": [
|
|
181
|
+
"G9.b",
|
|
182
|
+
"G10.a"
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"kind": "typeMember",
|
|
187
|
+
"name": "SessionPolicyError.detail.verdict",
|
|
188
|
+
"assertions": [
|
|
189
|
+
"G10.a"
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"kind": "typeMember",
|
|
194
|
+
"name": "SessionPolicyStore.getRules",
|
|
195
|
+
"assertions": [
|
|
196
|
+
"G9.a"
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"kind": "typeMember",
|
|
201
|
+
"name": "SessionPolicyStore.putRules",
|
|
202
|
+
"assertions": [
|
|
203
|
+
"G9.a",
|
|
204
|
+
"G9.b"
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"kind": "typeMember",
|
|
209
|
+
"name": "TaskResult.terminal.code",
|
|
210
|
+
"assertions": [
|
|
211
|
+
"G10.b"
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"kind": "typeMember",
|
|
216
|
+
"name": "TaskResult.terminal.message",
|
|
217
|
+
"assertions": [
|
|
218
|
+
"G10.b"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"kind": "typeMember",
|
|
223
|
+
"name": "WorkflowRun.error",
|
|
224
|
+
"assertions": [
|
|
225
|
+
"G11.a",
|
|
226
|
+
"G11.b"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"kind": "typeMember",
|
|
231
|
+
"name": "WorkflowRun.result",
|
|
232
|
+
"assertions": [
|
|
233
|
+
"G11.b"
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"kind": "typeMember",
|
|
238
|
+
"name": "WorkflowRun.status",
|
|
239
|
+
"assertions": [
|
|
240
|
+
"G11.a"
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"consumersHint": {
|
|
245
|
+
"cli": [],
|
|
246
|
+
"server": [],
|
|
247
|
+
"sdk": [],
|
|
248
|
+
"note": "scanned cli@bad8fa4b server@a49a0616 sdk@ae10bec — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
|
|
249
|
+
},
|
|
250
|
+
"breakingCount": 0,
|
|
251
|
+
"breakingItems": []
|
|
252
|
+
}
|