@mechane-ai/elements 0.29.0 → 0.30.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.
- package/README.md +6 -0
- package/dist/ai.js +246 -168
- package/dist/{code-block-DPeyW4sm.js → code-block-BX51BVe1.js} +20 -19
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +3 -3
- package/dist/content/markdown.js +2 -2
- package/dist/content/tree.js +1 -1
- package/dist/content.js +1 -394
- package/dist/elements.css +8 -0
- package/dist/packages/ai/src/command-activity.d.ts +7 -0
- package/dist/packages/ai/src/command-details.d.ts +10 -0
- package/dist/packages/ai/src/index.d.ts +4 -0
- package/dist/packages/content/src/code/code-block.d.ts +2 -1
- package/dist/packages/content/src/log-viewer.d.ts +2 -1
- package/dist/packages/content/src/viewer-styles.d.ts +8 -0
- package/dist/{pierre-diff-C3U_qae6.js → pierre-diff-DOkqEUqx.js} +1 -1
- package/dist/src-DlNMCgVy.js +395 -0
- package/dist/{viewer-styles-CpHqp5Qv.js → viewer-styles-DsFYri4K.js} +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -139,6 +139,12 @@ sizing. The table owns its cell insets, so an enclosing page should not add anot
|
|
|
139
139
|
`Timeline.Item` compose readable activity with supplied titles, icons, timestamps, metadata, and body content, without
|
|
140
140
|
interpreting domain events.
|
|
141
141
|
|
|
142
|
+
`CommandActivity` from `/ai` presents a collapsed Bash command with supplied execution state. Its `CommandDetails` body
|
|
143
|
+
is also available for an existing trace disclosure. Supply command and output text separately, with explicit omission
|
|
144
|
+
notices when a preview is shortened. Commands use Bash highlighting; output stays plain unless the application supplies
|
|
145
|
+
a known `outputLanguage`. The embedded code and log variants share compact frames and separate copy controls. Keep
|
|
146
|
+
overall `ReplyIndicator` progress below command activity.
|
|
147
|
+
|
|
142
148
|
`Message` reserves space for secondary actions and reveals them on hover and keyboard focus; touch devices keep them
|
|
143
149
|
visible. `MessageAction` supplies a named icon button and tooltip. Keep errors, decisions, and current activity outside
|
|
144
150
|
that action region. `MessageBoundary` groups expandable context between messages. `PromptInput` keeps its label
|