@crewlethq/ui 0.152.0 → 0.154.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/README.md +9 -1
  2. package/dist/AgentHandoffPanel/index.js +9 -9
  3. package/dist/AppShell/index.js +3 -3
  4. package/dist/ArrangeList/index.js +2 -2
  5. package/dist/ArtifactBar/index.js +1 -1
  6. package/dist/ArtifactCard/index.js +2 -2
  7. package/dist/AuthLayout/index.js +1 -1
  8. package/dist/BriefCard/index.js +1 -1
  9. package/dist/ChangeList/index.js +2 -2
  10. package/dist/ChatThread/index.js +3 -3
  11. package/dist/Combobox/index.js +2 -2
  12. package/dist/CommandPalette/index.js +5 -5
  13. package/dist/CommentThread/index.js +9 -9
  14. package/dist/Composer/index.js +5 -5
  15. package/dist/DataGrid/index.js +6 -6
  16. package/dist/DataTable/index.js +4 -4
  17. package/dist/DataView/index.js +6 -6
  18. package/dist/DatasetSource/index.js +1 -1
  19. package/dist/DeepWorkCard/index.js +1 -1
  20. package/dist/DiffList/index.js +1 -1
  21. package/dist/{DiffList-3JNPLQ2E.css → DiffList-57M6YCNS.css} +6 -7
  22. package/dist/DiffView/DiffView.d.ts +60 -35
  23. package/dist/DiffView/diff.d.ts +9 -41
  24. package/dist/DiffView/index.d.ts +7 -3
  25. package/dist/DiffView/index.js +1 -1
  26. package/dist/DiffView/lineDiff.d.ts +58 -0
  27. package/dist/DiffView/wordDiff.d.ts +47 -0
  28. package/dist/DiffView-J55CPJDX.css +224 -0
  29. package/dist/DocTabsEditor/index.js +6 -6
  30. package/dist/DockColumn/index.js +1 -1
  31. package/dist/DurationField/index.js +5 -5
  32. package/dist/EditingStatus/index.js +2 -2
  33. package/dist/EntityList/index.js +1 -1
  34. package/dist/InlineEditor/index.js +3 -3
  35. package/dist/KeyValueRows/index.js +3 -3
  36. package/dist/ListInput/index.js +6 -6
  37. package/dist/NumberField/index.js +3 -3
  38. package/dist/OpenInAppCard/index.js +2 -2
  39. package/dist/OrgTable/index.js +8 -8
  40. package/dist/PrincipalPicker/index.js +3 -3
  41. package/dist/ProposalCard/index.js +6 -6
  42. package/dist/RailList/index.js +5 -5
  43. package/dist/RefusalCard/index.js +1 -1
  44. package/dist/ResultTableCard/index.js +1 -1
  45. package/dist/RichEditor/index.js +1 -1
  46. package/dist/SectionFrame/index.js +3 -3
  47. package/dist/Select/index.js +2 -2
  48. package/dist/SendKeys/index.js +2 -2
  49. package/dist/SettingForm/index.js +3 -3
  50. package/dist/SettingsTable/index.js +1 -1
  51. package/dist/SetupWizard/index.js +1 -1
  52. package/dist/ShareDialog/index.js +5 -5
  53. package/dist/SheetColumnEditor/index.js +7 -7
  54. package/dist/SidebarNav/index.js +2 -2
  55. package/dist/SlideFilmstrip/index.js +4 -4
  56. package/dist/StatusCard/index.js +1 -1
  57. package/dist/Switcher/index.js +5 -5
  58. package/dist/TableCells/index.js +1 -1
  59. package/dist/TimeRangePicker/index.js +4 -4
  60. package/dist/TimeWindowPicker/index.js +5 -5
  61. package/dist/ToolCallLog/ToolCallLog.d.ts +97 -0
  62. package/dist/ToolCallLog/index.d.ts +3 -0
  63. package/dist/ToolCallLog/index.js +22 -0
  64. package/dist/ToolCallLog-WSK6TEGH.css +288 -0
  65. package/dist/TreeCanvas/index.js +2 -2
  66. package/dist/TreeGrid/index.js +7 -7
  67. package/dist/ValueField/index.js +4 -4
  68. package/dist/VersionCompare/VersionCompare.d.ts +3 -4
  69. package/dist/VersionCompare/index.js +2 -2
  70. package/dist/{chunk-5DLBGF6I.js → chunk-2YAK37D6.js} +1 -1
  71. package/dist/chunk-4U5ATJPP.js +194 -0
  72. package/dist/chunk-4YLN5QVL.js +803 -0
  73. package/dist/{chunk-DWXTJWCJ.js → chunk-5V2DNF3F.js} +3 -3
  74. package/dist/{chunk-6BGD32C5.js → chunk-7DLIVPK4.js} +2 -2
  75. package/dist/{chunk-RGJB34YN.js → chunk-7XUP32RY.js} +1 -1
  76. package/dist/{chunk-D33K2BCZ.js → chunk-C6F5HISC.js} +1 -1
  77. package/dist/{chunk-CJAPAIJG.js → chunk-CFVKNEGM.js} +2 -2
  78. package/dist/{chunk-3Q5USPLM.js → chunk-CSLONHHB.js} +1 -1
  79. package/dist/{chunk-ITZAWYRG.js → chunk-DBXXJOGQ.js} +1 -1
  80. package/dist/{chunk-F6OYNO7O.js → chunk-E6STS4FD.js} +2 -2
  81. package/dist/{chunk-QRUQOITJ.js → chunk-GMHP5KXF.js} +1 -1
  82. package/dist/{chunk-M4VA76JF.js → chunk-MTJ7KNHZ.js} +3 -3
  83. package/dist/{chunk-NB53SAL4.js → chunk-NOZD547E.js} +1 -1
  84. package/dist/{chunk-GFNCMSYS.js → chunk-PPQ3VJUE.js} +1 -1
  85. package/dist/{chunk-S4ADDFRT.js → chunk-S53XH4SS.js} +1 -1
  86. package/dist/{chunk-OX332RI7.js → chunk-SZU2JNJN.js} +1 -1
  87. package/dist/{chunk-OMVGWZ3V.js → chunk-V3HP2HOI.js} +24 -19
  88. package/dist/{chunk-RUKSDKG5.js → chunk-WA4BKMRI.js} +1 -1
  89. package/dist/{chunk-CA62YCFK.js → chunk-WTWYN7Z5.js} +1 -1
  90. package/dist/{chunk-U3ZUZ7VU.js → chunk-Z2YOBQHX.js} +2 -2
  91. package/dist/{chunk-ECYA6XZL.js → chunk-ZPD4XF4H.js} +2 -2
  92. package/dist/generated/index.d.ts +1 -0
  93. package/dist/generated/index.js +77 -76
  94. package/dist/index.js +77 -76
  95. package/dist/styles.css +466 -42
  96. package/package.json +3 -3
  97. package/dist/DiffView-ZI5C25Q3.css +0 -90
  98. package/dist/chunk-F4CM5KD3.js +0 -187
  99. package/dist/{Editor-FXREHINI.js → Editor-VMQ5DK6H.js} +2 -2
  100. package/dist/{chunk-N3R2POGO.js → chunk-2E4MAF6Z.js} +1 -1
  101. package/dist/{chunk-7FY7L6WD.js → chunk-46YFRLA2.js} +1 -1
  102. package/dist/{chunk-KRF3GQ63.js → chunk-6N53ZWRM.js} +1 -1
  103. package/dist/{chunk-Q3SHCEXN.js → chunk-77J2YS55.js} +1 -1
  104. package/dist/{chunk-VXTRPLNB.js → chunk-BFJE3C7Q.js} +1 -1
  105. package/dist/{chunk-657WR3MX.js → chunk-D5UVJL4I.js} +1 -1
  106. package/dist/{chunk-TTUFOH2Y.js → chunk-FNX3YS55.js} +1 -1
  107. package/dist/{chunk-O2J5PSWI.js → chunk-FYJAWS4E.js} +1 -1
  108. package/dist/{chunk-7CVV3DQC.js → chunk-GTJR4APZ.js} +1 -1
  109. package/dist/{chunk-RXHY5T2Z.js → chunk-KJBDOWG7.js} +1 -1
  110. package/dist/{chunk-EDQHZOU3.js → chunk-LPTQN7RS.js} +1 -1
  111. package/dist/{chunk-2DASEYUG.js → chunk-MC5JMA2T.js} +0 -0
  112. package/dist/{chunk-PW6QXVIX.js → chunk-STYJH473.js} +2 -2
  113. package/dist/{chunk-WAF36OFS.js → chunk-T3BIW52Y.js} +1 -1
  114. package/dist/{chunk-7FWYJCKT.js → chunk-WCV44AYD.js} +1 -1
  115. package/dist/{chunk-YWPUT6JQ.js → chunk-YBUUPA5R.js} +1 -1
  116. package/dist/{chunk-5ORAUELE.js → chunk-YGMCXWRA.js} +1 -1
  117. package/dist/{chunk-NG6GEBSJ.js → chunk-YRMDDNFY.js} +1 -1
  118. package/dist/{chunk-UZMXC5T6.js → chunk-YUVQUJND.js} +1 -1
