meowtail 0.2.0-alpha.0 → 0.2.0-alpha.1

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 (97) hide show
  1. package/AGENT-COMPONENTS.md +65 -65
  2. package/ASSISTANT.md +35 -35
  3. package/JSON.md +11 -11
  4. package/README.md +397 -385
  5. package/THIRD_PARTY_NOTICES.md +8 -0
  6. package/dist/src/chat/attachments.js +9 -5
  7. package/dist/src/chat/composer-panel.d.ts +17 -0
  8. package/dist/src/chat/composer-panel.js +12 -0
  9. package/dist/src/chat/composer.d.ts +2 -0
  10. package/dist/src/chat/composer.js +5 -2
  11. package/dist/src/chat/conversation.js +2 -2
  12. package/dist/src/chat/index.d.ts +1 -0
  13. package/dist/src/chat/index.js +1 -0
  14. package/dist/src/chat/message-list.js +1 -1
  15. package/dist/src/chat/message.js +3 -3
  16. package/dist/src/chat/question.js +1 -1
  17. package/dist/src/chat/sources.js +1 -1
  18. package/dist/src/chat/tool-call.js +6 -6
  19. package/dist/src/components/action-rail.d.ts +19 -0
  20. package/dist/src/components/action-rail.js +13 -0
  21. package/dist/src/components/add-button.js +1 -1
  22. package/dist/src/components/alert.d.ts +2 -0
  23. package/dist/src/components/alert.js +2 -1
  24. package/dist/src/components/app-bar.d.ts +17 -0
  25. package/dist/src/components/app-bar.js +10 -0
  26. package/dist/src/components/breadcrumb.js +1 -1
  27. package/dist/src/components/choice-select.js +1 -1
  28. package/dist/src/components/code-block.js +6 -6
  29. package/dist/src/components/credential-source.js +12 -12
  30. package/dist/src/components/diff-block.js +1 -1
  31. package/dist/src/components/hover-card.js +2 -2
  32. package/dist/src/components/image-lightbox.js +3 -3
  33. package/dist/src/components/image-preview.js +1 -1
  34. package/dist/src/components/index.d.ts +3 -0
  35. package/dist/src/components/index.js +3 -0
  36. package/dist/src/components/json-block.js +2 -2
  37. package/dist/src/components/json-tree.js +3 -3
  38. package/dist/src/components/list-group.d.ts +1 -1
  39. package/dist/src/components/meta-row.d.ts +33 -0
  40. package/dist/src/components/meta-row.js +45 -0
  41. package/dist/src/components/output-block.js +7 -7
  42. package/dist/src/components/page-frame.d.ts +6 -2
  43. package/dist/src/components/page-frame.js +2 -2
  44. package/dist/src/components/path-picker.js +4 -4
  45. package/dist/src/components/process-group.d.ts +2 -2
  46. package/dist/src/components/rail-item.d.ts +2 -2
  47. package/dist/src/components/rail-section.d.ts +1 -1
  48. package/dist/src/components/read-block.js +2 -2
  49. package/dist/src/components/resource-card.d.ts +1 -1
  50. package/dist/src/components/resource-link.d.ts +1 -1
  51. package/dist/src/components/search-block.js +2 -3
  52. package/dist/src/components/terminal-block.js +6 -6
  53. package/dist/src/components/web-block.js +3 -3
  54. package/dist/src/components/work-card.d.ts +2 -2
  55. package/dist/src/components/work-card.js +1 -1
  56. package/dist/src/icons/README.md +13 -2
  57. package/dist/src/icons/icon-frame.d.ts +11 -0
  58. package/dist/src/icons/icon-frame.js +4 -0
  59. package/dist/src/icons/icon-source.d.ts +17 -0
  60. package/dist/src/icons/icon-source.js +6 -0
  61. package/dist/src/icons/icon.d.ts +44 -37
  62. package/dist/src/icons/icon.js +55 -128
  63. package/dist/src/icons/index.d.ts +1 -0
  64. package/dist/src/icons/index.js +1 -0
  65. package/dist/src/icons/lucide.d.ts +1 -0
  66. package/dist/src/icons/lucide.js +4 -0
  67. package/dist/src/registry/index.d.ts +38 -3
  68. package/dist/src/registry/index.js +11 -2
  69. package/dist/src/shared/execution-state.js +7 -7
  70. package/dist/src/theme/chat/composer-panel.styles.d.ts +1 -0
  71. package/dist/src/theme/chat/composer-panel.styles.js +44 -0
  72. package/dist/src/theme/chat/composer.styles.js +37 -6
  73. package/dist/src/theme/components/action-rail.styles.d.ts +1 -0
  74. package/dist/src/theme/components/action-rail.styles.js +47 -0
  75. package/dist/src/theme/components/alert.styles.js +42 -1
  76. package/dist/src/theme/components/app-bar.styles.d.ts +1 -0
  77. package/dist/src/theme/components/app-bar.styles.js +48 -0
  78. package/dist/src/theme/components/code-block.styles.js +7 -0
  79. package/dist/src/theme/components/dialog.styles.js +7 -0
  80. package/dist/src/theme/components/list-group.styles.js +1 -0
  81. package/dist/src/theme/components/meta-row.styles.d.ts +1 -0
  82. package/dist/src/theme/components/meta-row.styles.js +66 -0
  83. package/dist/src/theme/components/output-block.styles.js +9 -0
  84. package/dist/src/theme/components/page-frame.styles.js +7 -1
  85. package/dist/src/theme/components/page-header.styles.js +7 -0
  86. package/dist/src/theme/components/resource-card.styles.js +7 -0
  87. package/dist/src/theme/components/tag.styles.js +3 -3
  88. package/dist/src/theme/components/toolbar.styles.js +7 -0
  89. package/dist/src/theme/index.d.ts +15 -15
  90. package/dist/src/theme/index.js +8 -0
  91. package/dist/src/theme/palette.d.ts +1 -1
  92. package/dist/src/theme/palette.js +1 -1
  93. package/dist/src/theme/shared/code-highlight.tokens.d.ts +6 -6
  94. package/dist/src/theme/shared/code-highlight.tokens.js +6 -6
  95. package/dist/src/theme/tokens.d.ts +7 -7
  96. package/dist/src/theme/tokens.js +14 -8
  97. package/package.json +7 -2
