asta-ui 0.9.4 → 0.9.6

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 (130) hide show
  1. package/css/asta.css +2 -2
  2. package/css/asta.js +1461 -1
  3. package/css/components.css +1900 -138
  4. package/css/runtime/agent.css +136 -0
  5. package/css/runtime/agent.js +173 -0
  6. package/css/runtime/assist.css +79 -0
  7. package/css/runtime/assist.js +799 -0
  8. package/css/runtime/controls.css +48 -0
  9. package/css/runtime/controls.js +482 -0
  10. package/css/src/agent.css +484 -0
  11. package/css/src/assist.css +598 -0
  12. package/css/src/controls.css +424 -0
  13. package/css/tokens.css +16 -0
  14. package/dist/agent-plan.d.ts +2 -0
  15. package/dist/agent-plan.js +11 -0
  16. package/dist/agent-team.d.ts +2 -0
  17. package/dist/agent-team.js +7 -0
  18. package/dist/api-keys.d.ts +2 -0
  19. package/dist/api-keys.js +10 -0
  20. package/dist/autonomy-dial.d.ts +2 -0
  21. package/dist/autonomy-dial.js +7 -0
  22. package/dist/base/agent-plan.d.ts +2 -0
  23. package/dist/base/agent-plan.js +11 -0
  24. package/dist/base/agent-team.d.ts +2 -0
  25. package/dist/base/agent-team.js +7 -0
  26. package/dist/base/api-keys.d.ts +2 -0
  27. package/dist/base/api-keys.js +10 -0
  28. package/dist/base/autonomy-dial.d.ts +2 -0
  29. package/dist/base/autonomy-dial.js +7 -0
  30. package/dist/base/change-ledger.d.ts +2 -0
  31. package/dist/base/change-ledger.js +7 -0
  32. package/dist/base/citations.d.ts +2 -0
  33. package/dist/base/citations.js +9 -0
  34. package/dist/base/context-meter.d.ts +2 -0
  35. package/dist/base/context-meter.js +14 -0
  36. package/dist/base/fallback-chain.d.ts +2 -0
  37. package/dist/base/fallback-chain.js +7 -0
  38. package/dist/base/model-picker.d.ts +2 -0
  39. package/dist/base/model-picker.js +9 -0
  40. package/dist/base/prompt-composer.d.ts +2 -0
  41. package/dist/base/prompt-composer.js +9 -0
  42. package/dist/base/scrub-input.d.ts +2 -0
  43. package/dist/base/scrub-input.js +13 -0
  44. package/dist/base/thinking.d.ts +2 -0
  45. package/dist/base/thinking.js +11 -0
  46. package/dist/base/tool-approval.d.ts +2 -0
  47. package/dist/base/tool-approval.js +9 -0
  48. package/dist/base/trace-waterfall.d.ts +2 -0
  49. package/dist/base/trace-waterfall.js +9 -0
  50. package/dist/base.js +202 -134
  51. package/dist/change-ledger.d.ts +2 -0
  52. package/dist/change-ledger.js +7 -0
  53. package/dist/chunk-24O5V2PQ.js +253 -0
  54. package/dist/chunk-44DNL43W.js +490 -0
  55. package/dist/chunk-45IXJ7W7.js +245 -0
  56. package/dist/chunk-ANL6VX4X.js +326 -0
  57. package/dist/chunk-DNROUJ62.js +432 -0
  58. package/dist/chunk-F4CWSZXK.js +226 -0
  59. package/dist/chunk-GBOJUMMY.js +163 -0
  60. package/dist/chunk-H4NFBYKY.js +275 -0
  61. package/dist/chunk-KFPGQ5RT.js +321 -0
  62. package/dist/chunk-OIIMYSVT.js +342 -0
  63. package/dist/chunk-TL32C2SQ.js +221 -0
  64. package/dist/chunk-UBTYMAKF.js +240 -0
  65. package/dist/chunk-W6YVDJHX.js +235 -0
  66. package/dist/chunk-XYQI4ZYV.js +314 -0
  67. package/dist/citations.d.ts +2 -0
  68. package/dist/citations.js +9 -0
  69. package/dist/context-meter.d.ts +2 -0
  70. package/dist/context-meter.js +14 -0
  71. package/dist/fallback-chain.d.ts +2 -0
  72. package/dist/fallback-chain.js +7 -0
  73. package/dist/index.js +202 -134
  74. package/dist/model-picker.d.ts +2 -0
  75. package/dist/model-picker.js +9 -0
  76. package/dist/prompt-composer.d.ts +2 -0
  77. package/dist/prompt-composer.js +9 -0
  78. package/dist/scrub-input.d.ts +2 -0
  79. package/dist/scrub-input.js +13 -0
  80. package/dist/thinking.d.ts +2 -0
  81. package/dist/thinking.js +11 -0
  82. package/dist/tool-approval.d.ts +2 -0
  83. package/dist/tool-approval.js +9 -0
  84. package/dist/trace-waterfall.d.ts +2 -0
  85. package/dist/trace-waterfall.js +9 -0
  86. package/dist/types/components/kit/agent-plan.d.ts +34 -0
  87. package/dist/types/components/kit/api-keys.d.ts +62 -0
  88. package/dist/types/components/kit/citations.d.ts +34 -0
  89. package/dist/types/components/kit/context-meter.d.ts +38 -0
  90. package/dist/types/components/kit/model-picker.d.ts +46 -0
  91. package/dist/types/components/kit/prompt-composer.d.ts +61 -0
  92. package/dist/types/components/kit/scrub-input.d.ts +44 -0
  93. package/dist/types/components/kit/thinking.d.ts +28 -0
  94. package/dist/types/components/kit/tool-approval.d.ts +43 -0
  95. package/dist/types/components/kit/trace-waterfall.d.ts +44 -0
  96. package/dist/types/components/lab/blocks/AgentTeam.d.ts +2 -0
  97. package/dist/types/components/lab/blocks/AutonomyDial.d.ts +2 -0
  98. package/dist/types/components/lab/blocks/ChangeLedger.d.ts +2 -0
  99. package/dist/types/components/lab/blocks/FallbackChain.d.ts +2 -0
  100. package/dist/types/packages/asta-ui/src/agent-plan.d.ts +2 -0
  101. package/dist/types/packages/asta-ui/src/agent-team.d.ts +2 -0
  102. package/dist/types/packages/asta-ui/src/api-keys.d.ts +2 -0
  103. package/dist/types/packages/asta-ui/src/autonomy-dial.d.ts +2 -0
  104. package/dist/types/packages/asta-ui/src/base/agent-plan.d.ts +2 -0
  105. package/dist/types/packages/asta-ui/src/base/agent-team.d.ts +2 -0
  106. package/dist/types/packages/asta-ui/src/base/api-keys.d.ts +2 -0
  107. package/dist/types/packages/asta-ui/src/base/autonomy-dial.d.ts +2 -0
  108. package/dist/types/packages/asta-ui/src/base/change-ledger.d.ts +2 -0
  109. package/dist/types/packages/asta-ui/src/base/citations.d.ts +2 -0
  110. package/dist/types/packages/asta-ui/src/base/context-meter.d.ts +2 -0
  111. package/dist/types/packages/asta-ui/src/base/fallback-chain.d.ts +2 -0
  112. package/dist/types/packages/asta-ui/src/base/model-picker.d.ts +2 -0
  113. package/dist/types/packages/asta-ui/src/base/prompt-composer.d.ts +2 -0
  114. package/dist/types/packages/asta-ui/src/base/scrub-input.d.ts +2 -0
  115. package/dist/types/packages/asta-ui/src/base/thinking.d.ts +2 -0
  116. package/dist/types/packages/asta-ui/src/base/tool-approval.d.ts +2 -0
  117. package/dist/types/packages/asta-ui/src/base/trace-waterfall.d.ts +2 -0
  118. package/dist/types/packages/asta-ui/src/base.d.ts +25 -1
  119. package/dist/types/packages/asta-ui/src/change-ledger.d.ts +2 -0
  120. package/dist/types/packages/asta-ui/src/citations.d.ts +2 -0
  121. package/dist/types/packages/asta-ui/src/context-meter.d.ts +2 -0
  122. package/dist/types/packages/asta-ui/src/fallback-chain.d.ts +2 -0
  123. package/dist/types/packages/asta-ui/src/index.d.ts +25 -1
  124. package/dist/types/packages/asta-ui/src/model-picker.d.ts +2 -0
  125. package/dist/types/packages/asta-ui/src/prompt-composer.d.ts +2 -0
  126. package/dist/types/packages/asta-ui/src/scrub-input.d.ts +2 -0
  127. package/dist/types/packages/asta-ui/src/thinking.d.ts +2 -0
  128. package/dist/types/packages/asta-ui/src/tool-approval.d.ts +2 -0
  129. package/dist/types/packages/asta-ui/src/trace-waterfall.d.ts +2 -0
  130. package/package.json +1 -1