@@ -1,7 +1,7 @@
1
- export { Select } from '../chunk-657WR3MX.js';
1
+ export { Select } from '../chunk-D5UVJL4I.js';
2
2
  import '../chunk-KW7T23RT.js';
3
- import '../chunk-JLKO7PSK.js';
4
3
  import '../chunk-2YTOOH3A.js';
4
+ import '../chunk-JLKO7PSK.js';
5
5
  import '../chunk-AVJKMQXK.js';
6
6
  import '../chunk-EDPMHSLZ.js';
7
7
  import '../chunk-4ITETIGZ.js';
@@ -1,7 +1,7 @@
1
- export { COARSE_POINTER_QUERY, FINE_POINTER_QUERY, SEND_KEYS_LABELS, SendKeysHint, isSendPress, sendKeysLabels, sendKeysWords, useSendOnEnter, useTouchKeyboard } from '../chunk-UZMXC5T6.js';
1
+ export { COARSE_POINTER_QUERY, FINE_POINTER_QUERY, SEND_KEYS_LABELS, SendKeysHint, isSendPress, sendKeysLabels, sendKeysWords, useSendOnEnter, useTouchKeyboard } from '../chunk-YUVQUJND.js';
2
+ import '../chunk-VBBLHS2Y.js';
2
3
  import '../chunk-SK4BIFTG.js';