@@ -1,6 +1,6 @@
1
1
  import { css, partSelector } from "meowcss/meowjsx";
2
2
  import { alertTokens, uiTokens } from "../tokens.js";
3
- import { alertContract } from "../../components/alert.js";
3
+ import { alertContract, alertOptions } from "../../components/alert.js";
4
4
  export const alertStyles = css `
5
5
  ${partSelector(alertContract, "root")} {
6
6
  display: grid;
@@ -25,4 +25,45 @@ export const alertStyles = css `
25
25
  flex-wrap: wrap;
26
26
  gap: ${uiTokens.spaceGroup};
27
27
  }
28
+
29
+ /* A page notice is one compact line with an optional end action; the block
30
+ alert keeps the title/body/action stack for outcomes that need reading. */
31
+ ${partSelector(alertContract, "root")}[${alertOptions.attribute("layout")}="bar"] {
32
+ display: flex;
33
+ align-items: center;
34
+ gap: ${uiTokens.spaceGroup};
35
+ min-height: 36px;
36
+ padding: 6px 8px 6px 12px;
37
+ border-radius: ${uiTokens.radiusSmall};
38
+ font-size: 13px;
39
+ line-height: 20px;
40
+ }
41
+ ${partSelector(alertContract, "root")}[${alertOptions.attribute("layout")}="bar"]::before {
42
+ content: "";
43
+ width: 8px;
44
+ height: 8px;
45
+ flex: none;
46
+ border-radius: 50%;
47
+ background: ${alertTokens.accent};
48
+ }
49
+ ${partSelector(alertContract, "root")}[${alertOptions.attribute("layout")}="bar"] ${partSelector(alertContract, "title")} {
50
+ flex: none;
51
+ }
52
+ ${partSelector(alertContract, "root")}[${alertOptions.attribute("layout")}="bar"] ${partSelector(alertContract, "body")} {
53
+ flex: 1;
54
+ min-width: 0;
55
+ line-height: 20px;
56
+ }
57
+ ${partSelector(alertContract, "root")}[${alertOptions.attribute("layout")}="bar"] ${partSelector(alertContract, "actions")} {
58
+ flex: none;
59
+ margin-left: auto;
60
+ flex-wrap: nowrap;
61
+ }
62
+
63
+ @media (pointer: coarse) {
64
+ ${partSelector(alertContract, "root")}[${alertOptions.attribute("layout")}="bar"] ${partSelector(alertContract, "actions")} > * {
65
+ min-width: 44px;
66
+ min-height: 44px;
67
+ }
68
+ }
28
69
  `;
@@ -0,0 +1 @@
1
+ export declare const appBarStyles: import("meowcss/meowjsx").CSSFragment;
@@ -0,0 +1,48 @@
1
+ import { css, partSelector } from "meowcss/meowjsx";
2
+ import { uiTokens } from "../tokens.js";
3
+ import { appBarContract } from "../../components/app-bar.js";
4
+ export const appBarStyles = css `
5
+ ${partSelector(appBarContract, "root")} {
6
+ display: flex;
7
+ align-items: center;
8
+ gap: ${uiTokens.spaceGroup};
9
+ min-width: 0;
10
+ min-height: 56px;
11
+ padding: 10px 16px;
12
+ border-bottom: 0.5px solid ${uiTokens.borderSubtle};
13
+ background: ${uiTokens.surface};
14
+ }
15
+ ${partSelector(appBarContract, "identity")} {
16
+ display: grid;
17
+ gap: 2px;
18
+ flex: 1;
19
+ min-width: 0;
20
+ }
21
+ ${partSelector(appBarContract, "title")} {
22
+ margin: 0;
23
+ overflow-wrap: anywhere;
24
+ color: ${uiTokens.foreground};
25
+ font-size: 20px;
26
+ font-weight: 600;
27
+ line-height: 1.25;
28
+ }
29
+ ${partSelector(appBarContract, "status")} {
30
+ min-width: 0;
31
+ color: ${uiTokens.mutedForeground};
32
+ font-size: 12px;
33
+ line-height: 18px;
34
+ }
35
+ ${partSelector(appBarContract, "actions")} {
36
+ display: flex;
37
+ align-items: center;
38
+ gap: 4px;
39
+ flex: none;
40
+ }
41
+
42
+ @media (pointer: coarse) {
43
+ ${partSelector(appBarContract, "actions")} > * {
44
+ min-width: 44px;
45
+ min-height: 44px;
46
+ }
47
+ }
48
+ `;
@@ -74,4 +74,11 @@ export const codeBlockStyles = css `
74
74
  outline: 2px solid ${uiTokens.focus};
