@@ -246,6 +246,8 @@ describe('ACP server test', { timeout: 40_000 }, () => {
246246 inputModalities : [ "text" ] ,
247247 supportsPersonality : false ,
248248 additionalSpeedTiers : [ ] ,
249+ serviceTiers : [ ] ,
250+ defaultServiceTier : null ,
249251 isDefault : true
250252 } ] ,
251253 nextCursor : null
@@ -262,10 +264,6 @@ describe('ACP server test', { timeout: 40_000 }, () => {
262264 expect ( listSkillsSpy ) . toHaveBeenCalledWith ( {
263265 cwds : [ "/workspace" ] ,
264266 forceReload : true ,
265- perCwdExtraUserRoots : [ {
266- cwd : "/workspace" ,
267- extraUserRoots : [ "/skills/one" , "/skills/two" ]
268- } ]
269267 } ) ;
270268 expect ( listSkillsSpy . mock . invocationCallOrder [ 0 ] ! ) . toBeLessThan ( threadStartSpy . mock . invocationCallOrder [ 0 ] ! ) ;
271269 } ) ;
@@ -450,10 +448,6 @@ describe('ACP server test', { timeout: 40_000 }, () => {
450448 expect ( listSkillsSpy ) . toHaveBeenCalledWith ( {
451449 cwds : [ "/workspace" ] ,
452450 forceReload : true ,
453- perCwdExtraUserRoots : [ {
454- cwd : "/workspace" ,
455- extraUserRoots : [ "/skills/one" , "/skills/two" ]
456- } ]
457451 } ) ;
458452 expect ( listSkillsSpy . mock . invocationCallOrder [ 0 ] ! ) . toBeLessThan ( turnStartSpy . mock . invocationCallOrder [ 0 ] ! ) ;
459453 } ) ;
@@ -477,6 +471,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
477471 return {
478472 id,
479473 items : [ ] ,
474+ itemsView : "notLoaded" as const ,
480475 status,
481476 error : null ,
482477 startedAt : null ,
@@ -718,6 +713,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
718713 turn : {
719714 id : "turn-id" ,
720715 items : [ ] ,
716+ itemsView : "notLoaded" ,
721717 status : "completed" ,
722718 error : null ,
723719 startedAt : null ,
@@ -750,7 +746,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
750746
751747 await expect (
752748 fixture . getCodexAcpAgent ( ) . resumeSession ( { cwd : "" , sessionId : sessionId } )
753- ) . rejects . toThrow ( "invalid thread id" ) ;
749+ ) . rejects . toThrow ( "invalid session id" ) ;
754750 } ) ;
755751
756752 it ( 'should return available builtin commands' , async ( ) => {
@@ -867,13 +863,15 @@ describe('ACP server test', { timeout: 40_000 }, () => {
867863 data : [
868864 {
869865 name : "fs" ,
866+ serverInfo : null ,
870867 tools : { listFiles : { name : "listFiles" , inputSchema : { type : "object" } } } ,
871868 resources : [ { name : "workspace" , uri : "file:///workspace" } ] ,
872869 resourceTemplates : [ ] ,
873870 authStatus : "bearerToken"
874871 } ,
875872 {
876873 name : "browser" ,
874+ serverInfo : null ,
877875 tools : { } ,
878876 resources : [ ] ,
879877 resourceTemplates : [ ] ,
@@ -931,6 +929,8 @@ describe('ACP server test', { timeout: 40_000 }, () => {
931929 defaultReasoningEffort : 'medium' ,
932930 supportsPersonality : false ,
933931 additionalSpeedTiers : [ ] ,
932+ serviceTiers : [ ] ,
933+ defaultServiceTier : null ,
934934 isDefault : false ,
935935 inputModalities : [ ]
936936 } ,
@@ -949,6 +949,8 @@ describe('ACP server test', { timeout: 40_000 }, () => {
949949 defaultReasoningEffort : 'low' ,
950950 supportsPersonality : false ,
951951 additionalSpeedTiers : [ ] ,
952+ serviceTiers : [ ] ,
953+ defaultServiceTier : null ,
952954 isDefault : true ,
953955 inputModalities : [ ]
954956 }
@@ -975,6 +977,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
975977 turn : {
976978 id : "turn-id" ,
977979 items : [ ] ,
980+ itemsView : "notLoaded" ,
978981 status : "inProgress" ,
979982 error : null ,
980983 startedAt : null ,
@@ -987,6 +990,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
987990 turn : {
988991 id : "turn-id" ,
989992 items : [ ] ,
993+ itemsView : "notLoaded" ,
990994 status : "completed" ,
991995 error : null ,
992996 startedAt : null ,
@@ -1086,6 +1090,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
10861090 primary : { usedPercent : 25 , resetsAt : null , windowDurationMins : 60 } ,
10871091 secondary : null ,
10881092 credits : null ,
1093+ individualLimit : null ,
10891094 planType : null ,
10901095 rateLimitReachedType : null ,
10911096 }
@@ -1099,6 +1104,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
10991104 primary : { usedPercent : 80 , resetsAt : null , windowDurationMins : 1440 } ,
11001105 secondary : null ,
11011106 credits : null ,
1107+ individualLimit : null ,
11021108 planType : null ,
11031109 rateLimitReachedType : null ,
11041110 }
@@ -1152,6 +1158,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
11521158 primary : { usedPercent : 30 , resetsAt : null , windowDurationMins : 60 } ,
11531159 secondary : null ,
11541160 credits : null ,
1161+ individualLimit : null ,
11551162 planType : null ,
11561163 rateLimitReachedType : null ,
11571164 }
@@ -1167,6 +1174,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
11671174 primary : { usedPercent : 50 , resetsAt : null , windowDurationMins : 1440 } ,
11681175 secondary : null ,
11691176 credits : null ,
1177+ individualLimit : null ,
11701178 planType : null ,
11711179 rateLimitReachedType : null ,
11721180 }
@@ -1185,6 +1193,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
11851193 primary : { usedPercent : 30 , resetsAt : null , windowDurationMins : 60 } ,
11861194 secondary : null ,
11871195 credits : null ,
1196+ individualLimit : null ,
11881197 planType : null ,
11891198 rateLimitReachedType : null ,
11901199 }
@@ -1198,6 +1207,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
11981207 primary : { usedPercent : 50 , resetsAt : null , windowDurationMins : 1440 } ,
11991208 secondary : null ,
12001209 credits : null ,
1210+ individualLimit : null ,
12011211 planType : null ,
12021212 rateLimitReachedType : null ,
12031213 }
0 commit comments