3
4
  import '../chunk-COS6LJ4K.js';
4
- import '../chunk-VBBLHS2Y.js';
5
5
  import '../chunk-AVJKMQXK.js';
6
6
  import '../chunk-EDPMHSLZ.js';
7
7
  import '../chunk-4ITETIGZ.js';
@@ -1,11 +1,11 @@
1
- export { SETTING_FORM_LABELS, SettingForm } from '../chunk-NG6GEBSJ.js';
1
+ export { SETTING_FORM_LABELS, SettingForm } from '../chunk-YRMDDNFY.js';
2
+ import '../chunk-IMF3CPTY.js';
3
+ import '../chunk-XSPCITPN.js';
2
4
  import '../chunk-XQMRSL7Z.js';
3
5
  import '../chunk-NICEDVZM.js';
4
6
  import '../chunk-JLKO7PSK.js';
5
7
  import '../chunk-PJV5HVZY.js';
6
8
  import '../chunk-TEXK4RK6.js';
7
- import '../chunk-IMF3CPTY.js';
8
- import '../chunk-XSPCITPN.js';
9
9
  import '../chunk-KM5OKCW6.js';
10
10
  import '../chunk-TDFLCUBE.js';
11
11
  import '../chunk-BFZAGIXR.js';
@@ -3,8 +3,8 @@ import '../chunk-HU56GCZ7.js';
3
3
  import '../chunk-IRGS5FEC.js';
4
4
  import '../chunk-STJ7QBC3.js';
5
5
  import '../chunk-DTIW4CHZ.js';
6
- import '../chunk-WSIJDWUG.js';
7
6
  import '../chunk-QRE6JCHS.js';
7
+ import '../chunk-WSIJDWUG.js';
8
8
  import '../chunk-IMF3CPTY.js';
9
9
  import '../chunk-XSPCITPN.js';
10
10
  import '../chunk-KM5OKCW6.js';
@@ -3,9 +3,9 @@ import '../chunk-FPDIHEM4.js';
3
3
  import '../chunk-EHD4CEHK.js';
4
4
  import '../chunk-QRE6JCHS.js';
5
5
  import '../chunk-D5O64CVE.js';
6
+ import '../chunk-XSPCITPN.js';
6
7
  import '../chunk-SK4BIFTG.js';
7
8
  import '../chunk-COS6LJ4K.js';
8
- import '../chunk-XSPCITPN.js';
9
9
  import '../chunk-ODN2TPIG.js';
10
10
  import '../chunk-Y5CMDLQM.js';
11
11
  import '../chunk-PQADV6P6.js';
@@ -1,5 +1,5 @@
1
- export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-6BGD32C5.js';
2
- import '../chunk-657WR3MX.js';
1
+ export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-7DLIVPK4.js';
2
+ import '../chunk-D5UVJL4I.js';
3
3
  import '../chunk-7PK2Z5JY.js';
4
4
  import '../chunk-KW7T23RT.js';
5
5
  import '../chunk-GR6XGA5V.js';
@@ -11,12 +11,12 @@ import '../chunk-CWACQEPP.js';
11
11
  import '../chunk-265IX4YA.js';
12
12
  import '../chunk-2PSOUDCS.js';
13
13
  import '../chunk-YMFFGPFE.js';
14
- import '../chunk-JLKO7PSK.js';
15
- import '../chunk-SK4BIFTG.js';
16
- import '../chunk-COS6LJ4K.js';
17
14
  import '../chunk-IMF3CPTY.js';
18
15
  import '../chunk-XSPCITPN.js';
19
16
  import '../chunk-2YTOOH3A.js';
17
+ import '../chunk-SK4BIFTG.js';
18
+ import '../chunk-COS6LJ4K.js';
19
+ import '../chunk-JLKO7PSK.js';
20
20
  import '../chunk-KM5OKCW6.js';
21
21
  import '../chunk-TDFLCUBE.js';
22
22
  import '../chunk-BFZAGIXR.js';
@@ -1,26 +1,26 @@
1
- export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-M4VA76JF.js';
1
+ export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-MTJ7KNHZ.js';
2
2
  import '../chunk-FFMCMSJB.js';
3
- import '../chunk-657WR3MX.js';
3
+ import '../chunk-D5UVJL4I.js';
4
4
  import '../chunk-KW7T23RT.js';
5
5
  import '../chunk-LFSIKGRQ.js';
6
6
  import '../chunk-Z7JYG5TF.js';
7
7
  import '../chunk-E3JUS3CR.js';
8
8
  import '../chunk-AYKXMIOR.js';
9
- import '../chunk-BRMJPZC4.js';
10
9
  import '../chunk-GMXOZEF5.js';
11
10
  import '../chunk-XJU53WMW.js';
12
11
  import '../chunk-7F3OPUM5.js';
13
12
  import '../chunk-QRE6JCHS.js';
14
13
  import '../chunk-ZMZNKDPO.js';
