@@ -73,6 +73,7 @@ describe('Approval Events', () => {
7373 itemId : `item-${ optionId } ` ,
7474 reason : 'Test command' ,
7575 startedAtMs : 0 ,
76+ environmentId : null ,
7677 proposedExecpolicyAmendment : null ,
7778 } ;
7879
@@ -98,6 +99,7 @@ describe('Approval Events', () => {
9899 threadId : sessionId ,
99100 turnId : 'turn-1' ,
100101 startedAtMs : 0 ,
102+ environmentId : null ,
101103 itemId : 'item-cancelled' ,
102104 reason : null ,
103105 proposedExecpolicyAmendment : null ,
@@ -126,6 +128,7 @@ describe('Approval Events', () => {
126128 turnId : 'turn-1' ,
127129 itemId : 'item-execpolicy-amendment' ,
128130 startedAtMs : 0 ,
131+ environmentId : null ,
129132 reason : 'Installing dependencies' ,
130133 command : 'npm install' ,
131134 cwd : '/home/user/project' ,
@@ -172,6 +175,7 @@ describe('Approval Events', () => {
172175 turnId : 'turn-1' ,
173176 itemId : 'item-network-policy-amendment' ,
174177 startedAtMs : 0 ,
178+ environmentId : null ,
175179 reason : 'Needs network access' ,
176180 networkApprovalContext : { host : 'registry.npmjs.org' , protocol : 'https' } ,
177181 proposedNetworkPolicyAmendments : [ networkPolicyAmendment ] ,
@@ -209,6 +213,7 @@ describe('Approval Events', () => {
209213 threadId : 'non-existent-session' ,
210214 turnId : 'turn-1' ,
211215 startedAtMs : 0 ,
216+ environmentId : null ,
212217 itemId : 'item-no-handler' ,
213218 reason : null ,
214219 proposedExecpolicyAmendment : null ,
@@ -232,6 +237,7 @@ describe('Approval Events', () => {
232237 threadId : sessionId ,
233238 turnId : 'turn-1' ,
234239 startedAtMs : 0 ,
240+ environmentId : null ,
235241 itemId : 'item-snapshot' ,
236242 reason : 'Running npm install' ,
237243 proposedExecpolicyAmendment : null ,
@@ -260,6 +266,7 @@ describe('Approval Events', () => {
260266 threadId : sessionId ,
261267 turnId : 'turn-1' ,
262268 startedAtMs : 0 ,
269+ environmentId : null ,
263270 itemId : 'item-with-command' ,
264271 reason : 'Installing dependencies' ,
265272 command : 'npm install' ,
@@ -298,6 +305,7 @@ describe('Approval Events', () => {
298305 threadId : sessionId ,
299306 turnId : 'turn-1' ,
300307 startedAtMs : 0 ,
308+ environmentId : null ,
301309 itemId : 'item-shell-prefix' ,
302310 reason : 'Installing dependencies' ,
303311 command,
0 commit comments