dsh-v0.1.0-rc.7.schema.json 121 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320
  1. {
  2. "formatVersion": 1,
  3. "roots": [
  4. {
  5. "key": "event:assistant/chunk",
  6. "kind": "event",
  7. "event": "assistant/chunk",
  8. "surface": false,
  9. "digest": "de04e4ae000cc4422a15fb86dce7c398c8a9970ac963b6f7f785e2276a939e62",
  10. "schema": {
  11. "root": 0,
  12. "nodes": [
  13. {
  14. "kind": "object",
  15. "properties": [
  16. {
  17. "name": "data",
  18. "type": 1,
  19. "optional": false
  20. },
  21. {
  22. "name": "ignorable",
  23. "type": 55,
  24. "optional": true
  25. },
  26. {
  27. "name": "seq",
  28. "type": 5,
  29. "optional": false
  30. },
  31. {
  32. "name": "time",
  33. "type": 5,
  34. "optional": false
  35. },
  36. {
  37. "name": "type",
  38. "type": 56,
  39. "optional": false
  40. }
  41. ],
  42. "indices": []
  43. },
  44. {
  45. "kind": "object",
  46. "properties": [
  47. {
  48. "name": "chunk",
  49. "type": 2,
  50. "optional": false
  51. },
  52. {
  53. "name": "step",
  54. "type": 5,
  55. "optional": false
  56. },
  57. {
  58. "name": "turn",
  59. "type": 5,
  60. "optional": false
  61. }
  62. ],
  63. "indices": []
  64. },
  65. {
  66. "kind": "union",
  67. "types": [
  68. 3,
  69. 7,
  70. 28,
  71. 31,
  72. 33,
  73. 35,
  74. 52
  75. ]
  76. },
  77. {
  78. "kind": "object",
  79. "properties": [
  80. {
  81. "name": "argumentsDelta",
  82. "type": 4,
  83. "optional": false
  84. },
  85. {
  86. "name": "id",
  87. "type": 4,
  88. "optional": false
  89. },
  90. {
  91. "name": "index",
  92. "type": 5,
  93. "optional": false
  94. },
  95. {
  96. "name": "name",
  97. "type": 4,
  98. "optional": true
  99. },
  100. {
  101. "name": "type",
  102. "type": 6,
  103. "optional": false
  104. }
  105. ],
  106. "indices": []
  107. },
  108. {
  109. "kind": "primitive",
  110. "type": "string"
  111. },
  112. {
  113. "kind": "primitive",
  114. "type": "number"
  115. },
  116. {
  117. "kind": "literal",
  118. "value": "tool-call-delta"
  119. },
  120. {
  121. "kind": "object",
  122. "properties": [
  123. {
  124. "name": "block",
  125. "type": 8,
  126. "optional": false
  127. },
  128. {
  129. "name": "index",
  130. "type": 5,
  131. "optional": false
  132. },
  133. {
  134. "name": "type",
  135. "type": 27,
  136. "optional": false
  137. }
  138. ],
  139. "indices": []
  140. },
  141. {
  142. "kind": "union",
  143. "types": [
  144. 9,
  145. 11,
  146. 19,
  147. 23,
  148. 25
  149. ]
  150. },
  151. {
  152. "kind": "object",
  153. "properties": [
  154. {
  155. "name": "arguments",
  156. "type": 4,
  157. "optional": false
  158. },
  159. {
  160. "name": "id",
  161. "type": 4,
  162. "optional": false
  163. },
  164. {
  165. "name": "name",
  166. "type": 4,
  167. "optional": false
  168. },
  169. {
  170. "name": "type",
  171. "type": 10,
  172. "optional": false
  173. }
  174. ],
  175. "indices": []
  176. },
  177. {
  178. "kind": "literal",
  179. "value": "tool-call"
  180. },
  181. {
  182. "kind": "object",
  183. "properties": [
  184. {
  185. "name": "attachment",
  186. "type": 12,
  187. "optional": false
  188. },
  189. {
  190. "name": "type",
  191. "type": 18,
  192. "optional": false
  193. }
  194. ],
  195. "indices": []
  196. },
  197. {
  198. "kind": "object",
  199. "properties": [
  200. {
  201. "name": "attachmentId",
  202. "type": 4,
  203. "optional": false
  204. },
  205. {
  206. "name": "bytes",
  207. "type": 5,
  208. "optional": false
  209. },
  210. {
  211. "name": "height",
  212. "type": 5,
  213. "optional": false
  214. },
  215. {
  216. "name": "mediaType",
  217. "type": 13,
  218. "optional": false
  219. },
  220. {
  221. "name": "name",
  222. "type": 4,
  223. "optional": true
  224. },
  225. {
  226. "name": "width",
  227. "type": 5,
  228. "optional": false
  229. }
  230. ],
  231. "indices": []
  232. },
  233. {
  234. "kind": "union",
  235. "types": [
  236. 14,
  237. 15,
  238. 16,
  239. 17
  240. ]
  241. },
  242. {
  243. "kind": "literal",
  244. "value": "image/png"
  245. },
  246. {
  247. "kind": "literal",
  248. "value": "image/webp"
  249. },
  250. {
  251. "kind": "literal",
  252. "value": "image/gif"
  253. },
  254. {
  255. "kind": "literal",
  256. "value": "image/jpeg"
  257. },
  258. {
  259. "kind": "literal",
  260. "value": "image"
  261. },
  262. {
  263. "kind": "object",
  264. "properties": [
  265. {
  266. "name": "content",
  267. "type": 20,
  268. "optional": false
  269. },
  270. {
  271. "name": "isError",
  272. "type": 21,
  273. "optional": true
  274. },
  275. {
  276. "name": "toolCallId",
  277. "type": 4,
  278. "optional": false
  279. },
  280. {
  281. "name": "type",
  282. "type": 22,
  283. "optional": false
  284. }
  285. ],
  286. "indices": []
  287. },
  288. {
  289. "kind": "array",
  290. "element": 8
  291. },
  292. {
  293. "kind": "primitive",
  294. "type": "boolean"
  295. },
  296. {
  297. "kind": "literal",
  298. "value": "tool-result"
  299. },
  300. {
  301. "kind": "object",
  302. "properties": [
  303. {
  304. "name": "text",
  305. "type": 4,
  306. "optional": false
  307. },
  308. {
  309. "name": "type",
  310. "type": 24,
  311. "optional": false
  312. }
  313. ],
  314. "indices": []
  315. },
  316. {
  317. "kind": "literal",
  318. "value": "reasoning"
  319. },
  320. {
  321. "kind": "object",
  322. "properties": [
  323. {
  324. "name": "text",
  325. "type": 4,
  326. "optional": false
  327. },
  328. {
  329. "name": "type",
  330. "type": 26,
  331. "optional": false
  332. }
  333. ],
  334. "indices": []
  335. },
  336. {
  337. "kind": "literal",
  338. "value": "text"
  339. },
  340. {
  341. "kind": "literal",
  342. "value": "block-end"
  343. },
  344. {
  345. "kind": "object",
  346. "properties": [
  347. {
  348. "name": "blockType",
  349. "type": 29,
  350. "optional": false
  351. },
  352. {
  353. "name": "index",
  354. "type": 5,
  355. "optional": false
  356. },
  357. {
  358. "name": "type",
  359. "type": 30,
  360. "optional": false
  361. }
  362. ],
  363. "indices": []
  364. },
  365. {
  366. "kind": "union",
  367. "types": [
  368. 10,
  369. 18,
  370. 22,
  371. 24,
  372. 26
  373. ]
  374. },
  375. {
  376. "kind": "literal",
  377. "value": "block-start"
  378. },
  379. {
  380. "kind": "object",
  381. "properties": [
  382. {
  383. "name": "index",
  384. "type": 5,
  385. "optional": false
  386. },
  387. {
  388. "name": "text",
  389. "type": 4,
  390. "optional": false
  391. },
  392. {
  393. "name": "type",
  394. "type": 32,
  395. "optional": false
  396. }
  397. ],
  398. "indices": []
  399. },
  400. {
  401. "kind": "literal",
  402. "value": "reasoning-delta"
  403. },
  404. {
  405. "kind": "object",
  406. "properties": [
  407. {
  408. "name": "index",
  409. "type": 5,
  410. "optional": false
  411. },
  412. {
  413. "name": "text",
  414. "type": 4,
  415. "optional": false
  416. },
  417. {
  418. "name": "type",
  419. "type": 34,
  420. "optional": false
  421. }
  422. ],
  423. "indices": []
  424. },
  425. {
  426. "kind": "literal",
  427. "value": "text-delta"
  428. },
  429. {
  430. "kind": "object",
  431. "properties": [
  432. {
  433. "name": "reason",
  434. "type": 36,
  435. "optional": false
  436. },
  437. {
  438. "name": "replayState",
  439. "type": 48,
  440. "optional": true
  441. },
  442. {
  443. "name": "type",
  444. "type": 51,
  445. "optional": false
  446. }
  447. ],
  448. "indices": []
  449. },
  450. {
  451. "kind": "union",
  452. "types": [
  453. 37,
  454. 40,
  455. 42,
  456. 44,
  457. 46
  458. ]
  459. },
  460. {
  461. "kind": "object",
  462. "properties": [
  463. {
  464. "name": "failure",
  465. "type": 38,
  466. "optional": false
  467. },
  468. {
  469. "name": "kind",
  470. "type": 39,
  471. "optional": false
  472. }
  473. ],
  474. "indices": []
  475. },
  476. {
  477. "kind": "object",
  478. "properties": [
  479. {
  480. "name": "code",
  481. "type": 4,
  482. "optional": false
  483. },
  484. {
  485. "name": "message",
  486. "type": 4,
  487. "optional": false
  488. },
  489. {
  490. "name": "providerRetryAfterMs",
  491. "type": 5,
  492. "optional": true
  493. },
  494. {
  495. "name": "requestId",
  496. "type": 4,
  497. "optional": true
  498. },
  499. {
  500. "name": "status",
  501. "type": 5,
  502. "optional": true
  503. }
  504. ],
  505. "indices": []
  506. },
  507. {
  508. "kind": "literal",
  509. "value": "aborted"
  510. },
  511. {
  512. "kind": "object",
  513. "properties": [
  514. {
  515. "name": "failure",
  516. "type": 38,
  517. "optional": false
  518. },
  519. {
  520. "name": "kind",
  521. "type": 41,
  522. "optional": false
  523. }
  524. ],
  525. "indices": []
  526. },
  527. {
  528. "kind": "literal",
  529. "value": "error"
  530. },
  531. {
  532. "kind": "object",
  533. "properties": [
  534. {
  535. "name": "kind",
  536. "type": 43,
  537. "optional": false
  538. }
  539. ],
  540. "indices": []
  541. },
  542. {
  543. "kind": "literal",
  544. "value": "max-tokens"
  545. },
  546. {
  547. "kind": "object",
  548. "properties": [
  549. {
  550. "name": "kind",
  551. "type": 45,
  552. "optional": false
  553. }
  554. ],
  555. "indices": []
  556. },
  557. {
  558. "kind": "literal",
  559. "value": "stop"
  560. },
  561. {
  562. "kind": "object",
  563. "properties": [
  564. {
  565. "name": "kind",
  566. "type": 47,
  567. "optional": false
  568. }
  569. ],
  570. "indices": []
  571. },
  572. {
  573. "kind": "literal",
  574. "value": "tool-calls"
  575. },
  576. {
  577. "kind": "object",
  578. "properties": [
  579. {
  580. "name": "blocks",
  581. "type": 49,
  582. "optional": true
  583. },
  584. {
  585. "name": "response",
  586. "type": 50,
  587. "optional": false
  588. }
  589. ],
  590. "indices": []
  591. },
  592. {
  593. "kind": "array",
  594. "element": 50
  595. },
  596. {
  597. "kind": "opaque",
  598. "reason": "unknown"
  599. },
  600. {
  601. "kind": "literal",
  602. "value": "finish"
  603. },
  604. {
  605. "kind": "object",
  606. "properties": [
  607. {
  608. "name": "type",
  609. "type": 53,
  610. "optional": false
  611. },
  612. {
  613. "name": "usage",
  614. "type": 54,
  615. "optional": false
  616. }
  617. ],
  618. "indices": []
  619. },
  620. {
  621. "kind": "literal",
  622. "value": "usage"
  623. },
  624. {
  625. "kind": "object",
  626. "properties": [
  627. {
  628. "name": "cacheReadTokens",
  629. "type": 5,
  630. "optional": true
  631. },
  632. {
  633. "name": "cacheWriteTokens",
  634. "type": 5,
  635. "optional": true
  636. },
  637. {
  638. "name": "inputTokens",
  639. "type": 5,
  640. "optional": false
  641. },
  642. {
  643. "name": "outputTokens",
  644. "type": 5,
  645. "optional": false
  646. },
  647. {
  648. "name": "reasoningTokens",
  649. "type": 5,
  650. "optional": true
  651. }
  652. ],
  653. "indices": []
  654. },
  655. {
  656. "kind": "literal",
  657. "value": true
  658. },
  659. {
  660. "kind": "literal",
  661. "value": "assistant/chunk"
  662. }
  663. ]
  664. }
  665. }
  666. ],
  667. "types": [
  668. {
  669. "digest": "0657d3ca5ac4e7bf79b00bcf860b1c7159d01a9da137497221ec2f1776e365f7",
  670. "schema": {
  671. "root": 0,
  672. "nodes": [
  673. {
  674. "kind": "primitive",
  675. "type": "number"
  676. }
  677. ]
  678. },
  679. "names": [],
  680. "sources": []
  681. },
  682. {
  683. "digest": "0a0993cbd901036cad53c427c104c2e9f830362d92cc73676fd363053a958d92",
  684. "schema": {
  685. "root": 0,
  686. "nodes": [
  687. {
  688. "kind": "object",
  689. "properties": [
  690. {
  691. "name": "type",
  692. "type": 1,
  693. "optional": false
  694. },
  695. {
  696. "name": "usage",
  697. "type": 2,
  698. "optional": false
  699. }
  700. ],
  701. "indices": []
  702. },
  703. {
  704. "kind": "literal",
  705. "value": "usage"
  706. },
  707. {
  708. "kind": "object",
  709. "properties": [
  710. {
  711. "name": "cacheReadTokens",
  712. "type": 3,
  713. "optional": true
  714. },
  715. {
  716. "name": "cacheWriteTokens",
  717. "type": 3,
  718. "optional": true
  719. },
  720. {
  721. "name": "inputTokens",
  722. "type": 3,
  723. "optional": false
  724. },
  725. {
  726. "name": "outputTokens",
  727. "type": 3,
  728. "optional": false
  729. },
  730. {
  731. "name": "reasoningTokens",
  732. "type": 3,
  733. "optional": true
  734. }
  735. ],
  736. "indices": []
  737. },
  738. {
  739. "kind": "primitive",
  740. "type": "number"
  741. }
  742. ]
  743. },
  744. "names": [
  745. "event:assistant/chunk[0].data.chunk[5]"
  746. ],
  747. "sources": [
  748. "packages/llm/llm/src/types.ts"
  749. ]
  750. },
  751. {
  752. "digest": "0acd94fe8794574c9ae72c7855ee16d29c546096d4af760d16d1225385764555",
  753. "schema": {
  754. "root": 0,
  755. "nodes": [
  756. {
  757. "kind": "object",
  758. "properties": [
  759. {
  760. "name": "blocks",
  761. "type": 1,
  762. "optional": true
  763. },
  764. {
  765. "name": "response",
  766. "type": 2,
  767. "optional": false
  768. }
  769. ],
  770. "indices": []
  771. },
  772. {
  773. "kind": "array",
  774. "element": 2
  775. },
  776. {
  777. "kind": "opaque",
  778. "reason": "unknown"
  779. }
  780. ]
  781. },
  782. "names": [
  783. "packages/llm/llm/src/types.ts#ReplayEnvelope"
  784. ],
  785. "sources": [
  786. "packages/llm/llm/src/types.ts"
  787. ]
  788. },
  789. {
  790. "digest": "0bdaf9cb63594be4ef034b68901fffe792fe09d6d5f6bac42d7f56f6e7834fb9",
  791. "schema": {
  792. "root": 0,
  793. "nodes": [
  794. {
  795. "kind": "literal",
  796. "value": "usage"
  797. }
  798. ]
  799. },
  800. "names": [],
  801. "sources": []
  802. },
  803. {
  804. "digest": "199849cb9767b1df5f2048ef0bbb542987cacb44352bc22e6584418d72822554",
  805. "schema": {
  806. "root": 0,
  807. "nodes": [
  808. {
  809. "kind": "array",
  810. "element": 1
  811. },
  812. {
  813. "kind": "union",
  814. "types": [
  815. 2,
  816. 5,
  817. 14,
  818. 17,
  819. 19
  820. ]
  821. },
  822. {
  823. "kind": "object",
  824. "properties": [
  825. {
  826. "name": "arguments",
  827. "type": 3,
  828. "optional": false
  829. },
  830. {
  831. "name": "id",
  832. "type": 3,
  833. "optional": false
  834. },
  835. {
  836. "name": "name",
  837. "type": 3,
  838. "optional": false
  839. },
  840. {
  841. "name": "type",
  842. "type": 4,
  843. "optional": false
  844. }
  845. ],
  846. "indices": []
  847. },
  848. {
  849. "kind": "primitive",
  850. "type": "string"
  851. },
  852. {
  853. "kind": "literal",
  854. "value": "tool-call"
  855. },
  856. {
  857. "kind": "object",
  858. "properties": [
  859. {
  860. "name": "attachment",
  861. "type": 6,
  862. "optional": false
  863. },
  864. {
  865. "name": "type",
  866. "type": 13,
  867. "optional": false
  868. }
  869. ],
  870. "indices": []
  871. },
  872. {
  873. "kind": "object",
  874. "properties": [
  875. {
  876. "name": "attachmentId",
  877. "type": 3,
  878. "optional": false
  879. },
  880. {
  881. "name": "bytes",
  882. "type": 7,
  883. "optional": false
  884. },
  885. {
  886. "name": "height",
  887. "type": 7,
  888. "optional": false
  889. },
  890. {
  891. "name": "mediaType",
  892. "type": 8,
  893. "optional": false
  894. },
  895. {
  896. "name": "name",
  897. "type": 3,
  898. "optional": true
  899. },
  900. {
  901. "name": "width",
  902. "type": 7,
  903. "optional": false
  904. }
  905. ],
  906. "indices": []
  907. },
  908. {
  909. "kind": "primitive",
  910. "type": "number"
  911. },
  912. {
  913. "kind": "union",
  914. "types": [
  915. 9,
  916. 10,
  917. 11,
  918. 12
  919. ]
  920. },
  921. {
  922. "kind": "literal",
  923. "value": "image/gif"
  924. },
  925. {
  926. "kind": "literal",
  927. "value": "image/jpeg"
  928. },
  929. {
  930. "kind": "literal",
  931. "value": "image/png"
  932. },
  933. {
  934. "kind": "literal",
  935. "value": "image/webp"
  936. },
  937. {
  938. "kind": "literal",
  939. "value": "image"
  940. },
  941. {
  942. "kind": "object",
  943. "properties": [
  944. {
  945. "name": "content",
  946. "type": 0,
  947. "optional": false
  948. },
  949. {
  950. "name": "isError",
  951. "type": 15,
  952. "optional": true
  953. },
  954. {
  955. "name": "toolCallId",
  956. "type": 3,
  957. "optional": false
  958. },
  959. {
  960. "name": "type",
  961. "type": 16,
  962. "optional": false
  963. }
  964. ],
  965. "indices": []
  966. },
  967. {
  968. "kind": "primitive",
  969. "type": "boolean"
  970. },
  971. {
  972. "kind": "literal",
  973. "value": "tool-result"
  974. },
  975. {
  976. "kind": "object",
  977. "properties": [
  978. {
  979. "name": "text",
  980. "type": 3,
  981. "optional": false
  982. },
  983. {
  984. "name": "type",
  985. "type": 18,
  986. "optional": false
  987. }
  988. ],
  989. "indices": []
  990. },
  991. {
  992. "kind": "literal",
  993. "value": "reasoning"
  994. },
  995. {
  996. "kind": "object",
  997. "properties": [
  998. {
  999. "name": "text",
  1000. "type": 3,
  1001. "optional": false
  1002. },
  1003. {
  1004. "name": "type",
  1005. "type": 20,
  1006. "optional": false
  1007. }
  1008. ],
  1009. "indices": []
  1010. },
  1011. {
  1012. "kind": "literal",
  1013. "value": "text"
  1014. }
  1015. ]
  1016. },
  1017. "names": [
  1018. "event:agent/inbox/spliced[0].data.inserted[0].content",
  1019. "event:agent/inbox/spliced[0].data.inserted[0].content[0][4].content",
  1020. "event:assistant/message.data.message.content",
  1021. "event:compaction/summary[0].data[0].rawOutput",
  1022. "event:compaction/summary[0].data[0].summary",
  1023. "event:compaction/summary[0].data[1].rawOutput",
  1024. "event:compaction/summary[0].data[1].summary",
  1025. "event:session/title-llm-request[0].data.messages[0].content",
  1026. "event:tool/code-dispatch[0].data.content"
  1027. ],
  1028. "sources": []
  1029. },
  1030. {
  1031. "digest": "1b12378f91b6dda1e2fe82d74563f5e0893b71fd2104d60a4eee94a8a09a2877",
  1032. "schema": {
  1033. "root": 0,
  1034. "nodes": [
  1035. {
  1036. "kind": "object",
  1037. "properties": [
  1038. {
  1039. "name": "cacheReadTokens",
  1040. "type": 1,
  1041. "optional": true
  1042. },
  1043. {
  1044. "name": "cacheWriteTokens",
  1045. "type": 1,
  1046. "optional": true
  1047. },
  1048. {
  1049. "name": "inputTokens",
  1050. "type": 1,
  1051. "optional": false
  1052. },
  1053. {
  1054. "name": "outputTokens",
  1055. "type": 1,
  1056. "optional": false
  1057. },
  1058. {
  1059. "name": "reasoningTokens",
  1060. "type": 1,
  1061. "optional": true
  1062. }
  1063. ],
  1064. "indices": []
  1065. },
  1066. {
  1067. "kind": "primitive",
  1068. "type": "number"
  1069. }
  1070. ]
  1071. },
  1072. "names": [
  1073. "packages/llm/llm/src/types.ts#TokenUsage"
  1074. ],
  1075. "sources": [
  1076. "packages/llm/llm/src/types.ts"
  1077. ]
  1078. },
  1079. {
  1080. "digest": "1d76406cbb2ddadb0dbbb51e9d8bc6cf678fed455cf8eb512f36f7c86d37a62f",
  1081. "schema": {
  1082. "root": 0,
  1083. "nodes": [
  1084. {
  1085. "kind": "object",
  1086. "properties": [
  1087. {
  1088. "name": "kind",
  1089. "type": 1,
  1090. "optional": false
  1091. }
  1092. ],
  1093. "indices": []
  1094. },
  1095. {
  1096. "kind": "literal",
  1097. "value": "stop"
  1098. }
  1099. ]
  1100. },
  1101. "names": [
  1102. "event:assistant/chunk[0].data.chunk[6].reason[3]"
  1103. ],
  1104. "sources": [
  1105. "packages/llm/llm/src/types.ts"
  1106. ]
  1107. },
  1108. {
  1109. "digest": "1e0b0b66b6f0c53fc72e52289d06b4708d776f1ca9df4c86a22bff621d403cf0",
  1110. "schema": {
  1111. "root": 0,
  1112. "nodes": [
  1113. {
  1114. "kind": "literal",
  1115. "value": "aborted"
  1116. }
  1117. ]
  1118. },
  1119. "names": [],
  1120. "sources": []
  1121. },
  1122. {
  1123. "digest": "1f0133217eeeffd8d387baf1ec8ed9856e719bcd999dc08e48624cba96d75fd7",
  1124. "schema": {
  1125. "root": 0,
  1126. "nodes": [
  1127. {
  1128. "kind": "literal",
  1129. "value": "tool-call"
  1130. }
  1131. ]
  1132. },
  1133. "names": [],
  1134. "sources": []
  1135. },
  1136. {
  1137. "digest": "1f2180253053d07f60260c081d2d721f04ebb1f2691fbf00237dc7a01c7c0812",
  1138. "schema": {
  1139. "root": 0,
  1140. "nodes": [
  1141. {
  1142. "kind": "union",
  1143. "types": [
  1144. 1,
  1145. 2,
  1146. 3,
  1147. 4,
  1148. 5
  1149. ]
  1150. },
  1151. {
  1152. "kind": "literal",
  1153. "value": "image"
  1154. },
  1155. {
  1156. "kind": "literal",
  1157. "value": "reasoning"
  1158. },
  1159. {
  1160. "kind": "literal",
  1161. "value": "text"
  1162. },
  1163. {
  1164. "kind": "literal",
  1165. "value": "tool-call"
  1166. },
  1167. {
  1168. "kind": "literal",
  1169. "value": "tool-result"
  1170. }
  1171. ]
  1172. },
  1173. "names": [
  1174. "packages/llm/llm/src/types.ts#ContentBlockType"
  1175. ],
  1176. "sources": [
  1177. "packages/llm/llm/src/types.ts"
  1178. ]
  1179. },
  1180. {
  1181. "digest": "27cd736e794a0f8703a155fb697820cede894d10776586dd3df24d24c9465c0e",
  1182. "schema": {
  1183. "root": 0,
  1184. "nodes": [
  1185. {
  1186. "kind": "object",
  1187. "properties": [
  1188. {
  1189. "name": "code",
  1190. "type": 1,
  1191. "optional": false
  1192. },
  1193. {
  1194. "name": "message",
  1195. "type": 1,
  1196. "optional": false
  1197. },
  1198. {
  1199. "name": "providerRetryAfterMs",
  1200. "type": 2,
  1201. "optional": true
  1202. },
  1203. {
  1204. "name": "requestId",
  1205. "type": 1,
  1206. "optional": true
  1207. },
  1208. {
  1209. "name": "status",
  1210. "type": 2,
  1211. "optional": true
  1212. }
  1213. ],
  1214. "indices": []
  1215. },
  1216. {
  1217. "kind": "primitive",
  1218. "type": "string"
  1219. },
  1220. {
  1221. "kind": "primitive",
  1222. "type": "number"
  1223. }
  1224. ]
  1225. },
  1226. "names": [
  1227. "packages/llm/llm/src/types.ts#LlmFailure"
  1228. ],
  1229. "sources": [
  1230. "packages/llm/llm/src/types.ts"
  1231. ]
  1232. },
  1233. {
  1234. "digest": "287211846beea1eccb5f9acee00d20388a38fcb2e95858fa2332d6f58529379a",
  1235. "schema": {
  1236. "root": 0,
  1237. "nodes": [
  1238. {
  1239. "kind": "object",
  1240. "properties": [
  1241. {
  1242. "name": "kind",
  1243. "type": 1,
  1244. "optional": false
  1245. }
  1246. ],
  1247. "indices": []
  1248. },
  1249. {
  1250. "kind": "literal",
  1251. "value": "tool-calls"
  1252. }
  1253. ]
  1254. },
  1255. "names": [
  1256. "event:assistant/chunk[0].data.chunk[6].reason[4]"
  1257. ],
  1258. "sources": [
  1259. "packages/llm/llm/src/types.ts"
  1260. ]
  1261. },
  1262. {
  1263. "digest": "2abb711460e6238d851c30f3e4bdd87a2aa1887ee70575b3d3b7b25610673095",
  1264. "schema": {
  1265. "root": 0,
  1266. "nodes": [
  1267. {
  1268. "kind": "object",
  1269. "properties": [
  1270. {
  1271. "name": "index",
  1272. "type": 1,
  1273. "optional": false
  1274. },
  1275. {
  1276. "name": "text",
  1277. "type": 2,
  1278. "optional": false
  1279. },
  1280. {
  1281. "name": "type",
  1282. "type": 3,
  1283. "optional": false
  1284. }
  1285. ],
  1286. "indices": []
  1287. },
  1288. {
  1289. "kind": "primitive",
  1290. "type": "number"
  1291. },
  1292. {
  1293. "kind": "primitive",
  1294. "type": "string"
  1295. },
  1296. {
  1297. "kind": "literal",
  1298. "value": "reasoning-delta"
  1299. }
  1300. ]
  1301. },
  1302. "names": [
  1303. "event:assistant/chunk[0].data.chunk[2]"
  1304. ],
  1305. "sources": [
  1306. "packages/llm/llm/src/types.ts"
  1307. ]
  1308. },
  1309. {
  1310. "digest": "2d011306fd384c442f80bf510f523c2db9b40216f9994ee18c9c0e01be764d4f",
  1311. "schema": {
  1312. "root": 0,
  1313. "nodes": [
  1314. {
  1315. "kind": "literal",
  1316. "value": "assistant/chunk"
  1317. }
  1318. ]
  1319. },
  1320. "names": [],
  1321. "sources": []
  1322. },
  1323. {
  1324. "digest": "2f1e6a7ebace43d727ae138ddcd352eb3813960009e5805b8c5ac84300c97716",
  1325. "schema": {
  1326. "root": 0,
  1327. "nodes": [
  1328. {
  1329. "kind": "union",
  1330. "types": [
  1331. 1,
  1332. 2,
  1333. 3,
  1334. 4
  1335. ]
  1336. },
  1337. {
  1338. "kind": "literal",
  1339. "value": "image/gif"
  1340. },
  1341. {
  1342. "kind": "literal",
  1343. "value": "image/jpeg"
  1344. },
  1345. {
  1346. "kind": "literal",
  1347. "value": "image/png"
  1348. },
  1349. {
  1350. "kind": "literal",
  1351. "value": "image/webp"
  1352. }
  1353. ]
  1354. },
  1355. "names": [
  1356. "packages/attachment/attachment/src/types.ts#ImageMediaType"
  1357. ],
  1358. "sources": [
  1359. "packages/attachment/attachment/src/types.ts"
  1360. ]
  1361. },
  1362. {
  1363. "digest": "3c2535ca0a2062f172f15344f8040755002b5ac506cf94fc4ebaa822b15feb8c",
  1364. "schema": {
  1365. "root": 0,
  1366. "nodes": [
  1367. {
  1368. "kind": "literal",
  1369. "value": "reasoning"
  1370. }
  1371. ]
  1372. },
  1373. "names": [],
  1374. "sources": []
  1375. },
  1376. {
  1377. "digest": "3f74ba74acd10644c1ed6947a411d8088bd2cfac74f61bb8540f96d68e31f004",
  1378. "schema": {
  1379. "root": 0,
  1380. "nodes": [
  1381. {
  1382. "kind": "literal",
  1383. "value": "image/jpeg"
  1384. }
  1385. ]
  1386. },
  1387. "names": [],
  1388. "sources": []
  1389. },
  1390. {
  1391. "digest": "4cd48f3e5108bd6ebedf7301c3638839b8b2b9db8dbd493974177fbdeb91a01b",
  1392. "schema": {
  1393. "root": 0,
  1394. "nodes": [
  1395. {
  1396. "kind": "primitive",
  1397. "type": "string"
  1398. }
  1399. ]
  1400. },
  1401. "names": [
  1402. "packages/attachment/attachment/src/brand.ts#AttachmentId",
  1403. "packages/compaction/compaction/src/brand.ts#CompactionId",
  1404. "packages/core/session/src/types.ts#SessionId",
  1405. "packages/goal/goal/src/types.ts#GoalId",
  1406. "packages/host/apiproxy/src/api/rpc.ts#RpcId",
  1407. "packages/interaction/commands/src/brand.ts#CommandId",
  1408. "packages/interaction/user-approval/src/types.ts#ApprovalRequestId",
  1409. "packages/llm/llm-retry/src/brand.ts#RetryId",
  1410. "packages/llm/llm/src/brand.ts#CallId",
  1411. "packages/llm/llm/src/brand.ts#MessageId",
  1412. "packages/llm/llm/src/brand.ts#ProviderRequestId",
  1413. "packages/llm/llm/src/brand.ts#ReasoningEffortId",
  1414. "packages/schedule/schedule/src/types.ts#ScheduleId",
  1415. "packages/session/session-title/src/index.ts#SessionTitleProviderId",
  1416. "packages/workflow/workflow/src/types.ts#WorkflowRunId"
  1417. ],
  1418. "sources": [
  1419. "packages/attachment/attachment/src/brand.ts",
  1420. "packages/compaction/compaction/src/brand.ts",
  1421. "packages/core/session/src/types.ts",
  1422. "packages/goal/goal/src/types.ts",
  1423. "packages/host/apiproxy/src/api/rpc.ts",
  1424. "packages/interaction/commands/src/brand.ts",
  1425. "packages/interaction/user-approval/src/types.ts",
  1426. "packages/llm/llm-retry/src/brand.ts",
  1427. "packages/llm/llm/src/brand.ts",
  1428. "packages/schedule/schedule/src/types.ts",
  1429. "packages/session/session-title/src/index.ts",
  1430. "packages/workflow/workflow/src/types.ts"
  1431. ]
  1432. },
  1433. {
  1434. "digest": "4e44c9118152f6829634bfd508e47669ab0497caffa380c94b4be91f9390d35d",
  1435. "schema": {
  1436. "root": 0,
  1437. "nodes": [
  1438. {
  1439. "kind": "literal",
  1440. "value": "text"
  1441. }
  1442. ]
  1443. },
  1444. "names": [],
  1445. "sources": []
  1446. },
  1447. {
  1448. "digest": "4e887768586528565381dadbddee6cef555874148089f4579e0b4b1ad096fc9c",
  1449. "schema": {
  1450. "root": 0,
  1451. "nodes": [
  1452. {
  1453. "kind": "object",
  1454. "properties": [
  1455. {
  1456. "name": "text",
  1457. "type": 1,
  1458. "optional": false
  1459. },
  1460. {
  1461. "name": "type",
  1462. "type": 2,
  1463. "optional": false
  1464. }
  1465. ],
  1466. "indices": []
  1467. },
  1468. {
  1469. "kind": "primitive",
  1470. "type": "string"
  1471. },
  1472. {
  1473. "kind": "literal",
  1474. "value": "text"
  1475. }
  1476. ]
  1477. },
  1478. "names": [
  1479. "event:web/deepseek-search-llm-request[0].data.body.messages[0].content[0]",
  1480. "packages/llm/llm/src/types.ts#TextBlock"
  1481. ],
  1482. "sources": [
  1483. "packages/llm/llm/src/types.ts",
  1484. "packages/web/web-search-deepseek/src/provider.ts"
  1485. ]
  1486. },
  1487. {
  1488. "digest": "57f3f606ff8b6c84d9c443faace9d1dd10cca0354f37a4f515ef075f7c351b90",
  1489. "schema": {
  1490. "root": 0,
  1491. "nodes": [
  1492. {
  1493. "kind": "literal",
  1494. "value": "stop"
  1495. }
  1496. ]
  1497. },
  1498. "names": [],
  1499. "sources": []
  1500. },
  1501. {
  1502. "digest": "58f94390b982f8a5ac1f4f235ba612557f4a1dc4a995d8b1cec63ce7639decb0",
  1503. "schema": {
  1504. "root": 0,
  1505. "nodes": [
  1506. {
  1507. "kind": "literal",
  1508. "value": "image/png"
  1509. }
  1510. ]
  1511. },
  1512. "names": [],
  1513. "sources": []
  1514. },
  1515. {
  1516. "digest": "5abab3a27fd2736660ecddd94b28d6bbf114986dd894880153bd1be3ccacb563",
  1517. "schema": {
  1518. "root": 0,
  1519. "nodes": [
  1520. {
  1521. "kind": "literal",
  1522. "value": "text-delta"
  1523. }
  1524. ]
  1525. },
  1526. "names": [],
  1527. "sources": []
  1528. },
  1529. {
  1530. "digest": "5ed158429dfa6a8633e6ba94b8c81190616c24b65c1777bf1c60cde9dd499a2f",
  1531. "schema": {
  1532. "root": 0,
  1533. "nodes": [
  1534. {
  1535. "kind": "union",
  1536. "types": [
  1537. 1,
  1538. 3,
  1539. 5,
  1540. 10,
  1541. 12
  1542. ]
  1543. },
  1544. {
  1545. "kind": "object",
  1546. "properties": [
  1547. {
  1548. "name": "kind",
  1549. "type": 2,
  1550. "optional": false
  1551. }
  1552. ],
  1553. "indices": []
  1554. },
  1555. {
  1556. "kind": "literal",
  1557. "value": "stop"
  1558. },
  1559. {
  1560. "kind": "object",
  1561. "properties": [
  1562. {
  1563. "name": "kind",
  1564. "type": 4,
  1565. "optional": false
  1566. }
  1567. ],
  1568. "indices": []
  1569. },
  1570. {
  1571. "kind": "literal",
  1572. "value": "tool-calls"
  1573. },
  1574. {
  1575. "kind": "object",
  1576. "properties": [
  1577. {
  1578. "name": "failure",
  1579. "type": 6,
  1580. "optional": false
  1581. },
  1582. {
  1583. "name": "kind",
  1584. "type": 9,
  1585. "optional": false
  1586. }
  1587. ],
  1588. "indices": []
  1589. },
  1590. {
  1591. "kind": "object",
  1592. "properties": [
  1593. {
  1594. "name": "code",
  1595. "type": 7,
  1596. "optional": false
  1597. },
  1598. {
  1599. "name": "message",
  1600. "type": 7,
  1601. "optional": false
  1602. },
  1603. {
  1604. "name": "providerRetryAfterMs",
  1605. "type": 8,
  1606. "optional": true
  1607. },
  1608. {
  1609. "name": "requestId",
  1610. "type": 7,
  1611. "optional": true
  1612. },
  1613. {
  1614. "name": "status",
  1615. "type": 8,
  1616. "optional": true
  1617. }
  1618. ],
  1619. "indices": []
  1620. },
  1621. {
  1622. "kind": "primitive",
  1623. "type": "string"
  1624. },
  1625. {
  1626. "kind": "primitive",
  1627. "type": "number"
  1628. },
  1629. {
  1630. "kind": "literal",
  1631. "value": "aborted"
  1632. },
  1633. {
  1634. "kind": "object",
  1635. "properties": [
  1636. {
  1637. "name": "failure",
  1638. "type": 6,
  1639. "optional": false
  1640. },
  1641. {
  1642. "name": "kind",
  1643. "type": 11,
  1644. "optional": false
  1645. }
  1646. ],
  1647. "indices": []
  1648. },
  1649. {
  1650. "kind": "literal",
  1651. "value": "error"
  1652. },
  1653. {
  1654. "kind": "object",
  1655. "properties": [
  1656. {
  1657. "name": "kind",
  1658. "type": 13,
  1659. "optional": false
  1660. }
  1661. ],
  1662. "indices": []
  1663. },
  1664. {
  1665. "kind": "literal",
  1666. "value": "max-tokens"
  1667. }
  1668. ]
  1669. },
  1670. "names": [
  1671. "packages/llm/llm/src/types.ts#FinishReason"
  1672. ],
  1673. "sources": [
  1674. "packages/llm/llm/src/types.ts"
  1675. ]
  1676. },
  1677. {
  1678. "digest": "64cfc4dbd3739f0ee040689482cb27058890f1d6113abb1de756836318aeebbc",
  1679. "schema": {
  1680. "root": 0,
  1681. "nodes": [
  1682. {
  1683. "kind": "object",
  1684. "properties": [
  1685. {
  1686. "name": "failure",
  1687. "type": 1,
  1688. "optional": false
  1689. },
  1690. {
  1691. "name": "kind",
  1692. "type": 4,
  1693. "optional": false
  1694. }
  1695. ],
  1696. "indices": []
  1697. },
  1698. {
  1699. "kind": "object",
  1700. "properties": [
  1701. {
  1702. "name": "code",
  1703. "type": 2,
  1704. "optional": false
  1705. },
  1706. {
  1707. "name": "message",
  1708. "type": 2,
  1709. "optional": false
  1710. },
  1711. {
  1712. "name": "providerRetryAfterMs",
  1713. "type": 3,
  1714. "optional": true
  1715. },
  1716. {
  1717. "name": "requestId",
  1718. "type": 2,
  1719. "optional": true
  1720. },
  1721. {
  1722. "name": "status",
  1723. "type": 3,
  1724. "optional": true
  1725. }
  1726. ],
  1727. "indices": []
  1728. },
  1729. {
  1730. "kind": "primitive",
  1731. "type": "string"
  1732. },
  1733. {
  1734. "kind": "primitive",
  1735. "type": "number"
  1736. },
  1737. {
  1738. "kind": "literal",
  1739. "value": "aborted"
  1740. }
  1741. ]
  1742. },
  1743. "names": [
  1744. "event:assistant/chunk[0].data.chunk[6].reason[0]"
  1745. ],
  1746. "sources": [
  1747. "packages/llm/llm/src/types.ts"
  1748. ]
  1749. },
  1750. {
  1751. "digest": "68141cbe3994a5ffcd064c07c75996538437fd9dbf77ce8a2927e89ec577fabe",
  1752. "schema": {
  1753. "root": 0,
  1754. "nodes": [
  1755. {
  1756. "kind": "literal",
  1757. "value": "max-tokens"
  1758. }
  1759. ]
  1760. },
  1761. "names": [],
  1762. "sources": []
  1763. },
  1764. {
  1765. "digest": "69ff80f4793bad2db0775d2a2d68976346e1e59abac92e6e67ad81c386cdc0b4",
  1766. "schema": {
  1767. "root": 0,
  1768. "nodes": [
  1769. {
  1770. "kind": "object",
  1771. "properties": [
  1772. {
  1773. "name": "block",
  1774. "type": 1,
  1775. "optional": false
  1776. },
  1777. {
  1778. "name": "index",
  1779. "type": 7,
  1780. "optional": false
  1781. },
  1782. {
  1783. "name": "type",
  1784. "type": 22,
  1785. "optional": false
  1786. }
  1787. ],
  1788. "indices": []
  1789. },
  1790. {
  1791. "kind": "union",
  1792. "types": [
  1793. 2,
  1794. 5,
  1795. 14,
  1796. 18,
  1797. 20
  1798. ]
  1799. },
  1800. {
  1801. "kind": "object",
  1802. "properties": [
  1803. {
  1804. "name": "arguments",
  1805. "type": 3,
  1806. "optional": false
  1807. },
  1808. {
  1809. "name": "id",
  1810. "type": 3,
  1811. "optional": false
  1812. },
  1813. {
  1814. "name": "name",
  1815. "type": 3,
  1816. "optional": false
  1817. },
  1818. {
  1819. "name": "type",
  1820. "type": 4,
  1821. "optional": false
  1822. }
  1823. ],
  1824. "indices": []
  1825. },
  1826. {
  1827. "kind": "primitive",
  1828. "type": "string"
  1829. },
  1830. {
  1831. "kind": "literal",
  1832. "value": "tool-call"
  1833. },
  1834. {
  1835. "kind": "object",
  1836. "properties": [
  1837. {
  1838. "name": "attachment",
  1839. "type": 6,
  1840. "optional": false
  1841. },
  1842. {
  1843. "name": "type",
  1844. "type": 13,
  1845. "optional": false
  1846. }
  1847. ],
  1848. "indices": []
  1849. },
  1850. {
  1851. "kind": "object",
  1852. "properties": [
  1853. {
  1854. "name": "attachmentId",
  1855. "type": 3,
  1856. "optional": false
  1857. },
  1858. {
  1859. "name": "bytes",
  1860. "type": 7,
  1861. "optional": false
  1862. },
  1863. {
  1864. "name": "height",
  1865. "type": 7,
  1866. "optional": false
  1867. },
  1868. {
  1869. "name": "mediaType",
  1870. "type": 8,
  1871. "optional": false
  1872. },
  1873. {
  1874. "name": "name",
  1875. "type": 3,
  1876. "optional": true
  1877. },
  1878. {
  1879. "name": "width",
  1880. "type": 7,
  1881. "optional": false
  1882. }
  1883. ],
  1884. "indices": []
  1885. },
  1886. {
  1887. "kind": "primitive",
  1888. "type": "number"
  1889. },
  1890. {
  1891. "kind": "union",
  1892. "types": [
  1893. 9,
  1894. 10,
  1895. 11,
  1896. 12
  1897. ]
  1898. },
  1899. {
  1900. "kind": "literal",
  1901. "value": "image/gif"
  1902. },
  1903. {
  1904. "kind": "literal",
  1905. "value": "image/jpeg"
  1906. },
  1907. {
  1908. "kind": "literal",
  1909. "value": "image/png"
  1910. },
  1911. {
  1912. "kind": "literal",
  1913. "value": "image/webp"
  1914. },
  1915. {
  1916. "kind": "literal",
  1917. "value": "image"
  1918. },
  1919. {
  1920. "kind": "object",
  1921. "properties": [
  1922. {
  1923. "name": "content",
  1924. "type": 15,
  1925. "optional": false
  1926. },
  1927. {
  1928. "name": "isError",
  1929. "type": 16,
  1930. "optional": true
  1931. },
  1932. {
  1933. "name": "toolCallId",
  1934. "type": 3,
  1935. "optional": false
  1936. },
  1937. {
  1938. "name": "type",
  1939. "type": 17,
  1940. "optional": false
  1941. }
  1942. ],
  1943. "indices": []
  1944. },
  1945. {
  1946. "kind": "array",
  1947. "element": 1
  1948. },
  1949. {
  1950. "kind": "primitive",
  1951. "type": "boolean"
  1952. },
  1953. {
  1954. "kind": "literal",
  1955. "value": "tool-result"
  1956. },
  1957. {
  1958. "kind": "object",
  1959. "properties": [
  1960. {
  1961. "name": "text",
  1962. "type": 3,
  1963. "optional": false
  1964. },
  1965. {
  1966. "name": "type",
  1967. "type": 19,
  1968. "optional": false
  1969. }
  1970. ],
  1971. "indices": []
  1972. },
  1973. {
  1974. "kind": "literal",
  1975. "value": "reasoning"
  1976. },
  1977. {
  1978. "kind": "object",
  1979. "properties": [
  1980. {
  1981. "name": "text",
  1982. "type": 3,
  1983. "optional": false
  1984. },
  1985. {
  1986. "name": "type",
  1987. "type": 21,
  1988. "optional": false
  1989. }
  1990. ],
  1991. "indices": []
  1992. },
  1993. {
  1994. "kind": "literal",
  1995. "value": "text"
  1996. },
  1997. {
  1998. "kind": "literal",
  1999. "value": "block-end"
  2000. }
  2001. ]
  2002. },
  2003. "names": [
  2004. "event:assistant/chunk[0].data.chunk[4]"
  2005. ],
  2006. "sources": [
  2007. "packages/llm/llm/src/types.ts"
  2008. ]
  2009. },
  2010. {
  2011. "digest": "6c1cccb433ddc153facb380c7dda956237ba5c31f8a532a69142dc277890cc9b",
  2012. "schema": {
  2013. "root": 0,
  2014. "nodes": [
  2015. {
  2016. "kind": "literal",
  2017. "value": "tool-calls"
  2018. }
  2019. ]
  2020. },
  2021. "names": [],
  2022. "sources": []
  2023. },
  2024. {
  2025. "digest": "6f091fe32ab24407236090ca9d710bbaf59bb57466e9f3b8f1f6e4862bc863c6",
  2026. "schema": {
  2027. "root": 0,
  2028. "nodes": [
  2029. {
  2030. "kind": "literal",
  2031. "value": "reasoning-delta"
  2032. }
  2033. ]
  2034. },
  2035. "names": [],
  2036. "sources": []
  2037. },
  2038. {
  2039. "digest": "814d9434e1ddf9078612b3b34322f26e9363b469213335007f7e9ba7fee9464e",
  2040. "schema": {
  2041. "root": 0,
  2042. "nodes": [
  2043. {
  2044. "kind": "object",
  2045. "properties": [
  2046. {
  2047. "name": "text",
  2048. "type": 1,
  2049. "optional": false
  2050. },
  2051. {
  2052. "name": "type",
  2053. "type": 2,
  2054. "optional": false
  2055. }
  2056. ],
  2057. "indices": []
  2058. },
  2059. {
  2060. "kind": "primitive",
  2061. "type": "string"
  2062. },
  2063. {
  2064. "kind": "literal",
  2065. "value": "reasoning"
  2066. }
  2067. ]
  2068. },
  2069. "names": [
  2070. "packages/llm/llm/src/types.ts#ReasoningBlock"
  2071. ],
  2072. "sources": [
  2073. "packages/llm/llm/src/types.ts"
  2074. ]
  2075. },
  2076. {
  2077. "digest": "8729c8ebb6f8241bfc13ff68228be6bbac9818394e95a734fb6543ecf8061af5",
  2078. "schema": {
  2079. "root": 0,
  2080. "nodes": [
  2081. {
  2082. "kind": "union",
  2083. "types": [
  2084. 1,
  2085. 4,
  2086. 13,
  2087. 17,
  2088. 19
  2089. ]
  2090. },
  2091. {
  2092. "kind": "object",
  2093. "properties": [
  2094. {
  2095. "name": "arguments",
  2096. "type": 2,
  2097. "optional": false
  2098. },
  2099. {
  2100. "name": "id",
  2101. "type": 2,
  2102. "optional": false
  2103. },
  2104. {
  2105. "name": "name",
  2106. "type": 2,
  2107. "optional": false
  2108. },
  2109. {
  2110. "name": "type",
  2111. "type": 3,
  2112. "optional": false
  2113. }
  2114. ],
  2115. "indices": []
  2116. },
  2117. {
  2118. "kind": "primitive",
  2119. "type": "string"
  2120. },
  2121. {
  2122. "kind": "literal",
  2123. "value": "tool-call"
  2124. },
  2125. {
  2126. "kind": "object",
  2127. "properties": [
  2128. {
  2129. "name": "attachment",
  2130. "type": 5,
  2131. "optional": false
  2132. },
  2133. {
  2134. "name": "type",
  2135. "type": 12,
  2136. "optional": false
  2137. }
  2138. ],
  2139. "indices": []
  2140. },
  2141. {
  2142. "kind": "object",
  2143. "properties": [
  2144. {
  2145. "name": "attachmentId",
  2146. "type": 2,
  2147. "optional": false
  2148. },
  2149. {
  2150. "name": "bytes",
  2151. "type": 6,
  2152. "optional": false
  2153. },
  2154. {
  2155. "name": "height",
  2156. "type": 6,
  2157. "optional": false
  2158. },
  2159. {
  2160. "name": "mediaType",
  2161. "type": 7,
  2162. "optional": false
  2163. },
  2164. {
  2165. "name": "name",
  2166. "type": 2,
  2167. "optional": true
  2168. },
  2169. {
  2170. "name": "width",
  2171. "type": 6,
  2172. "optional": false
  2173. }
  2174. ],
  2175. "indices": []
  2176. },
  2177. {
  2178. "kind": "primitive",
  2179. "type": "number"
  2180. },
  2181. {
  2182. "kind": "union",
  2183. "types": [
  2184. 8,
  2185. 9,
  2186. 10,
  2187. 11
  2188. ]
  2189. },
  2190. {
  2191. "kind": "literal",
  2192. "value": "image/gif"
  2193. },
  2194. {
  2195. "kind": "literal",
  2196. "value": "image/jpeg"
  2197. },
  2198. {
  2199. "kind": "literal",
  2200. "value": "image/png"
  2201. },
  2202. {
  2203. "kind": "literal",
  2204. "value": "image/webp"
  2205. },
  2206. {
  2207. "kind": "literal",
  2208. "value": "image"
  2209. },
  2210. {
  2211. "kind": "object",
  2212. "properties": [
  2213. {
  2214. "name": "content",
  2215. "type": 14,
  2216. "optional": false
  2217. },
  2218. {
  2219. "name": "isError",
  2220. "type": 15,
  2221. "optional": true
  2222. },
  2223. {
  2224. "name": "toolCallId",
  2225. "type": 2,
  2226. "optional": false
  2227. },
  2228. {
  2229. "name": "type",
  2230. "type": 16,
  2231. "optional": false
  2232. }
  2233. ],
  2234. "indices": []
  2235. },
  2236. {
  2237. "kind": "array",
  2238. "element": 0
  2239. },
  2240. {
  2241. "kind": "primitive",
  2242. "type": "boolean"
  2243. },
  2244. {
  2245. "kind": "literal",
  2246. "value": "tool-result"
  2247. },
  2248. {
  2249. "kind": "object",
  2250. "properties": [
  2251. {
  2252. "name": "text",
  2253. "type": 2,
  2254. "optional": false
  2255. },
  2256. {
  2257. "name": "type",
  2258. "type": 18,
  2259. "optional": false
  2260. }
  2261. ],
  2262. "indices": []
  2263. },
  2264. {
  2265. "kind": "literal",
  2266. "value": "reasoning"
  2267. },
  2268. {
  2269. "kind": "object",
  2270. "properties": [
  2271. {
  2272. "name": "text",
  2273. "type": 2,
  2274. "optional": false
  2275. },
  2276. {
  2277. "name": "type",
  2278. "type": 20,
  2279. "optional": false
  2280. }
  2281. ],
  2282. "indices": []
  2283. },
  2284. {
  2285. "kind": "literal",
  2286. "value": "text"
  2287. }
  2288. ]
  2289. },
  2290. "names": [
  2291. "packages/llm/llm/src/types.ts#ContentBlock"
  2292. ],
  2293. "sources": [
  2294. "packages/llm/llm/src/types.ts"
  2295. ]
  2296. },
  2297. {
  2298. "digest": "88a610b831be6d92612a464be5c7d0b88ec24d97bd299837bf74bf7672183c9a",
  2299. "schema": {
  2300. "root": 0,
  2301. "nodes": [
  2302. {
  2303. "kind": "object",
  2304. "properties": [
  2305. {
  2306. "name": "argumentsDelta",
  2307. "type": 1,
  2308. "optional": false
  2309. },
  2310. {
  2311. "name": "id",
  2312. "type": 1,
  2313. "optional": false
  2314. },
  2315. {
  2316. "name": "index",
  2317. "type": 2,
  2318. "optional": false
  2319. },
  2320. {
  2321. "name": "name",
  2322. "type": 1,
  2323. "optional": true
  2324. },
  2325. {
  2326. "name": "type",
  2327. "type": 3,
  2328. "optional": false
  2329. }
  2330. ],
  2331. "indices": []
  2332. },
  2333. {
  2334. "kind": "primitive",
  2335. "type": "string"
  2336. },
  2337. {
  2338. "kind": "primitive",
  2339. "type": "number"
  2340. },
  2341. {
  2342. "kind": "literal",
  2343. "value": "tool-call-delta"
  2344. }
  2345. ]
  2346. },
  2347. "names": [
  2348. "event:assistant/chunk[0].data.chunk[3]"
  2349. ],
  2350. "sources": [
  2351. "packages/llm/llm/src/types.ts"
  2352. ]
  2353. },
  2354. {
  2355. "digest": "95080295115fbd83544520ba247b68a03790131f6a2eac323d388758cb542f65",
  2356. "schema": {
  2357. "root": 0,
  2358. "nodes": [
  2359. {
  2360. "kind": "object",
  2361. "properties": [
  2362. {
  2363. "name": "index",
  2364. "type": 1,
  2365. "optional": false
  2366. },
  2367. {
  2368. "name": "text",
  2369. "type": 2,
  2370. "optional": false
  2371. },
  2372. {
  2373. "name": "type",
  2374. "type": 3,
  2375. "optional": false
  2376. }
  2377. ],
  2378. "indices": []
  2379. },
  2380. {
  2381. "kind": "primitive",
  2382. "type": "number"
  2383. },
  2384. {
  2385. "kind": "primitive",
  2386. "type": "string"
  2387. },
  2388. {
  2389. "kind": "literal",
  2390. "value": "text-delta"
  2391. }
  2392. ]
  2393. },
  2394. "names": [
  2395. "event:assistant/chunk[0].data.chunk[1]"
  2396. ],
  2397. "sources": [
  2398. "packages/llm/llm/src/types.ts"
  2399. ]
  2400. },
  2401. {
  2402. "digest": "9b4fd974c124c83743efe030ba4e1250e087505f3f74588716a521fb8d453267",
  2403. "schema": {
  2404. "root": 0,
  2405. "nodes": [
  2406. {
  2407. "kind": "literal",
  2408. "value": "tool-call-delta"
  2409. }
  2410. ]
  2411. },
  2412. "names": [],
  2413. "sources": []
  2414. },
  2415. {
  2416. "digest": "a2be0f0cb59f0d4a06557d45847d1938aced238baa77a6da416e590b8b958553",
  2417. "schema": {
  2418. "root": 0,
  2419. "nodes": [
  2420. {
  2421. "kind": "literal",
  2422. "value": "error"
  2423. }
  2424. ]
  2425. },
  2426. "names": [],
  2427. "sources": []
  2428. },
  2429. {
  2430. "digest": "a4ed3446d32625902170fce527fb64a0283d6f4817930f54a16fdce3a482b36a",
  2431. "schema": {
  2432. "root": 0,
  2433. "nodes": [
  2434. {
  2435. "kind": "object",
  2436. "properties": [
  2437. {
  2438. "name": "reason",
  2439. "type": 1,
  2440. "optional": false
  2441. },
  2442. {
  2443. "name": "replayState",
  2444. "type": 15,
  2445. "optional": true
  2446. },
  2447. {
  2448. "name": "type",
  2449. "type": 18,
  2450. "optional": false
  2451. }
  2452. ],
  2453. "indices": []
  2454. },
  2455. {
  2456. "kind": "union",
  2457. "types": [
  2458. 2,
  2459. 7,
  2460. 9,
  2461. 11,
  2462. 13
  2463. ]
  2464. },
  2465. {
  2466. "kind": "object",
  2467. "properties": [
  2468. {
  2469. "name": "failure",
  2470. "type": 3,
  2471. "optional": false
  2472. },
  2473. {
  2474. "name": "kind",
  2475. "type": 6,
  2476. "optional": false
  2477. }
  2478. ],
  2479. "indices": []
  2480. },
  2481. {
  2482. "kind": "object",
  2483. "properties": [
  2484. {
  2485. "name": "code",
  2486. "type": 4,
  2487. "optional": false
  2488. },
  2489. {
  2490. "name": "message",
  2491. "type": 4,
  2492. "optional": false
  2493. },
  2494. {
  2495. "name": "providerRetryAfterMs",
  2496. "type": 5,
  2497. "optional": true
  2498. },
  2499. {
  2500. "name": "requestId",
  2501. "type": 4,
  2502. "optional": true
  2503. },
  2504. {
  2505. "name": "status",
  2506. "type": 5,
  2507. "optional": true
  2508. }
  2509. ],
  2510. "indices": []
  2511. },
  2512. {
  2513. "kind": "primitive",
  2514. "type": "string"
  2515. },
  2516. {
  2517. "kind": "primitive",
  2518. "type": "number"
  2519. },
  2520. {
  2521. "kind": "literal",
  2522. "value": "aborted"
  2523. },
  2524. {
  2525. "kind": "object",
  2526. "properties": [
  2527. {
  2528. "name": "failure",
  2529. "type": 3,
  2530. "optional": false
  2531. },
  2532. {
  2533. "name": "kind",
  2534. "type": 8,
  2535. "optional": false
  2536. }
  2537. ],
  2538. "indices": []
  2539. },
  2540. {
  2541. "kind": "literal",
  2542. "value": "error"
  2543. },
  2544. {
  2545. "kind": "object",
  2546. "properties": [
  2547. {
  2548. "name": "kind",
  2549. "type": 10,
  2550. "optional": false
  2551. }
  2552. ],
  2553. "indices": []
  2554. },
  2555. {
  2556. "kind": "literal",
  2557. "value": "max-tokens"
  2558. },
  2559. {
  2560. "kind": "object",
  2561. "properties": [
  2562. {
  2563. "name": "kind",
  2564. "type": 12,
  2565. "optional": false
  2566. }
  2567. ],
  2568. "indices": []
  2569. },
  2570. {
  2571. "kind": "literal",
  2572. "value": "stop"
  2573. },
  2574. {
  2575. "kind": "object",
  2576. "properties": [
  2577. {
  2578. "name": "kind",
  2579. "type": 14,
  2580. "optional": false
  2581. }
  2582. ],
  2583. "indices": []
  2584. },
  2585. {
  2586. "kind": "literal",
  2587. "value": "tool-calls"
  2588. },
  2589. {
  2590. "kind": "object",
  2591. "properties": [
  2592. {
  2593. "name": "blocks",
  2594. "type": 16,
  2595. "optional": true
  2596. },
  2597. {
  2598. "name": "response",
  2599. "type": 17,
  2600. "optional": false
  2601. }
  2602. ],
  2603. "indices": []
  2604. },
  2605. {
  2606. "kind": "array",
  2607. "element": 17
  2608. },
  2609. {
  2610. "kind": "opaque",
  2611. "reason": "unknown"
  2612. },
  2613. {
  2614. "kind": "literal",
  2615. "value": "finish"
  2616. }
  2617. ]
  2618. },
  2619. "names": [
  2620. "event:assistant/chunk[0].data.chunk[6]"
  2621. ],
  2622. "sources": [
  2623. "packages/llm/llm/src/types.ts"
  2624. ]
  2625. },
  2626. {
  2627. "digest": "a681bf8e6eed8af50ad0da0efbf233c59215d7221fbbf9ee0a36e542a5c5f814",
  2628. "schema": {
  2629. "root": 0,
  2630. "nodes": [
  2631. {
  2632. "kind": "object",
  2633. "properties": [
  2634. {
  2635. "name": "blockType",
  2636. "type": 1,
  2637. "optional": false
  2638. },
  2639. {
  2640. "name": "index",
  2641. "type": 7,
  2642. "optional": false
  2643. },
  2644. {
  2645. "name": "type",
  2646. "type": 8,
  2647. "optional": false
  2648. }
  2649. ],
  2650. "indices": []
  2651. },
  2652. {
  2653. "kind": "union",
  2654. "types": [
  2655. 2,
  2656. 3,
  2657. 4,
  2658. 5,
  2659. 6
  2660. ]
  2661. },
  2662. {
  2663. "kind": "literal",
  2664. "value": "image"
  2665. },
  2666. {
  2667. "kind": "literal",
  2668. "value": "reasoning"
  2669. },
  2670. {
  2671. "kind": "literal",
  2672. "value": "text"
  2673. },
  2674. {
  2675. "kind": "literal",
  2676. "value": "tool-call"
  2677. },
  2678. {
  2679. "kind": "literal",
  2680. "value": "tool-result"
  2681. },
  2682. {
  2683. "kind": "primitive",
  2684. "type": "number"
  2685. },
  2686. {
  2687. "kind": "literal",
  2688. "value": "block-start"
  2689. }
  2690. ]
  2691. },
  2692. "names": [
  2693. "event:assistant/chunk[0].data.chunk[0]"
  2694. ],
  2695. "sources": [
  2696. "packages/llm/llm/src/types.ts"
  2697. ]
  2698. },
  2699. {
  2700. "digest": "a89bb378903fc55509a40031397e8a1dc3091700f4806ef19a3270c88536b58f",
  2701. "schema": {
  2702. "root": 0,
  2703. "nodes": [
  2704. {
  2705. "kind": "object",
  2706. "properties": [
  2707. {
  2708. "name": "attachment",
  2709. "type": 1,
  2710. "optional": false
  2711. },
  2712. {
  2713. "name": "type",
  2714. "type": 9,
  2715. "optional": false
  2716. }
  2717. ],
  2718. "indices": []
  2719. },
  2720. {
  2721. "kind": "object",
  2722. "properties": [
  2723. {
  2724. "name": "attachmentId",
  2725. "type": 2,
  2726. "optional": false
  2727. },
  2728. {
  2729. "name": "bytes",
  2730. "type": 3,
  2731. "optional": false
  2732. },
  2733. {
  2734. "name": "height",
  2735. "type": 3,
  2736. "optional": false
  2737. },
  2738. {
  2739. "name": "mediaType",
  2740. "type": 4,
  2741. "optional": false
  2742. },
  2743. {
  2744. "name": "name",
  2745. "type": 2,
  2746. "optional": true
  2747. },
  2748. {
  2749. "name": "width",
  2750. "type": 3,
  2751. "optional": false
  2752. }
  2753. ],
  2754. "indices": []
  2755. },
  2756. {
  2757. "kind": "primitive",
  2758. "type": "string"
  2759. },
  2760. {
  2761. "kind": "primitive",
  2762. "type": "number"
  2763. },
  2764. {
  2765. "kind": "union",
  2766. "types": [
  2767. 5,
  2768. 6,
  2769. 7,
  2770. 8
  2771. ]
  2772. },
  2773. {
  2774. "kind": "literal",
  2775. "value": "image/gif"
  2776. },
  2777. {
  2778. "kind": "literal",
  2779. "value": "image/jpeg"
  2780. },
  2781. {
  2782. "kind": "literal",
  2783. "value": "image/png"
  2784. },
  2785. {
  2786. "kind": "literal",
  2787. "value": "image/webp"
  2788. },
  2789. {
  2790. "kind": "literal",
  2791. "value": "image"
  2792. }
  2793. ]
  2794. },
  2795. "names": [
  2796. "packages/llm/llm/src/types.ts#ImageBlock"
  2797. ],
  2798. "sources": [
  2799. "packages/llm/llm/src/types.ts"
  2800. ]
  2801. },
  2802. {
  2803. "digest": "aa93010d0e521ad7c42273f58d5c9b8bf1dfc94edf1b805a3971b364a35c1877",
  2804. "schema": {
  2805. "root": 0,
  2806. "nodes": [
  2807. {
  2808. "kind": "primitive",
  2809. "type": "boolean"
  2810. }
  2811. ]
  2812. },
  2813. "names": [],
  2814. "sources": []
  2815. },
  2816. {
  2817. "digest": "ab7ec5f9eb2c6dfacca5da4c37cf7ba85d04172053ee6b1ebf1709ffcd99c1a7",
  2818. "schema": {
  2819. "root": 0,
  2820. "nodes": [
  2821. {
  2822. "kind": "object",
  2823. "properties": [
  2824. {
  2825. "name": "kind",
  2826. "type": 1,
  2827. "optional": false
  2828. }
  2829. ],
  2830. "indices": []
  2831. },
  2832. {
  2833. "kind": "literal",
  2834. "value": "max-tokens"
  2835. }
  2836. ]
  2837. },
  2838. "names": [
  2839. "event:assistant/chunk[0].data.chunk[6].reason[2]",
  2840. "event:turn/end[0].data.reason[4]"
  2841. ],
  2842. "sources": [
  2843. "packages/core/session/src/types.ts",
  2844. "packages/llm/llm/src/types.ts"
  2845. ]
  2846. },
  2847. {
  2848. "digest": "b14ed9d0940f30765ddd59b7fd792c0c60ac0297d7c67318ad7bead8013e047c",
  2849. "schema": {
  2850. "root": 0,
  2851. "nodes": [
  2852. {
  2853. "kind": "object",
  2854. "properties": [
  2855. {
  2856. "name": "attachmentId",
  2857. "type": 1,
  2858. "optional": false
  2859. },
  2860. {
  2861. "name": "bytes",
  2862. "type": 2,
  2863. "optional": false
  2864. },
  2865. {
  2866. "name": "height",
  2867. "type": 2,
  2868. "optional": false
  2869. },
  2870. {
  2871. "name": "mediaType",
  2872. "type": 3,
  2873. "optional": false
  2874. },
  2875. {
  2876. "name": "name",
  2877. "type": 1,
  2878. "optional": true
  2879. },
  2880. {
  2881. "name": "width",
  2882. "type": 2,
  2883. "optional": false
  2884. }
  2885. ],
  2886. "indices": []
  2887. },
  2888. {
  2889. "kind": "primitive",
  2890. "type": "string"
  2891. },
  2892. {
  2893. "kind": "primitive",
  2894. "type": "number"
  2895. },
  2896. {
  2897. "kind": "union",
  2898. "types": [
  2899. 4,
  2900. 5,
  2901. 6,
  2902. 7
  2903. ]
  2904. },
  2905. {
  2906. "kind": "literal",
  2907. "value": "image/gif"
  2908. },
  2909. {
  2910. "kind": "literal",
  2911. "value": "image/jpeg"
  2912. },
  2913. {
  2914. "kind": "literal",
  2915. "value": "image/png"
  2916. },
  2917. {
  2918. "kind": "literal",
  2919. "value": "image/webp"
  2920. }
  2921. ]
  2922. },
  2923. "names": [
  2924. "packages/attachment/attachment/src/types.ts#ImageAttachmentRef"
  2925. ],
  2926. "sources": [
  2927. "packages/attachment/attachment/src/types.ts"
  2928. ]
  2929. },
  2930. {
  2931. "digest": "b1664fa89f8eab49a14e7e3168d8bc4da4aa9fd76332f6c4a053d839e5276ae7",
  2932. "schema": {
  2933. "root": 0,
  2934. "nodes": [
  2935. {
  2936. "kind": "array",
  2937. "element": 1
  2938. },
  2939. {
  2940. "kind": "opaque",
  2941. "reason": "unknown"
  2942. }
  2943. ]
  2944. },
  2945. "names": [
  2946. "event:assistant/chunk[0].data.chunk[6].replayState.blocks"
  2947. ],
  2948. "sources": []
  2949. },
  2950. {
  2951. "digest": "b58c061065b245f6f2bad9abfc4829d4c732c02af0dded0cc88c9e90940267c6",
  2952. "schema": {
  2953. "root": 0,
  2954. "nodes": [
  2955. {
  2956. "kind": "object",
  2957. "properties": [
  2958. {
  2959. "name": "chunk",
  2960. "type": 1,
  2961. "optional": false
  2962. },
  2963. {
  2964. "name": "step",
  2965. "type": 4,
  2966. "optional": false
  2967. },
  2968. {
  2969. "name": "turn",
  2970. "type": 4,
  2971. "optional": false
  2972. }
  2973. ],
  2974. "indices": []
  2975. },
  2976. {
  2977. "kind": "union",
  2978. "types": [
  2979. 2,
  2980. 6,
  2981. 27,
  2982. 30,
  2983. 32,
  2984. 34,
  2985. 51
  2986. ]
  2987. },
  2988. {
  2989. "kind": "object",
  2990. "properties": [
  2991. {
  2992. "name": "argumentsDelta",
  2993. "type": 3,
  2994. "optional": false
  2995. },
  2996. {
  2997. "name": "id",
  2998. "type": 3,
  2999. "optional": false
  3000. },
  3001. {
  3002. "name": "index",
  3003. "type": 4,
  3004. "optional": false
  3005. },
  3006. {
  3007. "name": "name",
  3008. "type": 3,
  3009. "optional": true
  3010. },
  3011. {
  3012. "name": "type",
  3013. "type": 5,
  3014. "optional": false
  3015. }
  3016. ],
  3017. "indices": []
  3018. },
  3019. {
  3020. "kind": "primitive",
  3021. "type": "string"
  3022. },
  3023. {
  3024. "kind": "primitive",
  3025. "type": "number"
  3026. },
  3027. {
  3028. "kind": "literal",
  3029. "value": "tool-call-delta"
  3030. },
  3031. {
  3032. "kind": "object",
  3033. "properties": [
  3034. {
  3035. "name": "block",
  3036. "type": 7,
  3037. "optional": false
  3038. },
  3039. {
  3040. "name": "index",
  3041. "type": 4,
  3042. "optional": false
  3043. },
  3044. {
  3045. "name": "type",
  3046. "type": 26,
  3047. "optional": false
  3048. }
  3049. ],
  3050. "indices": []
  3051. },
  3052. {
  3053. "kind": "union",
  3054. "types": [
  3055. 8,
  3056. 10,
  3057. 18,
  3058. 22,
  3059. 24
  3060. ]
  3061. },
  3062. {
  3063. "kind": "object",
  3064. "properties": [
  3065. {
  3066. "name": "arguments",
  3067. "type": 3,
  3068. "optional": false
  3069. },
  3070. {
  3071. "name": "id",
  3072. "type": 3,
  3073. "optional": false
  3074. },
  3075. {
  3076. "name": "name",
  3077. "type": 3,
  3078. "optional": false
  3079. },
  3080. {
  3081. "name": "type",
  3082. "type": 9,
  3083. "optional": false
  3084. }
  3085. ],
  3086. "indices": []
  3087. },
  3088. {
  3089. "kind": "literal",
  3090. "value": "tool-call"
  3091. },
  3092. {
  3093. "kind": "object",
  3094. "properties": [
  3095. {
  3096. "name": "attachment",
  3097. "type": 11,
  3098. "optional": false
  3099. },
  3100. {
  3101. "name": "type",
  3102. "type": 17,
  3103. "optional": false
  3104. }
  3105. ],
  3106. "indices": []
  3107. },
  3108. {
  3109. "kind": "object",
  3110. "properties": [
  3111. {
  3112. "name": "attachmentId",
  3113. "type": 3,
  3114. "optional": false
  3115. },
  3116. {
  3117. "name": "bytes",
  3118. "type": 4,
  3119. "optional": false
  3120. },
  3121. {
  3122. "name": "height",
  3123. "type": 4,
  3124. "optional": false
  3125. },
  3126. {
  3127. "name": "mediaType",
  3128. "type": 12,
  3129. "optional": false
  3130. },
  3131. {
  3132. "name": "name",
  3133. "type": 3,
  3134. "optional": true
  3135. },
  3136. {
  3137. "name": "width",
  3138. "type": 4,
  3139. "optional": false
  3140. }
  3141. ],
  3142. "indices": []
  3143. },
  3144. {
  3145. "kind": "union",
  3146. "types": [
  3147. 13,
  3148. 14,
  3149. 15,
  3150. 16
  3151. ]
  3152. },
  3153. {
  3154. "kind": "literal",
  3155. "value": "image/webp"
  3156. },
  3157. {
  3158. "kind": "literal",
  3159. "value": "image/gif"
  3160. },
  3161. {
  3162. "kind": "literal",
  3163. "value": "image/jpeg"
  3164. },
  3165. {
  3166. "kind": "literal",
  3167. "value": "image/png"
  3168. },
  3169. {
  3170. "kind": "literal",
  3171. "value": "image"
  3172. },
  3173. {
  3174. "kind": "object",
  3175. "properties": [
  3176. {
  3177. "name": "content",
  3178. "type": 19,
  3179. "optional": false
  3180. },
  3181. {
  3182. "name": "isError",
  3183. "type": 20,
  3184. "optional": true
  3185. },
  3186. {
  3187. "name": "toolCallId",
  3188. "type": 3,
  3189. "optional": false
  3190. },
  3191. {
  3192. "name": "type",
  3193. "type": 21,
  3194. "optional": false
  3195. }
  3196. ],
  3197. "indices": []
  3198. },
  3199. {
  3200. "kind": "array",
  3201. "element": 7
  3202. },
  3203. {
  3204. "kind": "primitive",
  3205. "type": "boolean"
  3206. },
  3207. {
  3208. "kind": "literal",
  3209. "value": "tool-result"
  3210. },
  3211. {
  3212. "kind": "object",
  3213. "properties": [
  3214. {
  3215. "name": "text",
  3216. "type": 3,
  3217. "optional": false
  3218. },
  3219. {
  3220. "name": "type",
  3221. "type": 23,
  3222. "optional": false
  3223. }
  3224. ],
  3225. "indices": []
  3226. },
  3227. {
  3228. "kind": "literal",
  3229. "value": "reasoning"
  3230. },
  3231. {
  3232. "kind": "object",
  3233. "properties": [
  3234. {
  3235. "name": "text",
  3236. "type": 3,
  3237. "optional": false
  3238. },
  3239. {
  3240. "name": "type",
  3241. "type": 25,
  3242. "optional": false
  3243. }
  3244. ],
  3245. "indices": []
  3246. },
  3247. {
  3248. "kind": "literal",
  3249. "value": "text"
  3250. },
  3251. {
  3252. "kind": "literal",
  3253. "value": "block-end"
  3254. },
  3255. {
  3256. "kind": "object",
  3257. "properties": [
  3258. {
  3259. "name": "blockType",
  3260. "type": 28,
  3261. "optional": false
  3262. },
  3263. {
  3264. "name": "index",
  3265. "type": 4,
  3266. "optional": false
  3267. },
  3268. {
  3269. "name": "type",
  3270. "type": 29,
  3271. "optional": false
  3272. }
  3273. ],
  3274. "indices": []
  3275. },
  3276. {
  3277. "kind": "union",
  3278. "types": [
  3279. 9,
  3280. 17,
  3281. 21,
  3282. 23,
  3283. 25
  3284. ]
  3285. },
  3286. {
  3287. "kind": "literal",
  3288. "value": "block-start"
  3289. },
  3290. {
  3291. "kind": "object",
  3292. "properties": [
  3293. {
  3294. "name": "index",
  3295. "type": 4,
  3296. "optional": false
  3297. },
  3298. {
  3299. "name": "text",
  3300. "type": 3,
  3301. "optional": false
  3302. },
  3303. {
  3304. "name": "type",
  3305. "type": 31,
  3306. "optional": false
  3307. }
  3308. ],
  3309. "indices": []
  3310. },
  3311. {
  3312. "kind": "literal",
  3313. "value": "reasoning-delta"
  3314. },
  3315. {
  3316. "kind": "object",
  3317. "properties": [
  3318. {
  3319. "name": "index",
  3320. "type": 4,
  3321. "optional": false
  3322. },
  3323. {
  3324. "name": "text",
  3325. "type": 3,
  3326. "optional": false
  3327. },
  3328. {
  3329. "name": "type",
  3330. "type": 33,
  3331. "optional": false
  3332. }
  3333. ],
  3334. "indices": []
  3335. },
  3336. {
  3337. "kind": "literal",
  3338. "value": "text-delta"
  3339. },
  3340. {
  3341. "kind": "object",
  3342. "properties": [
  3343. {
  3344. "name": "reason",
  3345. "type": 35,
  3346. "optional": false
  3347. },
  3348. {
  3349. "name": "replayState",
  3350. "type": 47,
  3351. "optional": true
  3352. },
  3353. {
  3354. "name": "type",
  3355. "type": 50,
  3356. "optional": false
  3357. }
  3358. ],
  3359. "indices": []
  3360. },
  3361. {
  3362. "kind": "union",
  3363. "types": [
  3364. 36,
  3365. 39,
  3366. 41,
  3367. 43,
  3368. 45
  3369. ]
  3370. },
  3371. {
  3372. "kind": "object",
  3373. "properties": [
  3374. {
  3375. "name": "failure",
  3376. "type": 37,
  3377. "optional": false
  3378. },
  3379. {
  3380. "name": "kind",
  3381. "type": 38,
  3382. "optional": false
  3383. }
  3384. ],
  3385. "indices": []
  3386. },
  3387. {
  3388. "kind": "object",
  3389. "properties": [
  3390. {
  3391. "name": "code",
  3392. "type": 3,
  3393. "optional": false
  3394. },
  3395. {
  3396. "name": "message",
  3397. "type": 3,
  3398. "optional": false
  3399. },
  3400. {
  3401. "name": "providerRetryAfterMs",
  3402. "type": 4,
  3403. "optional": true
  3404. },
  3405. {
  3406. "name": "requestId",
  3407. "type": 3,
  3408. "optional": true
  3409. },
  3410. {
  3411. "name": "status",
  3412. "type": 4,
  3413. "optional": true
  3414. }
  3415. ],
  3416. "indices": []
  3417. },
  3418. {
  3419. "kind": "literal",
  3420. "value": "aborted"
  3421. },
  3422. {
  3423. "kind": "object",
  3424. "properties": [
  3425. {
  3426. "name": "failure",
  3427. "type": 37,
  3428. "optional": false
  3429. },
  3430. {
  3431. "name": "kind",
  3432. "type": 40,
  3433. "optional": false
  3434. }
  3435. ],
  3436. "indices": []
  3437. },
  3438. {
  3439. "kind": "literal",
  3440. "value": "error"
  3441. },
  3442. {
  3443. "kind": "object",
  3444. "properties": [
  3445. {
  3446. "name": "kind",
  3447. "type": 42,
  3448. "optional": false
  3449. }
  3450. ],
  3451. "indices": []
  3452. },
  3453. {
  3454. "kind": "literal",
  3455. "value": "max-tokens"
  3456. },
  3457. {
  3458. "kind": "object",
  3459. "properties": [
  3460. {
  3461. "name": "kind",
  3462. "type": 44,
  3463. "optional": false
  3464. }
  3465. ],
  3466. "indices": []
  3467. },
  3468. {
  3469. "kind": "literal",
  3470. "value": "stop"
  3471. },
  3472. {
  3473. "kind": "object",
  3474. "properties": [
  3475. {
  3476. "name": "kind",
  3477. "type": 46,
  3478. "optional": false
  3479. }
  3480. ],
  3481. "indices": []
  3482. },
  3483. {
  3484. "kind": "literal",
  3485. "value": "tool-calls"
  3486. },
  3487. {
  3488. "kind": "object",
  3489. "properties": [
  3490. {
  3491. "name": "blocks",
  3492. "type": 48,
  3493. "optional": true
  3494. },
  3495. {
  3496. "name": "response",
  3497. "type": 49,
  3498. "optional": false
  3499. }
  3500. ],
  3501. "indices": []
  3502. },
  3503. {
  3504. "kind": "array",
  3505. "element": 49
  3506. },
  3507. {
  3508. "kind": "opaque",
  3509. "reason": "unknown"
  3510. },
  3511. {
  3512. "kind": "literal",
  3513. "value": "finish"
  3514. },
  3515. {
  3516. "kind": "object",
  3517. "properties": [
  3518. {
  3519. "name": "type",
  3520. "type": 52,
  3521. "optional": false
  3522. },
  3523. {
  3524. "name": "usage",
  3525. "type": 53,
  3526. "optional": false
  3527. }
  3528. ],
  3529. "indices": []
  3530. },
  3531. {
  3532. "kind": "literal",
  3533. "value": "usage"
  3534. },
  3535. {
  3536. "kind": "object",
  3537. "properties": [
  3538. {
  3539. "name": "cacheReadTokens",
  3540. "type": 4,
  3541. "optional": true
  3542. },
  3543. {
  3544. "name": "cacheWriteTokens",
  3545. "type": 4,
  3546. "optional": true
  3547. },
  3548. {
  3549. "name": "inputTokens",
  3550. "type": 4,
  3551. "optional": false
  3552. },
  3553. {
  3554. "name": "outputTokens",
  3555. "type": 4,
  3556. "optional": false
  3557. },
  3558. {
  3559. "name": "reasoningTokens",
  3560. "type": 4,
  3561. "optional": true
  3562. }
  3563. ],
  3564. "indices": []
  3565. }
  3566. ]
  3567. },
  3568. "names": [
  3569. "event:assistant/chunk[0].data"
  3570. ],
  3571. "sources": [
  3572. "packages/core/session/src/types.ts"
  3573. ]
  3574. },
  3575. {
  3576. "digest": "bbc5696e3f13c758237b316e3cf08cda0b9fd51ffe672539883457769faa185d",
  3577. "schema": {
  3578. "root": 0,
  3579. "nodes": [
  3580. {
  3581. "kind": "opaque",
  3582. "reason": "unknown"
  3583. }
  3584. ]
  3585. },
  3586. "names": [
  3587. "event:agent/inbox/spliced[0].data.inserted[0].source[8].replayState",
  3588. "event:assistant/chunk[0].data.chunk[6].replayState.blocks[0]",
  3589. "event:assistant/chunk[0].data.chunk[6].replayState.response",
  3590. "event:request/header[0].data.header.tools[0].parameters.[value]",
  3591. "event:tool/code-dispatch-start[0].data.arguments",
  3592. "event:tool/code-dispatch[0].data.arguments"
  3593. ],
  3594. "sources": []
  3595. },
  3596. {
  3597. "digest": "bd499eac047efe091a4df7382eadd06d25cf0cb31fee3981e8b24d85762841cd",
  3598. "schema": {
  3599. "root": 0,
  3600. "nodes": [
  3601. {
  3602. "kind": "literal",
  3603. "value": "finish"
  3604. }
  3605. ]
  3606. },
  3607. "names": [],
  3608. "sources": []
  3609. },
  3610. {
  3611. "digest": "c1f0f17b6493b85db6453bb30e01b208d703731b25bc1e68e5d4fc72eea9cdea",
  3612. "schema": {
  3613. "root": 0,
  3614. "nodes": [
  3615. {
  3616. "kind": "object",
  3617. "properties": [
  3618. {
  3619. "name": "arguments",
  3620. "type": 1,
  3621. "optional": false
  3622. },
  3623. {
  3624. "name": "id",
  3625. "type": 1,
  3626. "optional": false
  3627. },
  3628. {
  3629. "name": "name",
  3630. "type": 1,
  3631. "optional": false
  3632. },
  3633. {
  3634. "name": "type",
  3635. "type": 2,
  3636. "optional": false
  3637. }
  3638. ],
  3639. "indices": []
  3640. },
  3641. {
  3642. "kind": "primitive",
  3643. "type": "string"
  3644. },
  3645. {
  3646. "kind": "literal",
  3647. "value": "tool-call"
  3648. }
  3649. ]
  3650. },
  3651. "names": [
  3652. "packages/llm/llm/src/types.ts#ToolCallBlock"
  3653. ],
  3654. "sources": [
  3655. "packages/llm/llm/src/types.ts"
  3656. ]
  3657. },
  3658. {
  3659. "digest": "c76b1e39b5c16f66431a3eb26d8fe56aff693cd4710047cbd2e5f71290be89af",
  3660. "schema": {
  3661. "root": 0,
  3662. "nodes": [
  3663. {
  3664. "kind": "union",
  3665. "types": [
  3666. 1,
  3667. 5,
  3668. 26,
  3669. 29,
  3670. 31,
  3671. 33,
  3672. 50
  3673. ]
  3674. },
  3675. {
  3676. "kind": "object",
  3677. "properties": [
  3678. {
  3679. "name": "argumentsDelta",
  3680. "type": 2,
  3681. "optional": false
  3682. },
  3683. {
  3684. "name": "id",
  3685. "type": 2,
  3686. "optional": false
  3687. },
  3688. {
  3689. "name": "index",
  3690. "type": 3,
  3691. "optional": false
  3692. },
  3693. {
  3694. "name": "name",
  3695. "type": 2,
  3696. "optional": true
  3697. },
  3698. {
  3699. "name": "type",
  3700. "type": 4,
  3701. "optional": false
  3702. }
  3703. ],
  3704. "indices": []
  3705. },
  3706. {
  3707. "kind": "primitive",
  3708. "type": "string"
  3709. },
  3710. {
  3711. "kind": "primitive",
  3712. "type": "number"
  3713. },
  3714. {
  3715. "kind": "literal",
  3716. "value": "tool-call-delta"
  3717. },
  3718. {
  3719. "kind": "object",
  3720. "properties": [
  3721. {
  3722. "name": "block",
  3723. "type": 6,
  3724. "optional": false
  3725. },
  3726. {
  3727. "name": "index",
  3728. "type": 3,
  3729. "optional": false
  3730. },
  3731. {
  3732. "name": "type",
  3733. "type": 25,
  3734. "optional": false
  3735. }
  3736. ],
  3737. "indices": []
  3738. },
  3739. {
  3740. "kind": "union",
  3741. "types": [
  3742. 7,
  3743. 9,
  3744. 17,
  3745. 21,
  3746. 23
  3747. ]
  3748. },
  3749. {
  3750. "kind": "object",
  3751. "properties": [
  3752. {
  3753. "name": "arguments",
  3754. "type": 2,
  3755. "optional": false
  3756. },
  3757. {
  3758. "name": "id",
  3759. "type": 2,
  3760. "optional": false
  3761. },
  3762. {
  3763. "name": "name",
  3764. "type": 2,
  3765. "optional": false
  3766. },
  3767. {
  3768. "name": "type",
  3769. "type": 8,
  3770. "optional": false
  3771. }
  3772. ],
  3773. "indices": []
  3774. },
  3775. {
  3776. "kind": "literal",
  3777. "value": "tool-call"
  3778. },
  3779. {
  3780. "kind": "object",
  3781. "properties": [
  3782. {
  3783. "name": "attachment",
  3784. "type": 10,
  3785. "optional": false
  3786. },
  3787. {
  3788. "name": "type",
  3789. "type": 16,
  3790. "optional": false
  3791. }
  3792. ],
  3793. "indices": []
  3794. },
  3795. {
  3796. "kind": "object",
  3797. "properties": [
  3798. {
  3799. "name": "attachmentId",
  3800. "type": 2,
  3801. "optional": false
  3802. },
  3803. {
  3804. "name": "bytes",
  3805. "type": 3,
  3806. "optional": false
  3807. },
  3808. {
  3809. "name": "height",
  3810. "type": 3,
  3811. "optional": false
  3812. },
  3813. {
  3814. "name": "mediaType",
  3815. "type": 11,
  3816. "optional": false
  3817. },
  3818. {
  3819. "name": "name",
  3820. "type": 2,
  3821. "optional": true
  3822. },
  3823. {
  3824. "name": "width",
  3825. "type": 3,
  3826. "optional": false
  3827. }
  3828. ],
  3829. "indices": []
  3830. },
  3831. {
  3832. "kind": "union",
  3833. "types": [
  3834. 12,
  3835. 13,
  3836. 14,
  3837. 15
  3838. ]
  3839. },
  3840. {
  3841. "kind": "literal",
  3842. "value": "image/webp"
  3843. },
  3844. {
  3845. "kind": "literal",
  3846. "value": "image/gif"
  3847. },
  3848. {
  3849. "kind": "literal",
  3850. "value": "image/jpeg"
  3851. },
  3852. {
  3853. "kind": "literal",
  3854. "value": "image/png"
  3855. },
  3856. {
  3857. "kind": "literal",
  3858. "value": "image"
  3859. },
  3860. {
  3861. "kind": "object",
  3862. "properties": [
  3863. {
  3864. "name": "content",
  3865. "type": 18,
  3866. "optional": false
  3867. },
  3868. {
  3869. "name": "isError",
  3870. "type": 19,
  3871. "optional": true
  3872. },
  3873. {
  3874. "name": "toolCallId",
  3875. "type": 2,
  3876. "optional": false
  3877. },
  3878. {
  3879. "name": "type",
  3880. "type": 20,
  3881. "optional": false
  3882. }
  3883. ],
  3884. "indices": []
  3885. },
  3886. {
  3887. "kind": "array",
  3888. "element": 6
  3889. },
  3890. {
  3891. "kind": "primitive",
  3892. "type": "boolean"
  3893. },
  3894. {
  3895. "kind": "literal",
  3896. "value": "tool-result"
  3897. },
  3898. {
  3899. "kind": "object",
  3900. "properties": [
  3901. {
  3902. "name": "text",
  3903. "type": 2,
  3904. "optional": false
  3905. },
  3906. {
  3907. "name": "type",
  3908. "type": 22,
  3909. "optional": false
  3910. }
  3911. ],
  3912. "indices": []
  3913. },
  3914. {
  3915. "kind": "literal",
  3916. "value": "reasoning"
  3917. },
  3918. {
  3919. "kind": "object",
  3920. "properties": [
  3921. {
  3922. "name": "text",
  3923. "type": 2,
  3924. "optional": false
  3925. },
  3926. {
  3927. "name": "type",
  3928. "type": 24,
  3929. "optional": false
  3930. }
  3931. ],
  3932. "indices": []
  3933. },
  3934. {
  3935. "kind": "literal",
  3936. "value": "text"
  3937. },
  3938. {
  3939. "kind": "literal",
  3940. "value": "block-end"
  3941. },
  3942. {
  3943. "kind": "object",
  3944. "properties": [
  3945. {
  3946. "name": "blockType",
  3947. "type": 27,
  3948. "optional": false
  3949. },
  3950. {
  3951. "name": "index",
  3952. "type": 3,
  3953. "optional": false
  3954. },
  3955. {
  3956. "name": "type",
  3957. "type": 28,
  3958. "optional": false
  3959. }
  3960. ],
  3961. "indices": []
  3962. },
  3963. {
  3964. "kind": "union",
  3965. "types": [
  3966. 8,
  3967. 16,
  3968. 20,
  3969. 22,
  3970. 24
  3971. ]
  3972. },
  3973. {
  3974. "kind": "literal",
  3975. "value": "block-start"
  3976. },
  3977. {
  3978. "kind": "object",
  3979. "properties": [
  3980. {
  3981. "name": "index",
  3982. "type": 3,
  3983. "optional": false
  3984. },
  3985. {
  3986. "name": "text",
  3987. "type": 2,
  3988. "optional": false
  3989. },
  3990. {
  3991. "name": "type",
  3992. "type": 30,
  3993. "optional": false
  3994. }
  3995. ],
  3996. "indices": []
  3997. },
  3998. {
  3999. "kind": "literal",
  4000. "value": "reasoning-delta"
  4001. },
  4002. {
  4003. "kind": "object",
  4004. "properties": [
  4005. {
  4006. "name": "index",
  4007. "type": 3,
  4008. "optional": false
  4009. },
  4010. {
  4011. "name": "text",
  4012. "type": 2,
  4013. "optional": false
  4014. },
  4015. {
  4016. "name": "type",
  4017. "type": 32,
  4018. "optional": false
  4019. }
  4020. ],
  4021. "indices": []
  4022. },
  4023. {
  4024. "kind": "literal",
  4025. "value": "text-delta"
  4026. },
  4027. {
  4028. "kind": "object",
  4029. "properties": [
  4030. {
  4031. "name": "reason",
  4032. "type": 34,
  4033. "optional": false
  4034. },
  4035. {
  4036. "name": "replayState",
  4037. "type": 46,
  4038. "optional": true
  4039. },
  4040. {
  4041. "name": "type",
  4042. "type": 49,
  4043. "optional": false
  4044. }
  4045. ],
  4046. "indices": []
  4047. },
  4048. {
  4049. "kind": "union",
  4050. "types": [
  4051. 35,
  4052. 38,
  4053. 40,
  4054. 42,
  4055. 44
  4056. ]
  4057. },
  4058. {
  4059. "kind": "object",
  4060. "properties": [
  4061. {
  4062. "name": "failure",
  4063. "type": 36,
  4064. "optional": false
  4065. },
  4066. {
  4067. "name": "kind",
  4068. "type": 37,
  4069. "optional": false
  4070. }
  4071. ],
  4072. "indices": []
  4073. },
  4074. {
  4075. "kind": "object",
  4076. "properties": [
  4077. {
  4078. "name": "code",
  4079. "type": 2,
  4080. "optional": false
  4081. },
  4082. {
  4083. "name": "message",
  4084. "type": 2,
  4085. "optional": false
  4086. },
  4087. {
  4088. "name": "providerRetryAfterMs",
  4089. "type": 3,
  4090. "optional": true
  4091. },
  4092. {
  4093. "name": "requestId",
  4094. "type": 2,
  4095. "optional": true
  4096. },
  4097. {
  4098. "name": "status",
  4099. "type": 3,
  4100. "optional": true
  4101. }
  4102. ],
  4103. "indices": []
  4104. },
  4105. {
  4106. "kind": "literal",
  4107. "value": "aborted"
  4108. },
  4109. {
  4110. "kind": "object",
  4111. "properties": [
  4112. {
  4113. "name": "failure",
  4114. "type": 36,
  4115. "optional": false
  4116. },
  4117. {
  4118. "name": "kind",
  4119. "type": 39,
  4120. "optional": false
  4121. }
  4122. ],
  4123. "indices": []
  4124. },
  4125. {
  4126. "kind": "literal",
  4127. "value": "error"
  4128. },
  4129. {
  4130. "kind": "object",
  4131. "properties": [
  4132. {
  4133. "name": "kind",
  4134. "type": 41,
  4135. "optional": false
  4136. }
  4137. ],
  4138. "indices": []
  4139. },
  4140. {
  4141. "kind": "literal",
  4142. "value": "max-tokens"
  4143. },
  4144. {
  4145. "kind": "object",
  4146. "properties": [
  4147. {
  4148. "name": "kind",
  4149. "type": 43,
  4150. "optional": false
  4151. }
  4152. ],
  4153. "indices": []
  4154. },
  4155. {
  4156. "kind": "literal",
  4157. "value": "stop"
  4158. },
  4159. {
  4160. "kind": "object",
  4161. "properties": [
  4162. {
  4163. "name": "kind",
  4164. "type": 45,
  4165. "optional": false
  4166. }
  4167. ],
  4168. "indices": []
  4169. },
  4170. {
  4171. "kind": "literal",
  4172. "value": "tool-calls"
  4173. },
  4174. {
  4175. "kind": "object",
  4176. "properties": [
  4177. {
  4178. "name": "blocks",
  4179. "type": 47,
  4180. "optional": true
  4181. },
  4182. {
  4183. "name": "response",
  4184. "type": 48,
  4185. "optional": false
  4186. }
  4187. ],
  4188. "indices": []
  4189. },
  4190. {
  4191. "kind": "array",
  4192. "element": 48
  4193. },
  4194. {
  4195. "kind": "opaque",
  4196. "reason": "unknown"
  4197. },
  4198. {
  4199. "kind": "literal",
  4200. "value": "finish"
  4201. },
  4202. {
  4203. "kind": "object",
  4204. "properties": [
  4205. {
  4206. "name": "type",
  4207. "type": 51,
  4208. "optional": false
  4209. },
  4210. {
  4211. "name": "usage",
  4212. "type": 52,
  4213. "optional": false
  4214. }
  4215. ],
  4216. "indices": []
  4217. },
  4218. {
  4219. "kind": "literal",
  4220. "value": "usage"
  4221. },
  4222. {
  4223. "kind": "object",
  4224. "properties": [
  4225. {
  4226. "name": "cacheReadTokens",
  4227. "type": 3,
  4228. "optional": true
  4229. },
  4230. {
  4231. "name": "cacheWriteTokens",
  4232. "type": 3,
  4233. "optional": true
  4234. },
  4235. {
  4236. "name": "inputTokens",
  4237. "type": 3,
  4238. "optional": false
  4239. },
  4240. {
  4241. "name": "outputTokens",
  4242. "type": 3,
  4243. "optional": false
  4244. },
  4245. {
  4246. "name": "reasoningTokens",
  4247. "type": 3,
  4248. "optional": true
  4249. }
  4250. ],
  4251. "indices": []
  4252. }
  4253. ]
  4254. },
  4255. "names": [
  4256. "packages/llm/llm/src/types.ts#StreamChunk"
  4257. ],
  4258. "sources": [
  4259. "packages/llm/llm/src/types.ts"
  4260. ]
  4261. },
  4262. {
  4263. "digest": "ca13866102dfc53a503fccddeebc9caf667b8a06ef27217dd65de29f0495e65d",
  4264. "schema": {
  4265. "root": 0,
  4266. "nodes": [
  4267. {
  4268. "kind": "object",
  4269. "properties": [
  4270. {
  4271. "name": "failure",
  4272. "type": 1,
  4273. "optional": false
  4274. },
  4275. {
  4276. "name": "kind",
  4277. "type": 4,
  4278. "optional": false
  4279. }
  4280. ],
  4281. "indices": []
  4282. },
  4283. {
  4284. "kind": "object",
  4285. "properties": [
  4286. {
  4287. "name": "code",
  4288. "type": 2,
  4289. "optional": false
  4290. },
  4291. {
  4292. "name": "message",
  4293. "type": 2,
  4294. "optional": false
  4295. },
  4296. {
  4297. "name": "providerRetryAfterMs",
  4298. "type": 3,
  4299. "optional": true
  4300. },
  4301. {
  4302. "name": "requestId",
  4303. "type": 2,
  4304. "optional": true
  4305. },
  4306. {
  4307. "name": "status",
  4308. "type": 3,
  4309. "optional": true
  4310. }
  4311. ],
  4312. "indices": []
  4313. },
  4314. {
  4315. "kind": "primitive",
  4316. "type": "string"
  4317. },
  4318. {
  4319. "kind": "primitive",
  4320. "type": "number"
  4321. },
  4322. {
  4323. "kind": "literal",
  4324. "value": "error"
  4325. }
  4326. ]
  4327. },
  4328. "names": [
  4329. "event:assistant/chunk[0].data.chunk[6].reason[1]"
  4330. ],
  4331. "sources": [
  4332. "packages/llm/llm/src/types.ts"
  4333. ]
  4334. },
  4335. {
  4336. "digest": "cbca49bde16b656d5b8fbe4a8a507769f7b594c6287782b809c03814941bc5e3",
  4337. "schema": {
  4338. "root": 0,
  4339. "nodes": [
  4340. {
  4341. "kind": "literal",
  4342. "value": "block-start"
  4343. }
  4344. ]
  4345. },
  4346. "names": [],
  4347. "sources": []
  4348. },
  4349. {
  4350. "digest": "dacf3d5f3e4ff619c1320e64a48dec5e7ecd7870bece65fbd449a0e63adfa521",
  4351. "schema": {
  4352. "root": 0,
  4353. "nodes": [
  4354. {
  4355. "kind": "literal",
  4356. "value": true
  4357. }
  4358. ]
  4359. },
  4360. "names": [],
  4361. "sources": []
  4362. },
  4363. {
  4364. "digest": "de04e4ae000cc4422a15fb86dce7c398c8a9970ac963b6f7f785e2276a939e62",
  4365. "schema": {
  4366. "root": 0,
  4367. "nodes": [
  4368. {
  4369. "kind": "object",
  4370. "properties": [
  4371. {
  4372. "name": "data",
  4373. "type": 1,
  4374. "optional": false
  4375. },
  4376. {
  4377. "name": "ignorable",
  4378. "type": 55,
  4379. "optional": true
  4380. },
  4381. {
  4382. "name": "seq",
  4383. "type": 5,
  4384. "optional": false
  4385. },
  4386. {
  4387. "name": "time",
  4388. "type": 5,
  4389. "optional": false
  4390. },
  4391. {
  4392. "name": "type",
  4393. "type": 56,
  4394. "optional": false
  4395. }
  4396. ],
  4397. "indices": []
  4398. },
  4399. {
  4400. "kind": "object",
  4401. "properties": [
  4402. {
  4403. "name": "chunk",
  4404. "type": 2,
  4405. "optional": false
  4406. },
  4407. {
  4408. "name": "step",
  4409. "type": 5,
  4410. "optional": false
  4411. },
  4412. {
  4413. "name": "turn",
  4414. "type": 5,
  4415. "optional": false
  4416. }
  4417. ],
  4418. "indices": []
  4419. },
  4420. {
  4421. "kind": "union",
  4422. "types": [
  4423. 3,
  4424. 7,
  4425. 28,
  4426. 31,
  4427. 33,
  4428. 35,
  4429. 52
  4430. ]
  4431. },
  4432. {
  4433. "kind": "object",
  4434. "properties": [
  4435. {
  4436. "name": "argumentsDelta",
  4437. "type": 4,
  4438. "optional": false
  4439. },
  4440. {
  4441. "name": "id",
  4442. "type": 4,
  4443. "optional": false
  4444. },
  4445. {
  4446. "name": "index",
  4447. "type": 5,
  4448. "optional": false
  4449. },
  4450. {
  4451. "name": "name",
  4452. "type": 4,
  4453. "optional": true
  4454. },
  4455. {
  4456. "name": "type",
  4457. "type": 6,
  4458. "optional": false
  4459. }
  4460. ],
  4461. "indices": []
  4462. },
  4463. {
  4464. "kind": "primitive",
  4465. "type": "string"
  4466. },
  4467. {
  4468. "kind": "primitive",
  4469. "type": "number"
  4470. },
  4471. {
  4472. "kind": "literal",
  4473. "value": "tool-call-delta"
  4474. },
  4475. {
  4476. "kind": "object",
  4477. "properties": [
  4478. {
  4479. "name": "block",
  4480. "type": 8,
  4481. "optional": false
  4482. },
  4483. {
  4484. "name": "index",
  4485. "type": 5,
  4486. "optional": false
  4487. },
  4488. {
  4489. "name": "type",
  4490. "type": 27,
  4491. "optional": false
  4492. }
  4493. ],
  4494. "indices": []
  4495. },
  4496. {
  4497. "kind": "union",
  4498. "types": [
  4499. 9,
  4500. 11,
  4501. 19,
  4502. 23,
  4503. 25
  4504. ]
  4505. },
  4506. {
  4507. "kind": "object",
  4508. "properties": [
  4509. {
  4510. "name": "arguments",
  4511. "type": 4,
  4512. "optional": false
  4513. },
  4514. {
  4515. "name": "id",
  4516. "type": 4,
  4517. "optional": false
  4518. },
  4519. {
  4520. "name": "name",
  4521. "type": 4,
  4522. "optional": false
  4523. },
  4524. {
  4525. "name": "type",
  4526. "type": 10,
  4527. "optional": false
  4528. }
  4529. ],
  4530. "indices": []
  4531. },
  4532. {
  4533. "kind": "literal",
  4534. "value": "tool-call"
  4535. },
  4536. {
  4537. "kind": "object",
  4538. "properties": [
  4539. {
  4540. "name": "attachment",
  4541. "type": 12,
  4542. "optional": false
  4543. },
  4544. {
  4545. "name": "type",
  4546. "type": 18,
  4547. "optional": false
  4548. }
  4549. ],
  4550. "indices": []
  4551. },
  4552. {
  4553. "kind": "object",
  4554. "properties": [
  4555. {
  4556. "name": "attachmentId",
  4557. "type": 4,
  4558. "optional": false
  4559. },
  4560. {
  4561. "name": "bytes",
  4562. "type": 5,
  4563. "optional": false
  4564. },
  4565. {
  4566. "name": "height",
  4567. "type": 5,
  4568. "optional": false
  4569. },
  4570. {
  4571. "name": "mediaType",
  4572. "type": 13,
  4573. "optional": false
  4574. },
  4575. {
  4576. "name": "name",
  4577. "type": 4,
  4578. "optional": true
  4579. },
  4580. {
  4581. "name": "width",
  4582. "type": 5,
  4583. "optional": false
  4584. }
  4585. ],
  4586. "indices": []
  4587. },
  4588. {
  4589. "kind": "union",
  4590. "types": [
  4591. 14,
  4592. 15,
  4593. 16,
  4594. 17
  4595. ]
  4596. },
  4597. {
  4598. "kind": "literal",
  4599. "value": "image/png"
  4600. },
  4601. {
  4602. "kind": "literal",
  4603. "value": "image/webp"
  4604. },
  4605. {
  4606. "kind": "literal",
  4607. "value": "image/gif"
  4608. },
  4609. {
  4610. "kind": "literal",
  4611. "value": "image/jpeg"
  4612. },
  4613. {
  4614. "kind": "literal",
  4615. "value": "image"
  4616. },
  4617. {
  4618. "kind": "object",
  4619. "properties": [
  4620. {
  4621. "name": "content",
  4622. "type": 20,
  4623. "optional": false
  4624. },
  4625. {
  4626. "name": "isError",
  4627. "type": 21,
  4628. "optional": true
  4629. },
  4630. {
  4631. "name": "toolCallId",
  4632. "type": 4,
  4633. "optional": false
  4634. },
  4635. {
  4636. "name": "type",
  4637. "type": 22,
  4638. "optional": false
  4639. }
  4640. ],
  4641. "indices": []
  4642. },
  4643. {
  4644. "kind": "array",
  4645. "element": 8
  4646. },
  4647. {
  4648. "kind": "primitive",
  4649. "type": "boolean"
  4650. },
  4651. {
  4652. "kind": "literal",
  4653. "value": "tool-result"
  4654. },
  4655. {
  4656. "kind": "object",
  4657. "properties": [
  4658. {
  4659. "name": "text",
  4660. "type": 4,
  4661. "optional": false
  4662. },
  4663. {
  4664. "name": "type",
  4665. "type": 24,
  4666. "optional": false
  4667. }
  4668. ],
  4669. "indices": []
  4670. },
  4671. {
  4672. "kind": "literal",
  4673. "value": "reasoning"
  4674. },
  4675. {
  4676. "kind": "object",
  4677. "properties": [
  4678. {
  4679. "name": "text",
  4680. "type": 4,
  4681. "optional": false
  4682. },
  4683. {
  4684. "name": "type",
  4685. "type": 26,
  4686. "optional": false
  4687. }
  4688. ],
  4689. "indices": []
  4690. },
  4691. {
  4692. "kind": "literal",
  4693. "value": "text"
  4694. },
  4695. {
  4696. "kind": "literal",
  4697. "value": "block-end"
  4698. },
  4699. {
  4700. "kind": "object",
  4701. "properties": [
  4702. {
  4703. "name": "blockType",
  4704. "type": 29,
  4705. "optional": false
  4706. },
  4707. {
  4708. "name": "index",
  4709. "type": 5,
  4710. "optional": false
  4711. },
  4712. {
  4713. "name": "type",
  4714. "type": 30,
  4715. "optional": false
  4716. }
  4717. ],
  4718. "indices": []
  4719. },
  4720. {
  4721. "kind": "union",
  4722. "types": [
  4723. 10,
  4724. 18,
  4725. 22,
  4726. 24,
  4727. 26
  4728. ]
  4729. },
  4730. {
  4731. "kind": "literal",
  4732. "value": "block-start"
  4733. },
  4734. {
  4735. "kind": "object",
  4736. "properties": [
  4737. {
  4738. "name": "index",
  4739. "type": 5,
  4740. "optional": false
  4741. },
  4742. {
  4743. "name": "text",
  4744. "type": 4,
  4745. "optional": false
  4746. },
  4747. {
  4748. "name": "type",
  4749. "type": 32,
  4750. "optional": false
  4751. }
  4752. ],
  4753. "indices": []
  4754. },
  4755. {
  4756. "kind": "literal",
  4757. "value": "reasoning-delta"
  4758. },
  4759. {
  4760. "kind": "object",
  4761. "properties": [
  4762. {
  4763. "name": "index",
  4764. "type": 5,
  4765. "optional": false
  4766. },
  4767. {
  4768. "name": "text",
  4769. "type": 4,
  4770. "optional": false
  4771. },
  4772. {
  4773. "name": "type",
  4774. "type": 34,
  4775. "optional": false
  4776. }
  4777. ],
  4778. "indices": []
  4779. },
  4780. {
  4781. "kind": "literal",
  4782. "value": "text-delta"
  4783. },
  4784. {
  4785. "kind": "object",
  4786. "properties": [
  4787. {
  4788. "name": "reason",
  4789. "type": 36,
  4790. "optional": false
  4791. },
  4792. {
  4793. "name": "replayState",
  4794. "type": 48,
  4795. "optional": true
  4796. },
  4797. {
  4798. "name": "type",
  4799. "type": 51,
  4800. "optional": false
  4801. }
  4802. ],
  4803. "indices": []
  4804. },
  4805. {
  4806. "kind": "union",
  4807. "types": [
  4808. 37,
  4809. 40,
  4810. 42,
  4811. 44,
  4812. 46
  4813. ]
  4814. },
  4815. {
  4816. "kind": "object",
  4817. "properties": [
  4818. {
  4819. "name": "failure",
  4820. "type": 38,
  4821. "optional": false
  4822. },
  4823. {
  4824. "name": "kind",
  4825. "type": 39,
  4826. "optional": false
  4827. }
  4828. ],
  4829. "indices": []
  4830. },
  4831. {
  4832. "kind": "object",
  4833. "properties": [
  4834. {
  4835. "name": "code",
  4836. "type": 4,
  4837. "optional": false
  4838. },
  4839. {
  4840. "name": "message",
  4841. "type": 4,
  4842. "optional": false
  4843. },
  4844. {
  4845. "name": "providerRetryAfterMs",
  4846. "type": 5,
  4847. "optional": true
  4848. },
  4849. {
  4850. "name": "requestId",
  4851. "type": 4,
  4852. "optional": true
  4853. },
  4854. {
  4855. "name": "status",
  4856. "type": 5,
  4857. "optional": true
  4858. }
  4859. ],
  4860. "indices": []
  4861. },
  4862. {
  4863. "kind": "literal",
  4864. "value": "aborted"
  4865. },
  4866. {
  4867. "kind": "object",
  4868. "properties": [
  4869. {
  4870. "name": "failure",
  4871. "type": 38,
  4872. "optional": false
  4873. },
  4874. {
  4875. "name": "kind",
  4876. "type": 41,
  4877. "optional": false
  4878. }
  4879. ],
  4880. "indices": []
  4881. },
  4882. {
  4883. "kind": "literal",
  4884. "value": "error"
  4885. },
  4886. {
  4887. "kind": "object",
  4888. "properties": [
  4889. {
  4890. "name": "kind",
  4891. "type": 43,
  4892. "optional": false
  4893. }
  4894. ],
  4895. "indices": []
  4896. },
  4897. {
  4898. "kind": "literal",
  4899. "value": "max-tokens"
  4900. },
  4901. {
  4902. "kind": "object",
  4903. "properties": [
  4904. {
  4905. "name": "kind",
  4906. "type": 45,
  4907. "optional": false
  4908. }
  4909. ],
  4910. "indices": []
  4911. },
  4912. {
  4913. "kind": "literal",
  4914. "value": "stop"
  4915. },
  4916. {
  4917. "kind": "object",
  4918. "properties": [
  4919. {
  4920. "name": "kind",
  4921. "type": 47,
  4922. "optional": false
  4923. }
  4924. ],
  4925. "indices": []
  4926. },
  4927. {
  4928. "kind": "literal",
  4929. "value": "tool-calls"
  4930. },
  4931. {
  4932. "kind": "object",
  4933. "properties": [
  4934. {
  4935. "name": "blocks",
  4936. "type": 49,
  4937. "optional": true
  4938. },
  4939. {
  4940. "name": "response",
  4941. "type": 50,
  4942. "optional": false
  4943. }
  4944. ],
  4945. "indices": []
  4946. },
  4947. {
  4948. "kind": "array",
  4949. "element": 50
  4950. },
  4951. {
  4952. "kind": "opaque",
  4953. "reason": "unknown"
  4954. },
  4955. {
  4956. "kind": "literal",
  4957. "value": "finish"
  4958. },
  4959. {
  4960. "kind": "object",
  4961. "properties": [
  4962. {
  4963. "name": "type",
  4964. "type": 53,
  4965. "optional": false
  4966. },
  4967. {
  4968. "name": "usage",
  4969. "type": 54,
  4970. "optional": false
  4971. }
  4972. ],
  4973. "indices": []
  4974. },
  4975. {
  4976. "kind": "literal",
  4977. "value": "usage"
  4978. },
  4979. {
  4980. "kind": "object",
  4981. "properties": [
  4982. {
  4983. "name": "cacheReadTokens",
  4984. "type": 5,
  4985. "optional": true
  4986. },
  4987. {
  4988. "name": "cacheWriteTokens",
  4989. "type": 5,
  4990. "optional": true
  4991. },
  4992. {
  4993. "name": "inputTokens",
  4994. "type": 5,
  4995. "optional": false
  4996. },
  4997. {
  4998. "name": "outputTokens",
  4999. "type": 5,
  5000. "optional": false
  5001. },
  5002. {
  5003. "name": "reasoningTokens",
  5004. "type": 5,
  5005. "optional": true
  5006. }
  5007. ],
  5008. "indices": []
  5009. },
  5010. {
  5011. "kind": "literal",
  5012. "value": true
  5013. },
  5014. {
  5015. "kind": "literal",
  5016. "value": "assistant/chunk"
  5017. }
  5018. ]
  5019. },
  5020. "names": [
  5021. "event:assistant/chunk",
  5022. "event:assistant/chunk[0]"
  5023. ],
  5024. "sources": [
  5025. "packages/core/session/src/types.ts"
  5026. ]
  5027. },
  5028. {
  5029. "digest": "de30b1fa12c75f81df6aa4096e1595296d2d04e2be14a7c29849cf8028b79048",
  5030. "schema": {
  5031. "root": 0,
  5032. "nodes": [
  5033. {
  5034. "kind": "literal",
  5035. "value": "image/gif"
  5036. }
  5037. ]
  5038. },
  5039. "names": [],
  5040. "sources": []
  5041. },
  5042. {
  5043. "digest": "e5244812c495a80c2e78ba2c2690dca5f6b58ea8d3fe5531ff94a6f9ac5e5d66",
  5044. "schema": {
  5045. "root": 0,
  5046. "nodes": [
  5047. {
  5048. "kind": "literal",
  5049. "value": "tool-result"
  5050. }
  5051. ]
  5052. },
  5053. "names": [],
  5054. "sources": []
  5055. },
  5056. {
  5057. "digest": "ebb768d85ec87fb68e42fc14fd7d8535b5ac11791b14d04c6770180f0a719bf8",
  5058. "schema": {
  5059. "root": 0,
  5060. "nodes": [
  5061. {
  5062. "kind": "literal",
  5063. "value": "image/webp"
  5064. }
  5065. ]
  5066. },
  5067. "names": [],
  5068. "sources": []
  5069. },
  5070. {
  5071. "digest": "eefbea819caeeea91ccb02dfafc16c68dd7f961cf9c1b2be25a2084509cf5c5a",
  5072. "schema": {
  5073. "root": 0,
  5074. "nodes": [
  5075. {
  5076. "kind": "literal",
  5077. "value": "block-end"
  5078. }
  5079. ]
  5080. },
  5081. "names": [],
  5082. "sources": []
  5083. },
  5084. {
  5085. "digest": "f775d23a0394f62d86df1e78fae43af4cfaee02926c3cae4fdd0c648036755f3",
  5086. "schema": {
  5087. "root": 0,
  5088. "nodes": [
  5089. {
  5090. "kind": "object",
  5091. "properties": [
  5092. {
  5093. "name": "content",
  5094. "type": 1,
  5095. "optional": false
  5096. },
  5097. {
  5098. "name": "isError",
  5099. "type": 19,
  5100. "optional": true
  5101. },
  5102. {
  5103. "name": "toolCallId",
  5104. "type": 4,
  5105. "optional": false
  5106. },
  5107. {
  5108. "name": "type",
  5109. "type": 20,
  5110. "optional": false
  5111. }
  5112. ],
  5113. "indices": []
  5114. },
  5115. {
  5116. "kind": "array",
  5117. "element": 2
  5118. },
  5119. {
  5120. "kind": "union",
  5121. "types": [
  5122. 0,
  5123. 3,
  5124. 6,
  5125. 15,
  5126. 17
  5127. ]
  5128. },
  5129. {
  5130. "kind": "object",
  5131. "properties": [
  5132. {
  5133. "name": "arguments",
  5134. "type": 4,
  5135. "optional": false
  5136. },
  5137. {
  5138. "name": "id",
  5139. "type": 4,
  5140. "optional": false
  5141. },
  5142. {
  5143. "name": "name",
  5144. "type": 4,
  5145. "optional": false
  5146. },
  5147. {
  5148. "name": "type",
  5149. "type": 5,
  5150. "optional": false
  5151. }
  5152. ],
  5153. "indices": []
  5154. },
  5155. {
  5156. "kind": "primitive",
  5157. "type": "string"
  5158. },
  5159. {
  5160. "kind": "literal",
  5161. "value": "tool-call"
  5162. },
  5163. {
  5164. "kind": "object",
  5165. "properties": [
  5166. {
  5167. "name": "attachment",
  5168. "type": 7,
  5169. "optional": false
  5170. },
  5171. {
  5172. "name": "type",
  5173. "type": 14,
  5174. "optional": false
  5175. }
  5176. ],
  5177. "indices": []
  5178. },
  5179. {
  5180. "kind": "object",
  5181. "properties": [
  5182. {
  5183. "name": "attachmentId",
  5184. "type": 4,
  5185. "optional": false
  5186. },
  5187. {
  5188. "name": "bytes",
  5189. "type": 8,
  5190. "optional": false
  5191. },
  5192. {
  5193. "name": "height",
  5194. "type": 8,
  5195. "optional": false
  5196. },
  5197. {
  5198. "name": "mediaType",
  5199. "type": 9,
  5200. "optional": false
  5201. },
  5202. {
  5203. "name": "name",
  5204. "type": 4,
  5205. "optional": true
  5206. },
  5207. {
  5208. "name": "width",
  5209. "type": 8,
  5210. "optional": false
  5211. }
  5212. ],
  5213. "indices": []
  5214. },
  5215. {
  5216. "kind": "primitive",
  5217. "type": "number"
  5218. },
  5219. {
  5220. "kind": "union",
  5221. "types": [
  5222. 10,
  5223. 11,
  5224. 12,
  5225. 13
  5226. ]
  5227. },
  5228. {
  5229. "kind": "literal",
  5230. "value": "image/gif"
  5231. },
  5232. {
  5233. "kind": "literal",
  5234. "value": "image/jpeg"
  5235. },
  5236. {
  5237. "kind": "literal",
  5238. "value": "image/png"
  5239. },
  5240. {
  5241. "kind": "literal",
  5242. "value": "image/webp"
  5243. },
  5244. {
  5245. "kind": "literal",
  5246. "value": "image"
  5247. },
  5248. {
  5249. "kind": "object",
  5250. "properties": [
  5251. {
  5252. "name": "text",
  5253. "type": 4,
  5254. "optional": false
  5255. },
  5256. {
  5257. "name": "type",
  5258. "type": 16,
  5259. "optional": false
  5260. }
  5261. ],
  5262. "indices": []
  5263. },
  5264. {
  5265. "kind": "literal",
  5266. "value": "reasoning"
  5267. },
  5268. {
  5269. "kind": "object",
  5270. "properties": [
  5271. {
  5272. "name": "text",
  5273. "type": 4,
  5274. "optional": false
  5275. },
  5276. {
  5277. "name": "type",
  5278. "type": 18,
  5279. "optional": false
  5280. }
  5281. ],
  5282. "indices": []
  5283. },
  5284. {
  5285. "kind": "literal",
  5286. "value": "text"
  5287. },
  5288. {
  5289. "kind": "primitive",
  5290. "type": "boolean"
  5291. },
  5292. {
  5293. "kind": "literal",
  5294. "value": "tool-result"
  5295. }
  5296. ]
  5297. },
  5298. "names": [
  5299. "packages/llm/llm/src/types.ts#ToolResultBlock"
  5300. ],
  5301. "sources": [
  5302. "packages/llm/llm/src/types.ts"
  5303. ]
  5304. },
  5305. {
  5306. "digest": "fb8b6a2e53cb9cf44c551176de0fb77d1ddc60037b99a891ff8a860b6d5c29a0",
  5307. "schema": {
  5308. "root": 0,
  5309. "nodes": [
  5310. {
  5311. "kind": "literal",
  5312. "value": "image"
  5313. }
  5314. ]
  5315. },
  5316. "names": [],
  5317. "sources": []
  5318. }
  5319. ]
  5320. }