14
+ import '../chunk-BRMJPZC4.js';
15
+ import '../chunk-VBBLHS2Y.js';
16
+ import '../chunk-IMF3CPTY.js';
17
+ import '../chunk-XSPCITPN.js';
18
+ import '../chunk-2YTOOH3A.js';
15
19
  import '../chunk-XQMRSL7Z.js';
16
20
  import '../chunk-NICEDVZM.js';
17
21
  import '../chunk-JLKO7PSK.js';
18
22
  import '../chunk-PJV5HVZY.js';
19
23
  import '../chunk-TEXK4RK6.js';
20
- import '../chunk-VBBLHS2Y.js';
21
- import '../chunk-IMF3CPTY.js';
22
- import '../chunk-XSPCITPN.js';
23
- import '../chunk-2YTOOH3A.js';
24
24
  import '../chunk-KM5OKCW6.js';
25
25
  import '../chunk-TDFLCUBE.js';
26
26
  import '../chunk-BFZAGIXR.js';
@@ -1,11 +1,11 @@
1
- export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-TTUFOH2Y.js';
1
+ export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-FNX3YS55.js';
2
2
  import '../chunk-6KWNXIDE.js';
3
3
  import '../chunk-TODOBUXO.js';
4
4
  import '../chunk-HBDA76EZ.js';
5
- import '../chunk-COS6LJ4K.js';
6
5
  import '../chunk-IMF3CPTY.js';
7
6
  import '../chunk-XSPCITPN.js';
8
7
  import '../chunk-2YTOOH3A.js';
8
+ import '../chunk-COS6LJ4K.js';
9
9
  import '../chunk-TDFLCUBE.js';
10
10
  import '../chunk-BFZAGIXR.js';
11
11
  import '../chunk-L72URIHR.js';
@@ -1,12 +1,12 @@
1
- export { SlideFilmstrip } from '../chunk-7CVV3DQC.js';
1
+ export { SlideFilmstrip } from '../chunk-GTJR4APZ.js';
2
2
  import '../chunk-7O53SWKI.js';
3
- import '../chunk-JMBPMSNI.js';
4
3
  import '../chunk-ZMZNKDPO.js';
5
- import '../chunk-SK4BIFTG.js';
6
- import '../chunk-COS6LJ4K.js';
4
+ import '../chunk-JMBPMSNI.js';
7
5
  import '../chunk-VBBLHS2Y.js';
8
6
  import '../chunk-IMF3CPTY.js';
9
7
  import '../chunk-XSPCITPN.js';
8
+ import '../chunk-SK4BIFTG.js';
9
+ import '../chunk-COS6LJ4K.js';
10
10
  import '../chunk-KM5OKCW6.js';
11
11
  import '../chunk-TDFLCUBE.js';
12
12
  import '../chunk-BFZAGIXR.js';
@@ -1,10 +1,10 @@
1
1
  export { StatusCard } from '../chunk-NWKH5FF7.js';
2
2
  import '../chunk-SJ3EUCFD.js';
3
+ import '../chunk-QRE6JCHS.js';
3
4
  import '../chunk-E7KRB77B.js';
4
5
  import '../chunk-AV2DXAEL.js';
5
6
  import '../chunk-475DOAWF.js';
6
7
  import '../chunk-WSIJDWUG.js';
7
- import '../chunk-QRE6JCHS.js';
8
8
  import '../chunk-Y5CMDLQM.js';
9
9
  import '../chunk-PQADV6P6.js';
10
10
  import '../chunk-RRRK2KB6.js';
@@ -1,4 +1,4 @@
1
- export { Switcher } from '../chunk-O2J5PSWI.js';
1
+ export { Switcher } from '../chunk-FYJAWS4E.js';
2
2
  import '../chunk-7PK2Z5JY.js';
3
3
  import '../chunk-KW7T23RT.js';
4
4
  import '../chunk-HBDA76EZ.js';
@@ -6,15 +6,15 @@ import '../chunk-AJFA2XDQ.js';
6
6
  import '../chunk-WFAJYBLX.js';
7
7
  import '../chunk-475DOAWF.js';
8
8
  import '../chunk-WSIJDWUG.js';
9
+ import '../chunk-IMF3CPTY.js';
10
+ import '../chunk-XSPCITPN.js';
11
+ import '../chunk-SK4BIFTG.js';
12
+ import '../chunk-COS6LJ4K.js';
9
13
  import '../chunk-XQMRSL7Z.js';
10
14
  import '../chunk-NICEDVZM.js';
11
15
  import '../chunk-JLKO7PSK.js';
12
16
  import '../chunk-PJV5HVZY.js';
13
17
  import '../chunk-TEXK4RK6.js';
14
- import '../chunk-SK4BIFTG.js';
15
- import '../chunk-COS6LJ4K.js';
16
- import '../chunk-IMF3CPTY.js';
17
- import '../chunk-XSPCITPN.js';
18
18
  import '../chunk-KM5OKCW6.js';
19
19
  import '../chunk-TDFLCUBE.js';
20
20
  import '../chunk-BFZAGIXR.js';
@@ -1,11 +1,11 @@
1
1
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-Q3J23Q6P.js';
2
2
  import '../chunk-UTKI2SAM.js';