75
75
  outline-offset: -2px;
76
76
  }
77
+
78
+ @media (pointer: coarse) {
79
+ ${partSelector(codeBlockContract, "actions")}[data-meowui-part] > * {
80
+ min-width: 44px;
81
+ min-height: 44px;
82
+ }
83
+ }
77
84
  `;
@@ -88,4 +88,11 @@ export const dialogStyles = css `
88
88
  margin: ${uiTokens.spaceGroup} 0 0;
89
89
  color: ${uiTokens.mutedForeground};
90
90
  }
91
+
92
+ @media (pointer: coarse) {
93
+ ${partSelector(dialogActionsContract, "root")}[data-meowui-part] > * {
94
+ min-width: 44px;
95
+ min-height: 44px;
96
+ }
97
+ }
91
98
  `;
@@ -81,6 +81,7 @@ export const listGroupStyles = css `
81
81
  gap: 6px;
82
82
  }
83
83
  ${row("panel")} {
84
+ padding: 12px 16px;
84
85
  border-top: ${lineTokens.width} solid ${lineTokens.divider};
85
86
  background: ${layerTokens.sunken};
86
87
  }
@@ -0,0 +1 @@
1
+ export declare const metaRowStyles: import("meowcss/meowjsx").CSSFragment;
@@ -0,0 +1,66 @@
1
+ import { css, partSelector } from "meowcss/meowjsx";
2
+ import { uiTokens } from "../tokens.js";
3
+ import { metaRowContract, metaRowOptions } from "../../components/meta-row.js";
4
+ export const metaRowStyles = css `
5
+ ${partSelector(metaRowContract, "root")} {
6
+ display: flex;
7
+ flex-wrap: wrap;
8
+ align-items: center;
9
+ gap: ${uiTokens.spaceGroup};
10
+ min-width: 0;
11
+ color: ${uiTokens.mutedForeground};
12
+ font: ${uiTokens.fontCaption}/18px ${uiTokens.font};
13
+ }
14
+ ${partSelector(metaRowContract, "root")}[${metaRowOptions.attribute("align")}="center"] {
15
+ justify-content: center;
16
+ }
17
+ ${partSelector(metaRowContract, "item")} {
18
+ display: inline-flex;
19
+ align-items: center;
20
+ gap: 4px;
21
+ min-width: 0;
22
+ }
23
+ ${partSelector(metaRowContract, "icon")} {
24
+ display: inline-flex;
25
+ align-items: center;
26
+ flex: none;
27
+ }
28
+ ${partSelector(metaRowContract, "icon")} svg {
29
+ width: 14px;
30
+ height: 14px;
31
+ flex: none;
32
+ }
33
+ ${partSelector(metaRowContract, "label")} {
34
+ min-width: 0;
35
+ overflow-wrap: anywhere;
36
+ }
37
+ ${partSelector(metaRowContract, "separator")} {
38
+ color: ${uiTokens.border};
39
+ }
40
+ ${partSelector(metaRowContract, "progress")} {
41
+ display: inline-flex;
42
+ align-items: center;
43
+ gap: 4px;
44
+ flex: none;
45
+ font-variant-numeric: tabular-nums;
46
+ }
47
+ ${partSelector(metaRowContract, "progress")}::before {
48
+ content: "";
49
+ width: 14px;
50
+ height: 14px;
51
+ flex: none;
52
+ border-radius: 50%;
53
+ background: conic-gradient(
54
+ ${uiTokens.subtleForeground} var(--meta-progress, 0%),
55
+ ${uiTokens.border} var(--meta-progress, 0%)
56
+ );
57
+ -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
58
+ mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
59
+ }
60
+ ${partSelector(metaRowContract, "root")}[${metaRowOptions.attribute("progressTone")}="accent"] ${partSelector(metaRowContract, "progress")}::before {
61
+ background: conic-gradient(
62
+ ${uiTokens.info} var(--meta-progress, 0%),
63
+ ${uiTokens.border} var(--meta-progress, 0%)
64
+ );
65
+ }
66
+ `;
@@ -231,4 +231,13 @@ export const outputBlockStyles = css `
231
231
  ${partSelector(terminal, "span")}[data-ansi-color="90"] {
232
232
  color: ${uiTokens.subtleForeground};
233
233
  }
234
+
235
+ @media (pointer: coarse) {
236
+ ${partSelector(block, "actions")}[data-meowui-part],
237
+ ${partSelector(block, "toggle")}[data-meowui-part] {
238
+ min-width: 44px;
239
+ min-height: 44px;
240
+ padding: 0 6px;
241
+ }
242
+ }
234
243
  `;