@@ -87,7 +87,7 @@ export { WorkspaceSwitcher } from "../../../components/kit/workspace-switcher";
87
87
  export type { Workspace, WorkspaceSwitcherProps } from "../../../components/kit/workspace-switcher";
88
88
  export { ToolDock } from "../../../components/kit/tool-dock";
89
89
  export type { DockTool, ToolDockProps } from "../../../components/kit/tool-dock";
90
- export { PropertiesPanel, PropSection, PropRow, ScrubInput, ColorField } from "../../../components/kit/properties-panel";
90
+ export { PropertiesPanel, PropSection, PropRow, ScrubInput as PropertiesPanelScrubInput, ColorField } from "../../../components/kit/properties-panel";
91
91
  export type { PropertiesPanelProps, PropSectionProps, PropRowProps, ScrubInputProps, ColorFieldProps } from "../../../components/kit/properties-panel";
92
92
  export { EmptyState } from "../../../components/kit/empty-state";
93
93
  export type { EmptyStateVariant, EmptyStateAction, EmptyStateProps } from "../../../components/kit/empty-state";
@@ -165,6 +165,26 @@ export { SettingsPanel } from "../../../components/kit/settings-panel";
165
165
  export type { Settings, SettingsPanelHandle, SettingsPanelProps } from "../../../components/kit/settings-panel";