3
3
  import '../chunk-SJ3EUCFD.js';
4
+ import '../chunk-QRE6JCHS.js';
4
5
  import '../chunk-GBKBME7Q.js';
5
6
  import '../chunk-WGLOH33S.js';
6
7
  import '../chunk-475DOAWF.js';
7
8
  import '../chunk-WSIJDWUG.js';
8
- import '../chunk-QRE6JCHS.js';
9
9
  import '../chunk-2PSOUDCS.js';
10
10
  import '../chunk-YMFFGPFE.js';
11
11
  import '../chunk-RRRK2KB6.js';
@@ -1,4 +1,4 @@
1
- export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-VXTRPLNB.js';
1
+ export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-BFJE3C7Q.js';
2
2
  import '../chunk-7PK2Z5JY.js';
3
3
  import '../chunk-CWACQEPP.js';
4
4
  import '../chunk-B3UJKLVI.js';
@@ -7,14 +7,14 @@ import '../chunk-XJU53WMW.js';
7
7
  import '../chunk-7F3OPUM5.js';
8
8
  import '../chunk-QRE6JCHS.js';
9
9
  import '../chunk-ZMZNKDPO.js';
10
+ import '../chunk-IMF3CPTY.js';
11
+ import '../chunk-XSPCITPN.js';
12
+ import '../chunk-2YTOOH3A.js';
10
13
  import '../chunk-XQMRSL7Z.js';
11
14
  import '../chunk-NICEDVZM.js';
12
15
  import '../chunk-JLKO7PSK.js';
13
16
  import '../chunk-PJV5HVZY.js';
14
17
  import '../chunk-TEXK4RK6.js';
15
- import '../chunk-IMF3CPTY.js';
16
- import '../chunk-XSPCITPN.js';
17
- import '../chunk-2YTOOH3A.js';
18
18
  import '../chunk-KM5OKCW6.js';
19
19
  import '../chunk-TDFLCUBE.js';
20
20
  import '../chunk-BFZAGIXR.js';
@@ -1,16 +1,16 @@
1
- export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-F6OYNO7O.js';
2
- import '../chunk-657WR3MX.js';
1
+ export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-E6STS4FD.js';
2
+ import '../chunk-D5UVJL4I.js';
3
3
  import '../chunk-KW7T23RT.js';
4
4
  import '../chunk-EE3DJMSQ.js';
5
5
  import '../chunk-AJFA2XDQ.js';
6
+ import '../chunk-IMF3CPTY.js';
7
+ import '../chunk-XSPCITPN.js';
8
+ import '../chunk-2YTOOH3A.js';
6
9
  import '../chunk-XQMRSL7Z.js';
7
10
  import '../chunk-NICEDVZM.js';
8
11
  import '../chunk-JLKO7PSK.js';
9
12
  import '../chunk-PJV5HVZY.js';
10
13
  import '../chunk-TEXK4RK6.js';
11
- import '../chunk-IMF3CPTY.js';
12
- import '../chunk-XSPCITPN.js';
13
- import '../chunk-2YTOOH3A.js';
14
14
  import '../chunk-KM5OKCW6.js';
15
15
  import '../chunk-TDFLCUBE.js';
16
16
  import '../chunk-BFZAGIXR.js';