@@ -16,7 +16,7 @@ export const pageFrameStyles = css `
16
16
  padding: ${uiTokens.pageInsetBlock} ${uiTokens.pageInsetInline};
17
17
  overflow: hidden;
18
18
  }
19
- :where(${partSelector(pageFrameContract, "toolbar")}, ${partSelector(pageFrameContract, "header")}) {
19
+ :where(${partSelector(pageFrameContract, "toolbar")}, ${partSelector(pageFrameContract, "header")}, ${partSelector(pageFrameContract, "notice")}, ${partSelector(pageFrameContract, "footer")}) {
20
20
  min-width: 0;
21
21
  flex: 0 0 auto;
22
22
  max-height: none;
@@ -29,6 +29,12 @@ export const pageFrameStyles = css `
29
29
  min-height: 0;
30
30
  overflow: hidden;
31
31
  }
32
+ ${partSelector(pageFrameContract, "root")}[${pageFrameOptions.attribute("variant")}="workspace"] > ${partSelector(pageFrameContract, "notice")} {
33
+ padding: 8px 12px 0;
34
+ }
35
+ ${partSelector(pageFrameContract, "root")}[${pageFrameOptions.attribute("variant")}="workspace"] > ${partSelector(pageFrameContract, "footer")} {
36
+ padding: 8px 12px max(8px, env(safe-area-inset-bottom));
37
+ }
32
38
  ${partSelector(pageFrameContract, "root")}[${pageFrameOptions.attribute("scrollOwner")}="content"] >
33
39
  ${partSelector(pageFrameContract, "body")} > * {
34
40
  flex: 1;
@@ -36,4 +36,11 @@ export const pageHeaderStyles = css `
36
36
  flex-wrap: wrap;
37
37
  gap: ${uiTokens.spaceGroup};
38
38
  }
39
+
40
+ @media (pointer: coarse) {
41
+ ${header("actions")}[data-meowui-part] > * {
42
+ min-width: 44px;
43
+ min-height: 44px;
44
+ }
45
+ }
39
46
  `;
@@ -107,4 +107,11 @@ export const resourceCardStyles = css `
107
107
  transition: none;
108
108
  }
109
109
  }
110
+
111
+ @media (pointer: coarse) {
112
+ ${card("actions")}[data-meowui-part] > * {
113
+ min-width: 44px;
114
+ min-height: 44px;
115
+ }
116
+ }
110
117
  `;
@@ -1,7 +1,7 @@
1
1
  import { css, partSelector } from "meowcss/meowjsx";
2
2
  import { tagContract, tagOptions } from "../../components/tag.js";
3
3
  import { uiTokens } from "../tokens.js";
4
- import { accentTokens, layerTokens, radiusTokens, statusTokens } from "../palette.js";
4
+ import { accentTokens, layerTokens, radiusTokens } from "../palette.js";
5
5
  const root = partSelector(tagContract, "root");
6
6
  export const tagStyles = css `
7
7
  ${root} {
@@ -24,8 +24,8 @@ export const tagStyles = css `
24
24
  font-weight: 600;
25
25
  }
26
26
  ${tagOptions.when({ tone: "warning" })} {
27
- background: ${statusTokens.warning};
28
- color: #fff;
27
+ background: ${uiTokens.warning};
28
+ color: ${uiTokens.onPrimary};
29
29
  font-weight: 600;
30
30
  }