166
166
  export { Newsletter, Footer } from "../../../components/kit/footer";
167
167
  export type { FooterColumn, FooterProps } from "../../../components/kit/footer";
168
+ export { formatThinkingTime, Thinking } from "../../../components/kit/thinking";
169
+ export type { ThinkingStatus, ThinkingProps } from "../../../components/kit/thinking";
170
+ export { formatTokens, ContextBreakdown, ContextMeter } from "../../../components/kit/context-meter";
171
+ export type { ContextSegment, ContextBreakdownProps, ContextMeterProps } from "../../../components/kit/context-meter";
172
+ export { parseScrubValue, ScrubInput, ScrubRow } from "../../../components/kit/scrub-input";
173
+ export type { ScrubInputProps as ScrubInputScrubInputProps, ScrubRowProps } from "../../../components/kit/scrub-input";
174
+ export { ModelPicker } from "../../../components/kit/model-picker";
175
+ export type { ModelOption, ModelPickerProps } from "../../../components/kit/model-picker";
176
+ export { Citations } from "../../../components/kit/citations";
177
+ export type { CitationSource, CitationsProps } from "../../../components/kit/citations";
178
+ export { ToolApproval } from "../../../components/kit/tool-approval";
179
+ export type { ToolDecision, ToolRisk, ToolKind, ToolCallRequest, ToolApprovalProps } from "../../../components/kit/tool-approval";
180
+ export { formatStepTime, AgentPlan } from "../../../components/kit/agent-plan";
181
+ export type { PlanStepStatus, PlanStep, AgentPlanProps } from "../../../components/kit/agent-plan";
182
+ export { PromptComposer } from "../../../components/kit/prompt-composer";
183
+ export type { ComposerMention, ComposerCommand, ComposerPart, ComposerMessage, PromptComposerProps } from "../../../components/kit/prompt-composer";
184
+ export { TraceWaterfall } from "../../../components/kit/trace-waterfall";
185
+ export type { SpanKind, TraceSpan, TraceWaterfallProps } from "../../../components/kit/trace-waterfall";
186
+ export { ApiKeys } from "../../../components/kit/api-keys";
187
+ export type { ApiKey, ApiKeyScope, NewApiKey, ApiKeysProps } from "../../../components/kit/api-keys";
168
188
  export { TextareaField, default as TextareaAui001 } from "../../../components/kit/variants/textarea-aui-001";
169
189
  export type { TextareaFieldProps } from "../../../components/kit/variants/textarea-aui-001";
170
190
  export { AutoGrowTextarea, default as TextareaAui002 } from "../../../components/kit/variants/textarea-aui-002";
@@ -330,3 +350,7 @@ export { default as Watchlist } from "../../../components/lab/blocks/Watchlist";
330
350
  export { default as SplitBill } from "../../../components/lab/blocks/SplitBill";
331
351
  export { default as FlashSale } from "../../../components/lab/blocks/FlashSale";
332
352
  export { default as PriceAlert } from "../../../components/lab/blocks/PriceAlert";
353
+ export { default as FallbackChain } from "../../../components/lab/blocks/FallbackChain";
354
+ export { default as AutonomyDial } from "../../../components/lab/blocks/AutonomyDial";
355
+ export { default as AgentTeam } from "../../../components/lab/blocks/AgentTeam";
356
+ export { default as ChangeLedger } from "../../../components/lab/blocks/ChangeLedger";
@@ -0,0 +1,2 @@
1
+ export * from "../../../components/kit/model-picker";
2
+ export { default } from "../../../components/kit/model-picker";
@@ -0,0 +1,2 @@
1
+ export * from "../../../components/kit/prompt-composer";
2
+ export { default } from "../../../components/kit/prompt-composer";
@@ -0,0 +1,2 @@
1
+ export * from "../../../components/kit/scrub-input";
2
+ export { default } from "../../../components/kit/scrub-input";
@@ -0,0 +1,2 @@
1
+ export * from "../../../components/kit/thinking";
2
+ export { default } from "../../../components/kit/thinking";
@@ -0,0 +1,2 @@
1
+ export * from "../../../components/kit/tool-approval";
2
+ export { default } from "../../../components/kit/tool-approval";
@@ -0,0 +1,2 @@
1
+ export * from "../../../components/kit/trace-waterfall";
2
+ export { default } from "../../../components/kit/trace-waterfall";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asta-ui",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
4
4
  "description": "Astabyte UI: motion-first React + Tailwind v4 components (Radix or Base UI). Install as a package, or copy the source with the CLI.",
5
5
  "keywords": [
6
6
  "astabyte",