@@ -0,0 +1,97 @@
1
+ import { type ReactNode } from 'react';
2
+ /** Where a call stands: under way, answered, failed, or with no answer held. */
3
+ export type ToolCallStatus = 'running' | 'ok' | 'error' | 'unknown';
4
+ /** One tool call: its label, its key argument and, when known, its result. */
5
+ export interface ToolCallLogCall {
6
+ kind: 'call';
7
+ key: string;
8
+ /** The tool's label as a reader knows it: "Bash", "Crewlet · Get work item". */
9
+ tool: string;
10
+ /** What runs of calls are grouped by; the label when left out. */
11
+ group?: string | undefined;
12
+ /** The key argument's first line, shown on one line and cut to fit. */
13
+ detail?: string | undefined;
14
+ /** The whole input, shown on demand when it says more than the detail. */
15
+ input?: string | undefined;
16
+ /** Lines of the input past what the log holds. */
17
+ inputUnkept?: number | undefined;
18
+ status: ToolCallStatus;
19
+ durationMs?: number | undefined;
20
+ /** A failed call's reason, its first line. */
21
+ error?: string | undefined;
22
+ }
23
+ /** The agent's own words between its calls. */
24
+ export interface ToolCallLogSay {
25
+ kind: 'say';
26
+ key: string;
27
+ text: string;
28
+ }
29
+ /** A line the host adds about the run: a gap, a note handed to it, how it ended. */
30
+ export interface ToolCallLogNote {
31
+ kind: 'note';
32
+ key: string;
33
+ text: string;
34
+ tone?: 'neutral' | 'warning' | 'danger' | undefined;
35
+ }
36
+ export type ToolCallLogEntry = ToolCallLogCall | ToolCallLogSay | ToolCallLogNote;
37
+ export interface ToolCallLogLabels {
38
+ /** The toggle that opens an input with lines past the first. */
39
+ moreLines: (count: number) => string;
40
+ /** The same toggle for a one-line input the detail cut. */
41
+ showFull: string;
42
+ showLess: string;
43
+ /** Under an open input the log holds only part of. */
44
+ unkept: (count: number) => string;
45
+ /** A run of calls folded into one row. */
46
+ group: (tool: string, count: number) => string;
47
+ /** How many of a run's calls failed. */
48
+ failedIn: (count: number) => string;
49
+ running: string;
50
+ ok: string;
51
+ error: string;
52
+ /** A call whose result the log does not hold. */
53
+ unknown: string;
54
+ duration: (ms: number) => string;
55
+ jumpToLatest: string;
56
+ newItems: (count: number) => string;
57
+ copy: string;
58
+ copied: string;
59
+ }
60
+ /** "450ms", "1.2s", "2m 5s", "1h 3m". */
61
+ export declare function toolCallDuration(ms: number): string;
62
+ export declare const TOOL_CALL_LOG_LABELS: ToolCallLogLabels;
63
+ export interface ToolCallLogProps {
64
+ entries: readonly ToolCallLogEntry[];
65
+ /** The log's title, and its name for a screen reader. */
66
+ label: string;
67
+ /** The run is still going: the log is busy and keeps the end in view. */
68
+ live?: boolean | undefined;
69
+ /** What the copy action copies; no copy action without it. */
70
+ copyText?: string | undefined;
71
+ /** How tall the log grows before it scrolls. */
72
+ maxHeight?: string | number | undefined;
73
+ /** How many like calls in a row fold into one row. */
74
+ groupAt?: number | undefined;
75
+ /** Muted words beside the title: when it was read, what it holds. */
76
+ caption?: ReactNode;
77
+ labels?: Partial<ToolCallLogLabels> | undefined;
78
+ className?: string | undefined;
79
+ }
80
+ type Row = {
81
+ kind: 'entry';
82
+ entry: ToolCallLogEntry;
83
+ } | {
84
+ kind: 'group';
85
+ key: string;
86
+ tool: string;
87
+ calls: ToolCallLogCall[];
88
+ };
89
+ /** Entries as rows: `groupAt` or more like calls in a row become one group. */
90
+ export declare function toolCallRows(entries: readonly ToolCallLogEntry[], groupAt: number): Row[];
91
+ /**
92
+ * An agent's run as a reader follows it: its narration, each tool call as a
93
+ * row with its key argument and result, runs of like calls folded, and long
94
+ * inputs a click away. Follows the end while the reader is there.
95
+ */
96
+ export declare function ToolCallLog({ entries, label, live, copyText, maxHeight, groupAt, caption, labels: overrides, className, }: ToolCallLogProps): import("react").JSX.Element;
97
+ export {};
@@ -0,0 +1,3 @@
1
+ import './ToolCallLog.css';
2
+ export { TOOL_CALL_LOG_LABELS, ToolCallLog, toolCallDuration } from './ToolCallLog.js';
3
+ export type { ToolCallLogCall, ToolCallLogEntry, ToolCallLogLabels, ToolCallLogNote, ToolCallLogProps, ToolCallLogSay, ToolCallStatus, } from './ToolCallLog.js';
@@ -0,0 +1,22 @@
1
+ export { TOOL_CALL_LOG_LABELS, ToolCallLog, toolCallDuration } from '../chunk-4U5ATJPP.js';
2
+ import '../chunk-GR6XGA5V.js';
3
+ import '../chunk-IRGS5FEC.js';
4
+ import '../chunk-STJ7QBC3.js';
5
+ import '../chunk-DTIW4CHZ.js';
6
+ import '../chunk-HZXS5CEL.js';
7
+ import '../chunk-KJBDOWG7.js';
8
+ import '../chunk-6RBE5RVG.js';
9
+ import '../chunk-IMF3CPTY.js';
10
+ import '../chunk-XSPCITPN.js';
11
+ import '../chunk-SK4BIFTG.js';
12
+ import '../chunk-COS6LJ4K.js';
13
+ import '../chunk-KM5OKCW6.js';
14
+ import '../chunk-TDFLCUBE.js';
15
+ import '../chunk-BFZAGIXR.js';
16
+ import '../chunk-L72URIHR.js';
17
+ import '../chunk-HTS5RJ7S.js';
18
+ import '../chunk-AVJKMQXK.js';
19
+ import '../chunk-EDPMHSLZ.js';
20
+ import '../chunk-4ITETIGZ.js';
21
+ import '../chunk-RRRK2KB6.js';
22
+ import '../chunk-ODEQTPFM.js';
@@ -0,0 +1,288 @@
1
+ /*
2
+ * ToolCallLog: an agent's run as rows in a well, a code block's surface. Tool
3
+ * rows are a status mark, the tool, its key argument in mono and a duration;
4
+ * the agent's own words read as sans narration between them.
5
+ */
6
+
7
+ .crewlet-tool-call-log {
8
+ display: flex;
9
+ flex-direction: column;
10
+ min-width: 0;
11
+ border: 1px solid var(--color-border-default);
12
+ border-radius: var(--radius-md);
13
+ background: var(--color-surface-subtle);
14
+ overflow: hidden;
15
+ }
16
+
17
+ /* Straight in a card it takes the card's surface, as a code block does. */
18
+ .crewlet-card > .crewlet-tool-call-log {
19
+ border: 0;
20
+ border-radius: var(--radius-none);
21
+ background: transparent;
22
+ }
23
+
24
+ .crewlet-tool-call-log__header {
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: space-between;
28
+ gap: var(--spacing-3);
29
+ min-height: var(--size-row-md);
30
+ padding: var(--spacing-1) var(--spacing-2) var(--spacing-1) var(--spacing-3);
31
+ border-bottom: 1px solid var(--color-border-default);
32
+ }
33
+
34
+ .crewlet-tool-call-log__title {
35
+ display: flex;
36
+ flex-wrap: wrap;
37
+ align-items: baseline;
38
+ column-gap: var(--spacing-2);
39
+ min-width: 0;
40
+ }
41
+
42
+ .crewlet-tool-call-log__label {
43
+ font-size: var(--font-size-compact);
44
+ font-weight: var(--font-weight-semibold);
45
+ color: var(--color-text-primary);
46
+ }
47
+
48
+ .crewlet-tool-call-log__caption {
49
+ min-width: 0;
50
+ font-size: var(--font-size-xs);
51
+ color: var(--color-text-tertiary);
52
+ overflow-wrap: anywhere;
53
+ }
54
+
55
+ .crewlet-tool-call-log__copy {
56
+ flex: none;
57
+ }
58
+
59
+ /* Grows with its rows up to the bound, then scrolls inside the thread. */
60
+ .crewlet-tool-call-log__body {
61
+ display: flex;
62
+ flex-direction: column;
63
+ min-height: 0;
64
+ max-height: var(--crewlet-tool-call-log-max-height, 28rem);
65
+ }
66
+
67
+ .crewlet-tool-call-log__thread .crewlet-chat-thread__items {
68
+ gap: var(--spacing-1);
69
+ padding: var(--spacing-2) var(--spacing-3);
70
+ }
71
+
72
+ /* Room for the focus ring of the first and last rows' controls. */
73
+ .crewlet-tool-call-log__thread .crewlet-chat-thread__scroller {
74
+ scroll-padding-block: var(--spacing-2);
75
+ }
76
+
77
+ .crewlet-tool-call-log__call,
78
+ .crewlet-tool-call-log__group {
79
+ --crewlet-tool-call-log-gutter: calc(14px + var(--spacing-2));
80
+
81
+ display: flex;
82
+ flex-direction: column;
83
+ gap: calc(var(--spacing-1) / 2);
84
+ min-width: 0;
85
+ padding-block: calc(var(--spacing-1) / 2);
86
+ }
87
+
88
+ .crewlet-tool-call-log__head {
89
+ display: grid;
90
+ grid-template-columns: auto auto minmax(0, 1fr) auto;
91
+ align-items: center;
92
+ column-gap: var(--spacing-2);
93
+ min-width: 0;
94
+ min-height: var(--size-target-min);
95
+ }
96
+
97
+ .crewlet-tool-call-log__mark {
98
+ display: inline-flex;
99
+ align-items: center;
100
+ justify-content: center;
101
+ width: 14px;
102
+ color: var(--color-text-tertiary);
103
+ }
104
+
105
+ .crewlet-tool-call-log__mark-glyph {
106
+ display: inline-flex;
107
+ }
108
+
109
+ .crewlet-tool-call-log__mark--ok {
110
+ color: var(--color-feedback-success-ink);
111
+ }
112
+
113
+ .crewlet-tool-call-log__mark--error {
114
+ color: var(--color-feedback-danger-ink);
115
+ }
116
+
117
+ .crewlet-tool-call-log__mark--running {
118
+ color: var(--color-text-secondary);
119
+ }
120
+
121
+ .crewlet-tool-call-log__tool {
122
+ font-size: var(--font-size-compact);
123
+ font-weight: var(--font-weight-semibold);
124
+ line-height: var(--font-line-height-snug);
125
+ color: var(--color-text-primary);
126
+ white-space: nowrap;
127
+ }
128
+
129
+ /* One line, cut to fit: the whole argument is its title and the open input. */
130
+ .crewlet-tool-call-log__detail {
131
+ min-width: 0;
132
+ overflow: hidden;
133
+ font-family: var(--font-family-mono);
134
+ font-size: var(--font-size-xs);
135
+ line-height: var(--font-line-height-snug);
136
+ color: var(--color-text-secondary);
137
+ text-overflow: ellipsis;
138
+ white-space: nowrap;
139
+ }
140
+
141
+ .crewlet-tool-call-log__duration {
142
+ font-size: var(--font-size-xs);
143
+ font-variant-numeric: tabular-nums;
144
+ color: var(--color-text-tertiary);
145
+ white-space: nowrap;
146
+ }
147
+
148
+ .crewlet-tool-call-log__error,
149
+ .crewlet-tool-call-log__more,
150
+ .crewlet-tool-call-log__full {
151
+ margin: 0;
152
+ margin-inline-start: var(--crewlet-tool-call-log-gutter);
153
+ }
154
+
155
+ .crewlet-tool-call-log__error {
156
+ min-width: 0;
157
+ font-family: var(--font-family-mono);
158
+ font-size: var(--font-size-xs);
159
+ line-height: var(--font-line-height-normal);
160
+ color: var(--color-feedback-danger-ink);
161
+ white-space: pre-wrap;
162
+ overflow-wrap: anywhere;
163
+ }
164
+
165
+ /* A run's count of failures is words, not output. */
166
+ .crewlet-tool-call-log__error--count {
167
+ font-family: var(--font-family-sans);
168
+ }
169
+
170
+ /* A quiet text control: the words and a chevron, the kit's focus ring. */
171
+ .crewlet-tool-call-log__more,
172
+ .crewlet-tool-call-log__group-toggle {
173
+ display: inline-flex;
174
+ align-items: center;
175
+ gap: var(--spacing-1);
176
+ min-width: 0;
177
+ min-height: var(--size-target-min);
178
+ padding: 0 var(--spacing-1);
179
+ border: 0;
180
+ border-radius: var(--radius-xs);
181
+ background: transparent;
182
+ font: inherit;
183
+ cursor: pointer;
184
+ }
185
+
186
+ .crewlet-tool-call-log__more {
187
+ align-self: flex-start;
188
+ margin-inline-start: calc(var(--crewlet-tool-call-log-gutter) - var(--spacing-1));
189
+ font-size: var(--font-size-xs);
190
+ line-height: var(--font-line-height-normal);
191
+ color: var(--color-text-link-quiet);
192
+ }
193
+
194
+ .crewlet-tool-call-log__group-toggle {
195
+ margin-inline: calc(var(--spacing-1) * -1) 0;
196
+ color: inherit;
197
+ }
198
+
199
+ .crewlet-tool-call-log__more:hover,
200
+ .crewlet-tool-call-log__group-toggle:hover {
201
+ background: var(--color-surface-hover);
202
+ }
203
+
204
+ .crewlet-tool-call-log__more:focus-visible,
205
+ .crewlet-tool-call-log__group-toggle:focus-visible {
206
+ outline: 2px solid var(--color-focus);
207
+ outline-offset: 0;
208
+ }
209
+
210
+ .crewlet-tool-call-log__chevron {
211
+ display: inline-flex;
212
+ color: var(--color-text-tertiary);
213
+ }
214
+
215
+ .crewlet-tool-call-log__full[hidden],
216
+ .crewlet-tool-call-log__members[hidden] {
217
+ display: none;
218
+ }
219
+
220
+ .crewlet-tool-call-log__input {
221
+ margin: var(--spacing-1) 0 0;
222
+ padding: var(--spacing-2);
223
+ border-radius: var(--radius-sm);
224
+ background: var(--color-surface-inset);
225
+ font-family: var(--font-family-mono);
226
+ font-size: var(--font-size-xs);
227
+ line-height: var(--font-line-height-normal);
228
+ color: var(--color-text-secondary);
229
+ white-space: pre-wrap;
230
+ overflow-wrap: anywhere;
231
+ }
232
+
233
+ .crewlet-tool-call-log__unkept {
234
+ margin: var(--spacing-1) 0 0;
235
+ font-size: var(--font-size-xs);
236
+ color: var(--color-text-tertiary);
237
+ }
238
+
239
+ .crewlet-tool-call-log__members {
240
+ display: flex;
241
+ flex-direction: column;
242
+ min-width: 0;
243
+ margin-inline-start: var(--crewlet-tool-call-log-gutter);
244
+ padding-inline-start: var(--spacing-2);
245
+ border-inline-start: 1px solid var(--color-border-default);
246
+ }
247
+
248
+ /* Narration: the agent's own words, sans and primary, set off from the rows. */
249
+ .crewlet-tool-call-log__say {
250
+ margin: var(--spacing-1) 0;
251
+ font-family: var(--font-family-sans);
252
+ font-size: var(--font-size-compact);
253
+ line-height: var(--font-line-height-body);
254
+ color: var(--color-text-primary);
255
+ white-space: pre-wrap;
256
+ overflow-wrap: anywhere;
257
+ }
258
+
259
+ .crewlet-tool-call-log__note {
260
+ display: flex;
261
+ align-items: flex-start;
262
+ gap: var(--spacing-2);
263
+ margin: var(--spacing-1) 0;
264
+ font-size: var(--font-size-xs);
265
+ line-height: var(--font-line-height-normal);
266
+ color: var(--color-text-tertiary);
267
+ white-space: pre-wrap;
268
+ overflow-wrap: anywhere;
269
+ }
270
+
271
+ .crewlet-tool-call-log__note-mark {
272
+ display: inline-flex;
273
+ flex: none;
274
+ height: calc(var(--font-size-xs) * var(--font-line-height-normal));
275
+ align-items: center;
276
+ }
277
+
278
+ .crewlet-tool-call-log__note-text {
279
+ min-width: 0;
280
+ }
281
+
282
+ .crewlet-tool-call-log__note--warning {
283
+ color: var(--color-feedback-warning-ink);
284
+ }
285
+
286
+ .crewlet-tool-call-log__note--danger {
287
+ color: var(--color-feedback-danger-ink);
288
+ }