31
31
  ${tagOptions.when({ kind: "count" })} {
@@ -19,4 +19,11 @@ export const toolbarStyles = css `
19
19
  :where(${partSelector(toolbarContract, "root")} > ${partSelector(iconButtonContract, "root")}) {
20
20
  flex: 0 0 auto;
21
21
  }
22
+
23
+ @media (pointer: coarse) {
24
+ ${partSelector(toolbarContract, "root")}[data-meowui-part] button {
25
+ min-width: 44px;
26
+ min-height: 44px;
27
+ }
28
+ }
22
29
  `;
@@ -46,10 +46,10 @@ export declare const standardThemeTokens: readonly [import("meowcss").TokenRefs<
46
46
  readonly toastSurface: readonly ["#353638", "#43454a"];
47
47
  readonly toastForeground: "#ffffff";
48
48
  readonly mutedForeground: readonly ["#61666b", "#adb2b8"];
49
- readonly subtleForeground: "#81858c";
50
- readonly captionForeground: readonly ["#adb2b8", "#81858c"];
49
+ readonly subtleForeground: readonly ["#656a71", "#9aa0a7"];
50
+ readonly captionForeground: readonly ["#656a71", "#9aa0a7"];
51
51
  readonly shimmer: readonly ["rgb(0 0 0 / 30%)", "rgb(255 255 255 / 45%)"];
52
- readonly placeholder: readonly ["#e1e5ee", "#81858c"];
52
+ readonly placeholder: readonly ["#61666b", "#adb2b8"];
53
53
  readonly border: readonly ["rgb(0 0 0 / 16%)", "rgb(255 255 255 / 20%)"];
54
54
  readonly borderSubtle: readonly ["rgb(0 0 0 / 12%)", "rgb(255 255 255 / 16%)"];
55
55
  readonly borderSoft: import("meowcss").ConditionalValue;
@@ -60,10 +60,10 @@ export declare const standardThemeTokens: readonly [import("meowcss").TokenRefs<
60
60
  readonly primaryHover: readonly ["#43454a", "#ebeef2"];
61
61
  readonly onPrimary: readonly ["#ffffff", "#0f1115"];
62
62
  readonly primarySoft: readonly ["#ebeef2", "#43454a"];
63
- readonly info: readonly ["#4176e6", "#7aaaff"];
64
- readonly warning: "#dd8629";
65
- readonly success: "#22c55e";
66
- readonly danger: readonly ["#ec1313", "#f25a5a"];
63
+ readonly info: readonly ["#2f5fce", "#7aaaff"];
64
+ readonly warning: readonly ["#a85c00", "#f0a04b"];
65
+ readonly success: readonly ["#15803d", "#4ade80"];
66
+ readonly danger: readonly ["#d51d1d", "#f25a5a"];
67
67
  readonly dangerAction: readonly ["#b91c1c", "#f25a5a"];
68
68
  readonly onDanger: readonly ["#ffffff", "#0f1115"];
69
69
  readonly focus: readonly ["#4176e6", "#7aaaff"];
@@ -100,13 +100,13 @@ export declare const standardThemeTokens: readonly [import("meowcss").TokenRefs<
100
100
  }> & import("meowcss").TokenSet, import("meowcss").TokenRefs<{
101
101
  readonly accent: import("meowcss").ConditionalValue;
102
102
  }> & import("meowcss").TokenSet, import("meowcss").TokenRefs<{
103
- readonly constant: readonly ["#1c7ed6", "#4dabf7"];
104
- readonly string: readonly ["#2f9e44", "#69db7c"];
105
- readonly comment: readonly ["#868e96", "#adb5bd"];
106
- readonly keyword: readonly ["#d6336c", "#faa2c1"];
107
- readonly parameter: readonly ["#e8590c", "#ffa94d"];
103
+ readonly constant: readonly ["#1b64a8", "#4dabf7"];
104
+ readonly string: readonly ["#1e6b30", "#69db7c"];
105
+ readonly comment: readonly ["#656a71", "#adb5bd"];
106
+ readonly keyword: readonly ["#b02a5b", "#faa2c1"];
107
+ readonly parameter: readonly ["#b34700", "#ffa94d"];
108
108
  readonly function: readonly ["#6741d9", "#b197fc"];
109
- readonly stringExpression: readonly ["#2b8a3e", "#8ce99a"];
109
+ readonly stringExpression: readonly ["#1e6b30", "#8ce99a"];
110
110
  readonly punctuation: readonly ["#495057", "#ced4da"];
111
111
  readonly link: readonly ["#1971c2", "#74c0fc"];
112
112
  }> & import("meowcss").TokenSet, import("meowcss").TokenRefs<{
@@ -142,10 +142,10 @@ export declare const standardThemeTokens: readonly [import("meowcss").TokenRefs<
142
142
  readonly chip: readonly ["#f1f3f5", "rgb(255 255 255 / 8%)"];
143
143
  readonly chipInk: readonly ["#61666b", "#cfd3d6"];
144
144
  readonly code: readonly ["rgb(0 0 0 / 5%)", "rgb(255 255 255 / 8%)"];
145
- readonly faint: readonly ["#adb2b8", "#61666b"];
145
+ readonly faint: readonly ["#656a71", "#9aa0a7"];
146
146
  }> & import("meowcss").TokenSet, import("meowcss").TokenRefs<{
147
147
  readonly inset: "18px";
148
148
  readonly gap: "14px";
149
149
  }> & import("meowcss").TokenSet];
150
- export declare const standardThemeStyles: readonly [import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment];
150
+ export declare const standardThemeStyles: readonly [import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment];
151
151
  export declare const standardTheme: import("meowcss").ThemeDefinition;
@@ -22,6 +22,8 @@ import { toolbarStyles } from "./components/toolbar.styles.js";
22
22
  import { chatAttachmentsStyles } from "./chat/attachments.styles.js";
23
23
  import { fieldGroupStyles } from "./components/field-group.styles.js";
24
24
  import { cardStyles } from "./components/card.styles.js";
25
+ import { actionRailStyles } from "./components/action-rail.styles.js";
26
+ import { metaRowStyles } from "./components/meta-row.styles.js";
25
27
  import { popoverStyles } from "./components/popover.styles.js";
26
28
  import { tabsStyles } from "./components/tabs.styles.js";
27
29
  import { choiceGroupStyles } from "./components/choice-group.styles.js";
@@ -37,11 +39,13 @@ import { chatStatusStyles } from "./chat/status.styles.js";
37
39
  import { chatFrameStyles } from "./chat/frame.styles.js";
38
40
  import { chatMessageStyles } from "./chat/message.styles.js";
39
41
  import { chatComposerStyles } from "./chat/composer.styles.js";
42
+ import { composerPanelStyles } from "./chat/composer-panel.styles.js";
40
43
  import { chatRecordsStyles } from "./chat/records.styles.js";
41
44
  import { codeBlockStyles } from "./components/code-block.styles.js";
42
45
  import { layoutStyles } from "./components/layout.styles.js";
43
46
  import { descriptionListStyles } from "./components/description-list.styles.js";
44
47
  import { pageFrameStyles } from "./components/page-frame.styles.js";
48
+ import { appBarStyles } from "./components/app-bar.styles.js";
45
49
  import { regionLayoutStyles } from "./components/region-layout.styles.js";
46
50
  import { buttonStyles } from "./components/button.styles.js";
47
51
  import { dialogStyles } from "./components/dialog.styles.js";
@@ -125,6 +129,8 @@ export const standardThemeStyles = [
125
129
  toastStyles,
126
130
  outputBlockStyles,
127
131
  buttonStyles,
132
+ actionRailStyles,
133
+ metaRowStyles,
128
134
  dialogStyles,
129
135
  nativeInputStyles,
130
136
  fieldStyles,
@@ -144,6 +150,7 @@ export const standardThemeStyles = [
144
150
  layoutStyles,
145
151
  descriptionListStyles,
146
152
  pageFrameStyles,
153
+ appBarStyles,
147
154
  regionLayoutStyles,
148
155
  cardStyles,
149
156
  fieldGroupStyles,
@@ -155,6 +162,7 @@ export const standardThemeStyles = [
155
162
  chatFrameStyles,
156
163
  chatMessageStyles,
157
164
  chatComposerStyles,
165
+ composerPanelStyles,
158
166
  chatRecordsStyles,
159
167
  chatQuestionStyles,
160
168
  chatConversationStyles,
@@ -51,5 +51,5 @@ export declare const layerTokens: import("meowcss").TokenRefs<{
51
51
  readonly chip: readonly ["#f1f3f5", "rgb(255 255 255 / 8%)"];
52
52
  readonly chipInk: readonly ["#61666b", "#cfd3d6"];
53
53
  readonly code: readonly ["rgb(0 0 0 / 5%)", "rgb(255 255 255 / 8%)"];
54
- readonly faint: readonly ["#adb2b8", "#61666b"];
54
+ readonly faint: readonly ["#656a71", "#9aa0a7"];
55
55
  }> & import("meowcss").TokenSet;
@@ -52,5 +52,5 @@ export const layerTokens = defineTokens("layer", {
52
52
  chip: ["#f1f3f5", "rgb(255 255 255 / 8%)"],
53
53
  chipInk: ["#61666b", "#cfd3d6"],
54
54
  code: ["rgb(0 0 0 / 5%)", "rgb(255 255 255 / 8%)"],
55
- faint: ["#adb2b8", "#61666b"],
55
+ faint: ["#656a71", "#9aa0a7"],
56
56
  });
@@ -1,12 +1,12 @@
1
1
  /** DeepSeek ui-theme/shiki.css palette; emitted through the standard scheme mechanism. */
2
2
  export declare const codeHighlightTokens: import("meowcss").TokenRefs<{
3
- readonly constant: readonly ["#1c7ed6", "#4dabf7"];
4
- readonly string: readonly ["#2f9e44", "#69db7c"];
5
- readonly comment: readonly ["#868e96", "#adb5bd"];
6
- readonly keyword: readonly ["#d6336c", "#faa2c1"];
7
- readonly parameter: readonly ["#e8590c", "#ffa94d"];
3
+ readonly constant: readonly ["#1b64a8", "#4dabf7"];
4
+ readonly string: readonly ["#1e6b30", "#69db7c"];
5
+ readonly comment: readonly ["#656a71", "#adb5bd"];
6
+ readonly keyword: readonly ["#b02a5b", "#faa2c1"];
7
+ readonly parameter: readonly ["#b34700", "#ffa94d"];
8
8
  readonly function: readonly ["#6741d9", "#b197fc"];
9
- readonly stringExpression: readonly ["#2b8a3e", "#8ce99a"];
9
+ readonly stringExpression: readonly ["#1e6b30", "#8ce99a"];
10
10
  readonly punctuation: readonly ["#495057", "#ced4da"];
11
11
  readonly link: readonly ["#1971c2", "#74c0fc"];
12
12
  }> & import("meowcss").TokenSet;
@@ -1,13 +1,13 @@
1
1
  import { defineTokens } from "meowcss";
2
2
  /** DeepSeek ui-theme/shiki.css palette; emitted through the standard scheme mechanism. */
3
3
  export const codeHighlightTokens = defineTokens("code-highlight", {
4
- constant: ["#1c7ed6", "#4dabf7"],
5
- string: ["#2f9e44", "#69db7c"],
6
- comment: ["#868e96", "#adb5bd"],
7
- keyword: ["#d6336c", "#faa2c1"],
8
- parameter: ["#e8590c", "#ffa94d"],
4
+ constant: ["#1b64a8", "#4dabf7"],
5
+ string: ["#1e6b30", "#69db7c"],
6
+ comment: ["#656a71", "#adb5bd"],
7
+ keyword: ["#b02a5b", "#faa2c1"],
8
+ parameter: ["#b34700", "#ffa94d"],
9
9
  function: ["#6741d9", "#b197fc"],
10
- stringExpression: ["#2b8a3e", "#8ce99a"],
10
+ stringExpression: ["#1e6b30", "#8ce99a"],
11
11
  punctuation: ["#495057", "#ced4da"],
12
12
  link: ["#1971c2", "#74c0fc"],
13
13
  });
@@ -46,10 +46,10 @@ export declare const uiTokens: import("meowcss").TokenRefs<{
46
46
  readonly toastSurface: readonly ["#353638", "#43454a"];
47
47
  readonly toastForeground: "#ffffff";
48
48
  readonly mutedForeground: readonly ["#61666b", "#adb2b8"];
49
- readonly subtleForeground: "#81858c";
50
- readonly captionForeground: readonly ["#adb2b8", "#81858c"];
49
+ readonly subtleForeground: readonly ["#656a71", "#9aa0a7"];
50
+ readonly captionForeground: readonly ["#656a71", "#9aa0a7"];
51
51
  readonly shimmer: readonly ["rgb(0 0 0 / 30%)", "rgb(255 255 255 / 45%)"];
52
- readonly placeholder: readonly ["#e1e5ee", "#81858c"];
52
+ readonly placeholder: readonly ["#61666b", "#adb2b8"];
53
53
  readonly border: readonly ["rgb(0 0 0 / 16%)", "rgb(255 255 255 / 20%)"];
54
54
  readonly borderSubtle: readonly ["rgb(0 0 0 / 12%)", "rgb(255 255 255 / 16%)"];
55
55
  readonly borderSoft: import("meowcss").ConditionalValue;
@@ -60,10 +60,10 @@ export declare const uiTokens: import("meowcss").TokenRefs<{
60
60
  readonly primaryHover: readonly ["#43454a", "#ebeef2"];
61
61
  readonly onPrimary: readonly ["#ffffff", "#0f1115"];
62
62
  readonly primarySoft: readonly ["#ebeef2", "#43454a"];
63
- readonly info: readonly ["#4176e6", "#7aaaff"];
64
- readonly warning: "#dd8629";
65
- readonly success: "#22c55e";
66
- readonly danger: readonly ["#ec1313", "#f25a5a"];
63
+ readonly info: readonly ["#2f5fce", "#7aaaff"];
64
+ readonly warning: readonly ["#a85c00", "#f0a04b"];
65
+ readonly success: readonly ["#15803d", "#4ade80"];
66
+ readonly danger: readonly ["#d51d1d", "#f25a5a"];
67
67
  readonly dangerAction: readonly ["#b91c1c", "#f25a5a"];
68
68
  readonly onDanger: readonly ["#ffffff", "#0f1115"];
69
69
  readonly focus: readonly ["#4176e6", "#7aaaff"];
@@ -5,6 +5,8 @@ import { accentTokens, layerTokens, lineTokens, radiusTokens } from "./palette.j
5
5
  export const standardOptions = defineOptions("meowui", {});
6
6
  /** Re-evaluate color aliases at a local scheme instead of inheriting resolved parent colors. */
7
7
  const schemeAlias = (value) => standardOptions.by.scheme([value, value]);
8
+ /** Secondary ink that remains readable on input and page surfaces in both schemes. */
9
+ const mutedForeground = ["#61666b", "#adb2b8"];
8
10
  export const uiTokens = defineTokens("ui", {
9
11
  font: '-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif',
10
12
  mono: '"SF Mono", "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", Menlo, Courier, "PingFang SC", "Microsoft YaHei"',
@@ -51,11 +53,15 @@ export const uiTokens = defineTokens("ui", {
51
53
  foreground: ["#0f1115", "#f9fafb"],
52
54
  toastSurface: ["#353638", "#43454a"],
53
55
  toastForeground: "#ffffff",
54
- mutedForeground: ["#61666b", "#adb2b8"],
55
- subtleForeground: "#81858c",
56
- captionForeground: ["#adb2b8", "#81858c"],
56
+ mutedForeground,
57
+ // Metadata ink stays above the normal-text floor in both schemes; it is still
58
+ // lighter than the primary muted text so hierarchy survives.
59
+ subtleForeground: ["#656a71", "#9aa0a7"],
60
+ captionForeground: ["#656a71", "#9aa0a7"],
57
61
  shimmer: ["rgb(0 0 0 / 30%)", "rgb(255 255 255 / 45%)"],
58
- placeholder: ["#e1e5ee", "#81858c"],
62
+ // Placeholder is text the reader must scan before typing; reuse the readable
63
+ // secondary ink instead of a near-white tint that only works as decoration.
64
+ placeholder: mutedForeground,
59
65
  border: ["rgb(0 0 0 / 16%)", "rgb(255 255 255 / 20%)"],
60
66
  borderSubtle: ["rgb(0 0 0 / 12%)", "rgb(255 255 255 / 16%)"],
61
67
  borderSoft: schemeAlias(`${lineTokens.divider}`),
@@ -66,10 +72,10 @@ export const uiTokens = defineTokens("ui", {
66
72
  primaryHover: ["#43454a", "#ebeef2"],
67
73
  onPrimary: ["#ffffff", "#0f1115"],
68
74
  primarySoft: ["#ebeef2", "#43454a"],
69
- info: ["#4176e6", "#7aaaff"],
70
- warning: "#dd8629",
71
- success: "#22c55e",
72
- danger: ["#ec1313", "#f25a5a"],
75
+ info: ["#2f5fce", "#7aaaff"],
76
+ warning: ["#a85c00", "#f0a04b"],
77
+ success: ["#15803d", "#4ade80"],
78
+ danger: ["#d51d1d", "#f25a5a"],
73
79
  // Filled destructive actions are a Meowland extension: state red alone does
74
80
  // not provide readable small labels, especially with white ink in dark mode.
75
81
  dangerAction: ["#b91c1c", "#f25a5a"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meowtail",
3
- "version": "0.2.0-alpha.0",
3
+ "version": "0.2.0-alpha.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -34,6 +34,10 @@
34
34
  "types": "./dist/src/icons/index.d.ts",
35
35
  "import": "./dist/src/icons/index.js"
36
36
  },
37
+ "./icons/lucide": {
38
+ "types": "./dist/src/icons/lucide.d.ts",
39
+ "import": "./dist/src/icons/lucide.js"
40
+ },
37
41
  "./registry": {
38
42
  "types": "./dist/src/registry.d.ts",
39
43
  "import": "./dist/src/registry.js"
@@ -50,6 +54,7 @@
50
54
  "dependencies": {
51
55
  "@floating-ui/dom": "^1.8.0",
52
56
  "@shikijs/langs": "4.3.1",
57
+ "lucide": "1.59.0",
53
58
  "shiki": "4.3.1",
54
59
  "marked": "18.0.12"
55
60
  },
@@ -60,7 +65,7 @@
60
65
  "devDependencies": {
61
66
  "meowjsx": "0.1.1-alpha.0",
62
67
  "meowcss": "0.1.1-alpha.0",
63
- "meowbook": "0.1.2-alpha.0"
68
+ "meowbook": "0.1.2-alpha.1"
64
69
  },
65
70
  "repository": {
66
71
  "type": "git",