@@ -11,7 +11,10 @@ import {
1111 stringArraySchema ,
1212 stringSchema ,
1313} from '../commands/command-input.ts' ;
14- import { INTERACTION_COMMAND_OUTPUT_SCHEMAS } from '../commands/interaction/index.ts' ;
14+ import {
15+ INTERACTION_COMMAND_OUTPUT_SCHEMAS ,
16+ postActionSurfaceChangeSchema ,
17+ } from '../commands/interaction/index.ts' ;
1518import { REPLAY_COMMAND_OUTPUT_SCHEMAS } from '../commands/replay/index.ts' ;
1619import { SYSTEM_COMMAND_OUTPUT_SCHEMAS } from '../commands/system/index.ts' ;
1720import { NATIVE_PATH_DISPOSITION_VALUES } from '@agent-device/contracts/recording-native-path' ;
@@ -60,21 +63,6 @@ const artifactSchema = objectSchema(
6063 [ 'field' ] ,
6164) ;
6265
63- // PostActionSurfaceChange (packages/contracts/src/interaction.ts) — the post-action capture
64- // describes a different surface than the pre-action baseline (#2438), so no same-surface
65- // comparison is presented across it. Also mirrored in the interaction family module
66- // (src/commands/interaction/index.ts), which needs it for its own InteractionEvidence
67- // projection without importing back into this file.
68- const postActionSurfaceChangeSchema : JsonSchema = objectSchema (
69- {
70- from : stringSchema ( 'Surface the pre-action baseline described: a host bundle id, or app.' ) ,
71- to : stringSchema ( 'Surface the post-action capture describes: a host bundle id, or app.' ) ,
72- disclosure : stringSchema ( 'Agent-facing sentence explaining the surface transition.' ) ,
73- } ,
74- [ 'from' , 'to' , 'disclosure' ] ,
75- 'Present when an in-place system surface (web sign-in or Apple Pay sheet) was presented over the app, or left it.' ,
76- ) ;
77-
7866// SettleObservation (packages/contracts/src/interaction.ts) — opt-in `--settle` settled
7967// diff observation (#1101).
8068const settleObservationSchema : JsonSchema = objectSchema (
0 commit comments