@personai/agent-ui-composer-core 1.0.0-preview.4 → 1.0.0-preview.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 (2) hide show
  1. package/dist/styles.css +1 -1
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -1,2 +1,2 @@
1
- :is(.a2ui-approval-actions,.ef-chat__approval-batch-actions,.ef-chat__approval-batch-retry){--_approval-primary:var(--agent-ui-a2ui-color-primary,var(--agent-ui-chat-primary-color,var(--color-primary,#18181b)));--_approval-on-primary:var(--agent-ui-a2ui-color-on-primary,var(--agent-ui-chat-on-primary-color,var(--color-on-primary,#fff)));--_approval-surface:var(--agent-ui-a2ui-color-elevated-surface,var(--agent-ui-chat-surface-color,var(--color-elevated-surface,#fff)));--_approval-text:var(--agent-ui-a2ui-color-on-surface,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));--_approval-border:var(--agent-ui-a2ui-color-card-border,var(--agent-ui-chat-border-color,var(--color-card-border,#e5e5e5)));--_approval-hover:var(--agent-ui-a2ui-color-hover-surface,var(--agent-ui-chat-hover-color,var(--color-hover-surface,#f4f4f5)));--_approval-focus:var(--agent-ui-a2ui-color-focus-ring,var(--agent-ui-chat-focus-color,var(--color-focus-ring,#2f5f9f)))}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) button,.ef-chat__approval-batch-retry{min-height:var(--agent-ui-control-height,1.75rem);padding:.25rem var(--agent-ui-control-padding,.625rem);border:1px solid var(--_approval-border);border-radius:var(--agent-ui-control-radius,4px);background:var(--_approval-surface);color:var(--_approval-text);font:inherit;font-size:var(--agent-ui-control-font-size,.8125rem);font-weight:var(--agent-ui-a2ui-button-font-weight,500);white-space:nowrap;cursor:pointer;transition:background-color var(--_agent-ui-duration,.12s) ease, border-color var(--_agent-ui-duration,.12s) ease, color var(--_agent-ui-duration,.12s) ease;flex:none;justify-content:center;align-items:center;gap:.375rem;margin:0;line-height:1.25;display:inline-flex}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) button:hover:not(:disabled),.ef-chat__approval-batch-retry:hover:not(:disabled){background:var(--_approval-hover);border-color:color-mix(in srgb, var(--_approval-text) 24%, var(--_approval-border))}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) :is(.a2ui-approval-approve,.ef-chat__approval-batch-approve){background:var(--_approval-primary);color:var(--_approval-on-primary);border-color:#0000}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) :is(.a2ui-approval-approve,.ef-chat__approval-batch-approve):hover:not(:disabled){background:color-mix(in srgb, var(--_approval-primary) 88%, var(--_approval-surface));border-color:#0000}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) button:focus-visible,.ef-chat__approval-batch-retry:focus-visible{outline:2px solid var(--_approval-focus);outline-offset:2px}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) button:disabled,.ef-chat__approval-batch-retry:disabled{opacity:var(--agent-ui-a2ui-disabled-opacity,.46);cursor:not-allowed}:where(.ef-composer,.ef-chat,.ef-chat-window,.ef-chat-window__panel,.a2ui-surface){--_agent-ui-font:var(--agent-ui-font,var(--agent-ui-skin-font,var(--font-sans,Inter, sans-serif)));--_agent-ui-control-height:var(--agent-ui-control-height,2rem);--_agent-ui-control-radius:var(--agent-ui-control-radius,4px);--_agent-ui-panel-radius:var(--agent-ui-panel-radius,8px);--_agent-ui-control-font-size:var(--agent-ui-control-font-size,.875rem);--_agent-ui-control-padding:var(--agent-ui-control-padding,.625rem);--_agent-ui-gap:var(--agent-ui-gap,.75rem);--_agent-ui-panel-padding:var(--agent-ui-panel-padding,1rem);--_agent-ui-duration:var(--agent-ui-motion-transition-duration,var(--agent-ui-transition-duration,.12s));font-family:var(--_agent-ui-font)}:where(.ef-composer,.ef-chat,.ef-chat-window,.a2ui-surface),:where(.ef-composer,.ef-chat,.ef-chat-window,.a2ui-surface) *,:where(.ef-composer,.ef-chat,.ef-chat-window,.a2ui-surface) :before,:where(.ef-composer,.ef-chat,.ef-chat-window,.a2ui-surface) :after{box-sizing:border-box}@media (prefers-reduced-motion:reduce){:where(.ef-composer,.ef-chat,.ef-chat-window,.a2ui-surface) *{transition-duration:0s!important}}.ef-composer{width:100%;min-width:0;color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));font-size:var(--agent-ui-composer-font-size,14px)}:where(.ef-composer) .ef-chat__queued-messages{gap:var(--agent-ui-composer-compact-gap,6px);margin-bottom:var(--agent-ui-gap,8px);flex-direction:column;display:flex}:where(.ef-composer) .ef-chat__queued-messages-header{align-items:center;gap:var(--agent-ui-composer-compact-gap,6px);color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));font-size:var(--agent-ui-composer-meta-font-size,12px);font-weight:var(--agent-ui-composer-emphasis-weight,600);display:flex}:where(.ef-composer) .ef-chat__queued-messages-count{min-width:var(--agent-ui-composer-count-size,18px);height:var(--agent-ui-composer-count-size,18px);border-radius:var(--agent-ui-composer-count-radius,999px);background:var(--agent-ui-chat-surface-soft,var(--agent-ui-chat-surface-soft-color,var(--color-surface-container,#f1edec)));color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));font-size:var(--agent-ui-composer-small-font-size,11px);justify-content:center;align-items:center;display:inline-flex}:where(.ef-composer) .ef-chat__queued-messages-list{max-height:var(--agent-ui-composer-queue-max-height,132px);gap:var(--agent-ui-composer-small-gap,4px);flex-direction:column;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}:where(.ef-composer) .ef-chat__queued-message{align-items:center;gap:var(--agent-ui-gap,8px);border-radius:var(--agent-ui-composer-radius,var(--agent-ui-control-radius,6px));background:var(--agent-ui-chat-surface-soft,var(--agent-ui-chat-surface-soft-color,var(--color-surface-container,#f1edec)));min-width:0;padding:var(--agent-ui-composer-queue-padding,6px 8px);flex-shrink:0;display:flex;position:relative}:where(.ef-composer) .ef-chat__queued-message[draggable=true]{cursor:grab}:where(.ef-composer) .ef-chat__queued-message[data-dragging=true]{opacity:.5}:where(.ef-composer) .ef-chat__queue-drag-handle{cursor:grab;touch-action:none;flex:none}:where(.ef-composer) .ef-chat__queued-messages-list[data-sorting=true],:where(.ef-composer) .ef-chat__queued-messages-list[data-sorting=true] *{cursor:grabbing;-webkit-user-select:none;user-select:none}:where(.ef-composer) .ef-chat__queued-message[data-drop-position]:after{z-index:1;background:var(--agent-ui-chat-primary,var(--agent-ui-chat-primary-color,var(--color-primary,#000)));content:"";pointer-events:none;border-radius:1px;height:2px;position:absolute;left:0;right:0}:where(.ef-composer) .ef-chat__queued-message[data-drop-position=before]:after{top:0}:where(.ef-composer) .ef-chat__queued-message[data-drop-position=after]:after{bottom:0}:where(.ef-composer) .ef-chat__queued-message-content{min-width:0;font-size:var(--agent-ui-composer-meta-font-size,12px);line-height:var(--agent-ui-composer-queue-line-height,1.45);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}:where(.ef-composer) .ef-chat__queued-message-actions{align-items:center;gap:var(--agent-ui-composer-inline-gap,2px);flex:none;display:inline-flex}:where(.ef-composer) .ef-chat__composer{min-height:var(--agent-ui-composer-min-height,112px);border-radius:var(--agent-ui-composer-radius,var(--agent-ui-control-radius,6px));background:var(--agent-ui-chat-surface-strong,var(--agent-ui-chat-surface-strong-color,var(--color-surface-container-lowest,#fff)));width:100%;box-shadow:var(--agent-ui-composer-shadow,inset 0 0 0 1px #0f172a0e);padding:var(--agent-ui-composer-padding,var(--agent-ui-panel-padding,12px));flex-direction:column;display:flex;position:relative}:where(.ef-composer) .ef-chat__suggestions{z-index:20;right:0;bottom:calc(100% + var(--agent-ui-composer-menu-gap,8px));max-height:var(--agent-ui-composer-menu-max-height,min(320px, 50vh));border:var(--agent-ui-composer-border-width,1px) solid var(--agent-ui-chat-border,var(--agent-ui-chat-border-color,var(--color-outline-variant,#c4c7c7)));border-radius:var(--agent-ui-composer-menu-radius,var(--agent-ui-panel-radius,10px));background:var(--agent-ui-chat-surface-strong,var(--agent-ui-chat-surface-strong-color,var(--color-surface-container-lowest,#fff)));box-shadow:var(--agent-ui-composer-menu-shadow,0 8px 28px #0f172a24);padding:var(--agent-ui-composer-menu-padding,6px);position:absolute;left:0;overflow:auto}:where(.ef-composer) .ef-chat__suggestion-group+.ef-chat__suggestion-group{margin-top:var(--agent-ui-composer-compact-gap,6px)}:where(.ef-composer) .ef-chat__suggestion-heading{padding:var(--agent-ui-composer-menu-heading-padding,5px 9px);color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));font-size:var(--agent-ui-composer-small-font-size,11px)}:where(.ef-composer) .ef-chat__suggestion{align-items:baseline;gap:var(--agent-ui-gap,8px);border-radius:var(--agent-ui-composer-radius,var(--agent-ui-control-radius,6px));width:100%;color:inherit;cursor:pointer;padding:var(--agent-ui-composer-suggestion-padding,7px 9px);text-align:left;background:0 0;border:0;display:flex}:where(.ef-composer) .ef-chat__suggestion[data-active=true],:where(.ef-composer) .ef-chat__suggestion:hover{background:var(--agent-ui-chat-hover,var(--agent-ui-chat-hover-color,var(--color-hover-surface,#f2f2f7)))}:where(.ef-composer) .ef-chat__suggestion-name{font-size:var(--agent-ui-composer-detail-font-size,13px);flex:none}:where(.ef-composer) .ef-chat__suggestion-description{color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));font-size:var(--agent-ui-composer-meta-font-size,12px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:where(.ef-composer) .ef-chat__composer-header{gap:var(--agent-ui-gap,8px);min-width:0;margin-bottom:var(--agent-ui-gap,8px);flex-wrap:wrap;display:flex}:where(.ef-composer) .ef-chat__composer-editor{min-height:var(--agent-ui-composer-editor-min-height,72px);flex:1;width:100%;min-width:0;position:relative}:where(.ef-composer) .ef-chat__composer-overlay,:where(.ef-composer) .ef-chat__textarea{box-sizing:border-box;font:inherit;line-height:var(--agent-ui-composer-line-height,normal);white-space:pre-wrap;overflow-wrap:break-word;margin:0;padding:0;position:absolute;inset:0}:where(.ef-composer) .ef-chat__composer-overlay{z-index:0;color:inherit;pointer-events:none;overflow:hidden}:where(.ef-composer) .ef-chat__composer-editor:not([data-has-tokens=true]) .ef-chat__composer-overlay{display:none}:where(.ef-composer) .ef-chat__skill-token{border-radius:var(--agent-ui-control-radius,4px);background:var(--agent-ui-chat-hover,var(--agent-ui-chat-hover-color,var(--color-hover-surface,#f2f2f7)));box-shadow:0 0 0 var(--agent-ui-composer-skill-outline-width,2px) var(--agent-ui-chat-hover,var(--agent-ui-chat-hover-color,var(--color-hover-surface,#f2f2f7)));color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));vertical-align:baseline}:where(.ef-composer) .ef-chat__skill-token-label{max-width:var(--agent-ui-composer-skill-max-width,240px);font-size:var(--agent-ui-composer-skill-font-size,.94em);font-weight:var(--agent-ui-composer-emphasis-weight,600);text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap;display:inline-block;overflow:hidden}:where(.ef-composer) .ef-chat__textarea{z-index:1;min-height:var(--agent-ui-composer-editor-min-height,72px);resize:none;color:#0000;-webkit-text-fill-color:transparent;width:100%;height:100%;caret-color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));background:0 0;border:0;outline:none}:where(.ef-composer) .ef-chat__composer-editor:not([data-has-tokens=true]) .ef-chat__textarea{color:inherit;-webkit-text-fill-color:currentColor}:where(.ef-composer) .ef-chat__textarea::placeholder{color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));-webkit-text-fill-color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)))}:where(.ef-composer) .ef-chat__textarea:focus::placeholder{color:#0000;-webkit-text-fill-color:transparent}:where(.ef-composer) .ef-chat__composer-row{align-items:center;gap:var(--agent-ui-gap,8px);margin-top:var(--agent-ui-composer-row-gap,12px);flex-wrap:wrap;display:flex}:where(.ef-composer) .ef-chat__composer-addon{gap:var(--agent-ui-gap,8px);flex-wrap:wrap;flex:1;min-width:0;display:flex}:where(.ef-composer) .ef-chat__composer-actions{align-items:center;gap:var(--agent-ui-gap,8px);flex:none;display:inline-flex}:where(.ef-composer) .ef-chat__button_send{width:var(--_agent-ui-control-height);height:var(--_agent-ui-control-height);font-size:var(--agent-ui-composer-send-font-size,20px);padding:0}:where(.ef-composer) .ef-chat__button,:where(.ef-composer) .ef-chat__icon-button{justify-content:center;align-items:center;gap:var(--agent-ui-composer-compact-gap,6px);cursor:pointer;font-family:inherit;font-size:var(--_agent-ui-control-font-size);font-weight:var(--agent-ui-composer-control-weight,500);transition:background var(--_agent-ui-duration) ease, opacity var(--_agent-ui-duration) ease;border:0;display:inline-flex}:where(.ef-composer) .ef-chat__button:hover{filter:brightness(var(--agent-ui-composer-hover-brightness,.96))}:where(.ef-composer) .ef-chat__button:disabled,:where(.ef-composer) .ef-chat__icon-button:disabled{cursor:not-allowed;opacity:var(--agent-ui-composer-disabled-opacity,.46);transform:none}:where(.ef-composer) .ef-chat__button{min-height:var(--_agent-ui-control-height);border-radius:var(--_agent-ui-control-radius);background:var(--agent-ui-chat-primary,var(--agent-ui-chat-primary-color,var(--color-primary,#000)));color:var(--agent-ui-chat-on-primary,var(--agent-ui-chat-on-primary-color,var(--color-on-primary,#fff)));padding:var(--agent-ui-composer-button-padding,0 var(--_agent-ui-control-padding))}:where(.ef-composer) .ef-chat__button--secondary{background:var(--agent-ui-chat-surface-soft,var(--agent-ui-chat-surface-soft-color,var(--color-surface-container,#f1edec)));color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)))}:where(.ef-composer) .ef-chat__button--danger{background:var(--agent-ui-chat-danger,var(--agent-ui-chat-danger-color,var(--color-error,#ba1a1a)));color:var(--agent-ui-chat-danger-text,var(--agent-ui-chat-danger-text-color,var(--color-on-error,#fff)))}:where(.ef-composer) .ef-chat__icon-button{height:var(--agent-ui-composer-icon-control-size,24px);width:var(--agent-ui-composer-icon-control-size,24px);border-radius:var(--_agent-ui-control-radius);color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));background:0 0}:where(.ef-composer) .ef-chat__button:focus-visible,:where(.ef-composer) .ef-chat__icon-button:focus-visible{outline:var(--agent-ui-composer-focus-width,2px) solid var(--agent-ui-chat-focus,var(--agent-ui-chat-focus-color,var(--color-focus-ring,#2f5f9f)));outline-offset:var(--agent-ui-composer-focus-offset,3px);box-shadow:none}:where(.ef-composer) .ef-chat__icon-button:hover{background:var(--agent-ui-chat-hover,var(--agent-ui-chat-hover-color,var(--color-hover-surface,#f2f2f7)));color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)))}:where(.ef-composer) .ef-chat__runtime-attachments{align-items:center;gap:var(--agent-ui-gap,8px);flex-wrap:wrap;flex:1;min-width:0;display:flex}:where(.ef-composer) .ef-chat__runtime-attachments--pending{flex:none;align-items:stretch;width:100%}:where(.ef-composer) .ef-chat__runtime-attachment-image,:where(.ef-composer) .ef-chat__runtime-attachment-file{border:var(--agent-ui-composer-border-width,1px) solid var(--agent-ui-chat-border,var(--agent-ui-chat-border-color,var(--color-outline-variant,#c4c7c7)));border-radius:var(--agent-ui-composer-attachment-radius,12px);background:var(--agent-ui-chat-surface-soft,var(--agent-ui-chat-surface-soft-color,var(--color-surface-container,#f1edec)));min-width:0;display:flex;position:relative;overflow:hidden}:where(.ef-composer) .ef-chat__runtime-attachment-image{width:var(--agent-ui-composer-image-width,88px);height:var(--agent-ui-composer-attachment-height,64px);justify-content:center;align-items:center}:where(.ef-composer) .ef-chat__runtime-attachment-image img{object-fit:cover;width:100%;height:100%;display:block}:where(.ef-composer) .ef-chat__runtime-attachment-file{width:min(var(--agent-ui-composer-file-width,280px), 100%);min-height:var(--agent-ui-composer-attachment-height,64px);align-items:center;gap:var(--agent-ui-gap,12px);padding:var(--agent-ui-composer-file-padding,8px 40px 8px 10px)}:where(.ef-composer) .ef-chat__runtime-attachment-file-icon{width:var(--agent-ui-composer-file-icon-box-size,44px);height:var(--agent-ui-composer-file-icon-box-size,44px);border-radius:var(--agent-ui-composer-menu-radius,var(--agent-ui-panel-radius,10px));background:var(--agent-ui-chat-surface-muted,var(--agent-ui-chat-surface-muted-color,var(--color-surface-container-low,#f7f3f2)));color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));flex:none;justify-content:center;align-items:center;display:inline-flex}:where(.ef-composer) .ef-chat__runtime-attachment-file-info{gap:var(--agent-ui-composer-inline-gap,2px);text-align:left;flex-direction:column;min-width:0;display:flex}:where(.ef-composer) .ef-chat__runtime-attachment-file-name,:where(.ef-composer) .ef-chat__runtime-attachment-file-type{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:where(.ef-composer) .ef-chat__runtime-attachment-file-name{color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));font-size:var(--agent-ui-composer-font-size,14px);font-weight:var(--agent-ui-composer-emphasis-weight,600)}:where(.ef-composer) .ef-chat__runtime-attachment-file-type{color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));font-size:var(--agent-ui-composer-detail-font-size,13px)}:where(.ef-composer) .ef-chat__runtime-attachment-input{display:none}:where(.ef-composer) .ef-chat__runtime-attachment-remove{border-radius:var(--agent-ui-composer-remove-radius,50%);color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}:where(.ef-composer) .ef-chat__runtime-attachment-remove--floating{top:var(--agent-ui-composer-remove-inset,6px);right:var(--agent-ui-composer-remove-inset,6px);width:var(--agent-ui-composer-icon-control-size,24px);height:var(--agent-ui-composer-icon-control-size,24px);border-radius:var(--agent-ui-composer-remove-radius,50%);background:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));color:var(--agent-ui-chat-surface-strong,var(--agent-ui-chat-surface-strong-color,var(--color-surface-container-lowest,#fff)));position:absolute}:where(.ef-composer) .ef-chat__runtime-attachment-remove:hover{color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)))}:where(.ef-composer) .ef-chat__button_send{padding:0}.ef-composer .ef-chat__composer[data-input-disabled=true]{background:var(--agent-ui-chat-surface-soft,var(--agent-ui-chat-surface-soft-color,var(--color-surface-container,#f1edec)));outline:1px dashed var(--agent-ui-chat-border,var(--agent-ui-chat-border-color,var(--color-outline-variant,#c4c7c7)));outline-offset:-1px;box-shadow:none}.ef-composer .ef-chat__composer[data-input-disabled=true] .ef-chat__composer-editor:not([data-input-locked=true]){opacity:.55}.ef-composer .ef-chat__composer-editor[data-input-locked=true] :is(.ef-chat__textarea,.ef-chat__composer-overlay){visibility:hidden}.ef-composer .ef-chat__composer[data-input-disabled=true] :is(button:disabled,fieldset:disabled){opacity:.4}.ef-composer .ef-chat__composer[data-input-disabled=true] fieldset:disabled button:disabled{opacity:1}.ef-composer .ef-chat__composer[data-input-disabled=true] :is(textarea,button):disabled{cursor:not-allowed}.ef-composer .ef-chat__composer-disabled-reason{text-align:center;cursor:not-allowed;color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));overflow-wrap:anywhere;justify-content:center;align-items:center;gap:8px;padding:12px;font-size:12px;line-height:1.5;display:flex;position:absolute;inset:0}.ef-composer .ef-chat__composer-disabled-reason svg{flex:none}
1
+ :is(.a2ui-approval-actions,.ef-chat__approval-batch-actions,.ef-chat__approval-batch-retry){--_approval-primary:var(--agent-ui-a2ui-color-primary,var(--agent-ui-chat-primary-color,var(--color-primary,#18181b)));--_approval-on-primary:var(--agent-ui-a2ui-color-on-primary,var(--agent-ui-chat-on-primary-color,var(--color-on-primary,#fff)));--_approval-surface:var(--agent-ui-a2ui-color-elevated-surface,var(--agent-ui-chat-surface-color,var(--color-elevated-surface,#fff)));--_approval-text:var(--agent-ui-a2ui-color-on-surface,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));--_approval-border:var(--agent-ui-a2ui-color-card-border,var(--agent-ui-chat-border-color,var(--color-card-border,#e5e5e5)));--_approval-hover:var(--agent-ui-a2ui-color-hover-surface,var(--agent-ui-chat-hover-color,var(--color-hover-surface,#f4f4f5)));--_approval-focus:var(--agent-ui-a2ui-color-focus-ring,var(--agent-ui-chat-focus-color,var(--color-focus-ring,#2f5f9f)))}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) button,.ef-chat__approval-batch-retry{min-height:var(--agent-ui-control-height,1.75rem);padding:.25rem var(--agent-ui-control-padding,.625rem);border:1px solid var(--_approval-border);border-radius:var(--agent-ui-control-radius,4px);background:var(--_approval-surface);color:var(--_approval-text);font:inherit;font-size:var(--agent-ui-control-font-size,.8125rem);font-weight:var(--agent-ui-a2ui-button-font-weight,500);white-space:nowrap;cursor:pointer;transition:background-color var(--_agent-ui-duration,.12s) ease, border-color var(--_agent-ui-duration,.12s) ease, color var(--_agent-ui-duration,.12s) ease;flex:none;justify-content:center;align-items:center;gap:.375rem;margin:0;line-height:1.25;display:inline-flex}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) button:hover:not(:disabled),.ef-chat__approval-batch-retry:hover:not(:disabled){background:var(--_approval-hover);border-color:color-mix(in srgb, var(--_approval-text) 24%, var(--_approval-border))}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) :is(.a2ui-approval-approve,.ef-chat__approval-batch-approve){background:var(--_approval-primary);color:var(--_approval-on-primary);border-color:#0000}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) :is(.a2ui-approval-approve,.ef-chat__approval-batch-approve):hover:not(:disabled){background:color-mix(in srgb, var(--_approval-primary) 88%, var(--_approval-surface));border-color:#0000}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) button:focus-visible,.ef-chat__approval-batch-retry:focus-visible{outline:2px solid var(--_approval-focus);outline-offset:2px}:is(.a2ui-approval-actions,.ef-chat__approval-batch-actions) button:disabled,.ef-chat__approval-batch-retry:disabled{opacity:var(--agent-ui-a2ui-disabled-opacity,.46);cursor:not-allowed}:where(.ef-composer,.ef-chat,.ef-chat-window,.ef-chat-window__panel,.a2ui-surface){--_agent-ui-font:var(--agent-ui-font,var(--agent-ui-skin-font,var(--font-sans,Inter, sans-serif)));--_agent-ui-control-height:var(--agent-ui-control-height,2rem);--_agent-ui-control-radius:var(--agent-ui-control-radius,4px);--_agent-ui-panel-radius:var(--agent-ui-panel-radius,8px);--_agent-ui-control-font-size:var(--agent-ui-control-font-size,.875rem);--_agent-ui-control-padding:var(--agent-ui-control-padding,.625rem);--_agent-ui-gap:var(--agent-ui-gap,.75rem);--_agent-ui-panel-padding:var(--agent-ui-panel-padding,1rem);--_agent-ui-duration:var(--agent-ui-motion-transition-duration,var(--agent-ui-transition-duration,.12s));font-family:var(--_agent-ui-font)}:where(.ef-composer,.ef-chat,.ef-chat-window,.a2ui-surface),:where(.ef-composer,.ef-chat,.ef-chat-window,.a2ui-surface) *,:where(.ef-composer,.ef-chat,.ef-chat-window,.a2ui-surface) :before,:where(.ef-composer,.ef-chat,.ef-chat-window,.a2ui-surface) :after{box-sizing:border-box}@media (prefers-reduced-motion:reduce){:where(.ef-composer,.ef-chat,.ef-chat-window,.a2ui-surface) *{transition-duration:0s!important}}.ef-chat__compaction-details>summary{cursor:pointer}.ef-chat__compaction-details>summary:focus-visible{outline:2px solid var(--agent-ui-chat-focus);outline-offset:2px}.ef-chat__compaction-blocks{margin:var(--agent-ui-space-2,8px) 0 0;color:var(--agent-ui-chat-text);font-variant-numeric:tabular-nums;padding-inline-start:var(--agent-ui-space-4,16px);font-weight:400}.ef-chat__compaction-blocks>li+li{margin-top:var(--agent-ui-space-1,4px)}.ef-composer{width:100%;min-width:0;color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));font-size:var(--agent-ui-composer-font-size,14px)}:where(.ef-composer) .ef-chat__queued-messages{gap:var(--agent-ui-composer-compact-gap,6px);margin-bottom:var(--agent-ui-gap,8px);flex-direction:column;display:flex}:where(.ef-composer) .ef-chat__queued-messages-header{align-items:center;gap:var(--agent-ui-composer-compact-gap,6px);color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));font-size:var(--agent-ui-composer-meta-font-size,12px);font-weight:var(--agent-ui-composer-emphasis-weight,600);display:flex}:where(.ef-composer) .ef-chat__queued-messages-count{min-width:var(--agent-ui-composer-count-size,18px);height:var(--agent-ui-composer-count-size,18px);border-radius:var(--agent-ui-composer-count-radius,999px);background:var(--agent-ui-chat-surface-soft,var(--agent-ui-chat-surface-soft-color,var(--color-surface-container,#f1edec)));color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));font-size:var(--agent-ui-composer-small-font-size,11px);justify-content:center;align-items:center;display:inline-flex}:where(.ef-composer) .ef-chat__queued-messages-list{max-height:var(--agent-ui-composer-queue-max-height,132px);gap:var(--agent-ui-composer-small-gap,4px);flex-direction:column;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}:where(.ef-composer) .ef-chat__queued-message{align-items:center;gap:var(--agent-ui-gap,8px);border-radius:var(--agent-ui-composer-radius,var(--agent-ui-control-radius,6px));background:var(--agent-ui-chat-surface-soft,var(--agent-ui-chat-surface-soft-color,var(--color-surface-container,#f1edec)));min-width:0;padding:var(--agent-ui-composer-queue-padding,6px 8px);flex-shrink:0;display:flex;position:relative}:where(.ef-composer) .ef-chat__queued-message[draggable=true]{cursor:grab}:where(.ef-composer) .ef-chat__queued-message[data-dragging=true]{opacity:.5}:where(.ef-composer) .ef-chat__queue-drag-handle{cursor:grab;touch-action:none;flex:none}:where(.ef-composer) .ef-chat__queued-messages-list[data-sorting=true],:where(.ef-composer) .ef-chat__queued-messages-list[data-sorting=true] *{cursor:grabbing;-webkit-user-select:none;user-select:none}:where(.ef-composer) .ef-chat__queued-message[data-drop-position]:after{z-index:1;background:var(--agent-ui-chat-primary,var(--agent-ui-chat-primary-color,var(--color-primary,#000)));content:"";pointer-events:none;border-radius:1px;height:2px;position:absolute;left:0;right:0}:where(.ef-composer) .ef-chat__queued-message[data-drop-position=before]:after{top:0}:where(.ef-composer) .ef-chat__queued-message[data-drop-position=after]:after{bottom:0}:where(.ef-composer) .ef-chat__queued-message-content{min-width:0;font-size:var(--agent-ui-composer-meta-font-size,12px);line-height:var(--agent-ui-composer-queue-line-height,1.45);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}:where(.ef-composer) .ef-chat__queued-message-actions{align-items:center;gap:var(--agent-ui-composer-inline-gap,2px);flex:none;display:inline-flex}:where(.ef-composer) .ef-chat__composer{min-height:var(--agent-ui-composer-min-height,112px);border-radius:var(--agent-ui-composer-radius,var(--agent-ui-control-radius,6px));background:var(--agent-ui-chat-surface-strong,var(--agent-ui-chat-surface-strong-color,var(--color-surface-container-lowest,#fff)));width:100%;box-shadow:var(--agent-ui-composer-shadow,inset 0 0 0 1px #0f172a0e);padding:var(--agent-ui-composer-padding,var(--agent-ui-panel-padding,12px));flex-direction:column;display:flex;position:relative}:where(.ef-composer) .ef-chat__suggestions{z-index:20;right:0;bottom:calc(100% + var(--agent-ui-composer-menu-gap,8px));max-height:var(--agent-ui-composer-menu-max-height,min(320px, 50vh));border:var(--agent-ui-composer-border-width,1px) solid var(--agent-ui-chat-border,var(--agent-ui-chat-border-color,var(--color-outline-variant,#c4c7c7)));border-radius:var(--agent-ui-composer-menu-radius,var(--agent-ui-panel-radius,10px));background:var(--agent-ui-chat-surface-strong,var(--agent-ui-chat-surface-strong-color,var(--color-surface-container-lowest,#fff)));box-shadow:var(--agent-ui-composer-menu-shadow,0 8px 28px #0f172a24);padding:var(--agent-ui-composer-menu-padding,6px);position:absolute;left:0;overflow:auto}:where(.ef-composer) .ef-chat__suggestion-group+.ef-chat__suggestion-group{margin-top:var(--agent-ui-composer-compact-gap,6px)}:where(.ef-composer) .ef-chat__suggestion-heading{padding:var(--agent-ui-composer-menu-heading-padding,5px 9px);color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));font-size:var(--agent-ui-composer-small-font-size,11px)}:where(.ef-composer) .ef-chat__suggestion{align-items:baseline;gap:var(--agent-ui-gap,8px);border-radius:var(--agent-ui-composer-radius,var(--agent-ui-control-radius,6px));width:100%;color:inherit;cursor:pointer;padding:var(--agent-ui-composer-suggestion-padding,7px 9px);text-align:left;background:0 0;border:0;display:flex}:where(.ef-composer) .ef-chat__suggestion[data-active=true],:where(.ef-composer) .ef-chat__suggestion:hover{background:var(--agent-ui-chat-hover,var(--agent-ui-chat-hover-color,var(--color-hover-surface,#f2f2f7)))}:where(.ef-composer) .ef-chat__suggestion-name{font-size:var(--agent-ui-composer-detail-font-size,13px);flex:none}:where(.ef-composer) .ef-chat__suggestion-description{color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));font-size:var(--agent-ui-composer-meta-font-size,12px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:where(.ef-composer) .ef-chat__composer-header{gap:var(--agent-ui-gap,8px);min-width:0;margin-bottom:var(--agent-ui-gap,8px);flex-wrap:wrap;display:flex}:where(.ef-composer) .ef-chat__composer-editor{min-height:var(--agent-ui-composer-editor-min-height,72px);flex:1;width:100%;min-width:0;position:relative}:where(.ef-composer) .ef-chat__composer-overlay,:where(.ef-composer) .ef-chat__textarea{box-sizing:border-box;font:inherit;line-height:var(--agent-ui-composer-line-height,normal);white-space:pre-wrap;overflow-wrap:break-word;margin:0;padding:0;position:absolute;inset:0}:where(.ef-composer) .ef-chat__composer-overlay{z-index:0;color:inherit;pointer-events:none;overflow:hidden}:where(.ef-composer) .ef-chat__composer-editor:not([data-has-tokens=true]) .ef-chat__composer-overlay{display:none}:where(.ef-composer) .ef-chat__skill-token{border-radius:var(--agent-ui-control-radius,4px);background:var(--agent-ui-chat-hover,var(--agent-ui-chat-hover-color,var(--color-hover-surface,#f2f2f7)));box-shadow:0 0 0 var(--agent-ui-composer-skill-outline-width,2px) var(--agent-ui-chat-hover,var(--agent-ui-chat-hover-color,var(--color-hover-surface,#f2f2f7)));color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));vertical-align:baseline}:where(.ef-composer) .ef-chat__skill-token-label{max-width:var(--agent-ui-composer-skill-max-width,240px);font-size:var(--agent-ui-composer-skill-font-size,.94em);font-weight:var(--agent-ui-composer-emphasis-weight,600);text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap;display:inline-block;overflow:hidden}:where(.ef-composer) .ef-chat__textarea{z-index:1;min-height:var(--agent-ui-composer-editor-min-height,72px);resize:none;color:#0000;-webkit-text-fill-color:transparent;width:100%;height:100%;caret-color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));background:0 0;border:0;outline:none}:where(.ef-composer) .ef-chat__composer-editor:not([data-has-tokens=true]) .ef-chat__textarea{color:inherit;-webkit-text-fill-color:currentColor}:where(.ef-composer) .ef-chat__textarea::placeholder{color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));-webkit-text-fill-color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)))}:where(.ef-composer) .ef-chat__textarea:focus::placeholder{color:#0000;-webkit-text-fill-color:transparent}:where(.ef-composer) .ef-chat__composer-row{align-items:center;gap:var(--agent-ui-gap,8px);margin-top:var(--agent-ui-composer-row-gap,12px);flex-wrap:wrap;display:flex}:where(.ef-composer) .ef-chat__composer-addon{gap:var(--agent-ui-gap,8px);flex-wrap:wrap;flex:1;min-width:0;display:flex}:where(.ef-composer) .ef-chat__composer-actions{align-items:center;gap:var(--agent-ui-gap,8px);flex:none;display:inline-flex}:where(.ef-composer) .ef-chat__button_send{width:var(--_agent-ui-control-height);height:var(--_agent-ui-control-height);font-size:var(--agent-ui-composer-send-font-size,20px);padding:0}:where(.ef-composer) .ef-chat__button,:where(.ef-composer) .ef-chat__icon-button{justify-content:center;align-items:center;gap:var(--agent-ui-composer-compact-gap,6px);cursor:pointer;font-family:inherit;font-size:var(--_agent-ui-control-font-size);font-weight:var(--agent-ui-composer-control-weight,500);transition:background var(--_agent-ui-duration) ease, opacity var(--_agent-ui-duration) ease;border:0;display:inline-flex}:where(.ef-composer) .ef-chat__button:hover{filter:brightness(var(--agent-ui-composer-hover-brightness,.96))}:where(.ef-composer) .ef-chat__button:disabled,:where(.ef-composer) .ef-chat__icon-button:disabled{cursor:not-allowed;opacity:var(--agent-ui-composer-disabled-opacity,.46);transform:none}:where(.ef-composer) .ef-chat__button{min-height:var(--_agent-ui-control-height);border-radius:var(--_agent-ui-control-radius);background:var(--agent-ui-chat-primary,var(--agent-ui-chat-primary-color,var(--color-primary,#000)));color:var(--agent-ui-chat-on-primary,var(--agent-ui-chat-on-primary-color,var(--color-on-primary,#fff)));padding:var(--agent-ui-composer-button-padding,0 var(--_agent-ui-control-padding))}:where(.ef-composer) .ef-chat__button--secondary{background:var(--agent-ui-chat-surface-soft,var(--agent-ui-chat-surface-soft-color,var(--color-surface-container,#f1edec)));color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)))}:where(.ef-composer) .ef-chat__button--danger{background:var(--agent-ui-chat-danger,var(--agent-ui-chat-danger-color,var(--color-error,#ba1a1a)));color:var(--agent-ui-chat-danger-text,var(--agent-ui-chat-danger-text-color,var(--color-on-error,#fff)))}:where(.ef-composer) .ef-chat__icon-button{height:var(--agent-ui-composer-icon-control-size,24px);width:var(--agent-ui-composer-icon-control-size,24px);border-radius:var(--_agent-ui-control-radius);color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));background:0 0}:where(.ef-composer) .ef-chat__button:focus-visible,:where(.ef-composer) .ef-chat__icon-button:focus-visible{outline:var(--agent-ui-composer-focus-width,2px) solid var(--agent-ui-chat-focus,var(--agent-ui-chat-focus-color,var(--color-focus-ring,#2f5f9f)));outline-offset:var(--agent-ui-composer-focus-offset,3px);box-shadow:none}:where(.ef-composer) .ef-chat__icon-button:hover{background:var(--agent-ui-chat-hover,var(--agent-ui-chat-hover-color,var(--color-hover-surface,#f2f2f7)));color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)))}:where(.ef-composer) .ef-chat__runtime-attachments{align-items:center;gap:var(--agent-ui-gap,8px);flex-wrap:wrap;flex:1;min-width:0;display:flex}:where(.ef-composer) .ef-chat__runtime-attachments--pending{flex:none;align-items:stretch;width:100%}:where(.ef-composer) .ef-chat__runtime-attachment-image,:where(.ef-composer) .ef-chat__runtime-attachment-file{border:var(--agent-ui-composer-border-width,1px) solid var(--agent-ui-chat-border,var(--agent-ui-chat-border-color,var(--color-outline-variant,#c4c7c7)));border-radius:var(--agent-ui-composer-attachment-radius,12px);background:var(--agent-ui-chat-surface-soft,var(--agent-ui-chat-surface-soft-color,var(--color-surface-container,#f1edec)));min-width:0;display:flex;position:relative;overflow:hidden}:where(.ef-composer) .ef-chat__runtime-attachment-image{width:var(--agent-ui-composer-image-width,88px);height:var(--agent-ui-composer-attachment-height,64px);justify-content:center;align-items:center}:where(.ef-composer) .ef-chat__runtime-attachment-image img{object-fit:cover;width:100%;height:100%;display:block}:where(.ef-composer) .ef-chat__runtime-attachment-file{width:min(var(--agent-ui-composer-file-width,280px), 100%);min-height:var(--agent-ui-composer-attachment-height,64px);align-items:center;gap:var(--agent-ui-gap,12px);padding:var(--agent-ui-composer-file-padding,8px 40px 8px 10px)}:where(.ef-composer) .ef-chat__runtime-attachment-file-icon{width:var(--agent-ui-composer-file-icon-box-size,44px);height:var(--agent-ui-composer-file-icon-box-size,44px);border-radius:var(--agent-ui-composer-menu-radius,var(--agent-ui-panel-radius,10px));background:var(--agent-ui-chat-surface-muted,var(--agent-ui-chat-surface-muted-color,var(--color-surface-container-low,#f7f3f2)));color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));flex:none;justify-content:center;align-items:center;display:inline-flex}:where(.ef-composer) .ef-chat__runtime-attachment-file-info{gap:var(--agent-ui-composer-inline-gap,2px);text-align:left;flex-direction:column;min-width:0;display:flex}:where(.ef-composer) .ef-chat__runtime-attachment-file-name,:where(.ef-composer) .ef-chat__runtime-attachment-file-type{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:where(.ef-composer) .ef-chat__runtime-attachment-file-name{color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));font-size:var(--agent-ui-composer-font-size,14px);font-weight:var(--agent-ui-composer-emphasis-weight,600)}:where(.ef-composer) .ef-chat__runtime-attachment-file-type{color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));font-size:var(--agent-ui-composer-detail-font-size,13px)}:where(.ef-composer) .ef-chat__runtime-attachment-input{display:none}:where(.ef-composer) .ef-chat__runtime-attachment-remove{border-radius:var(--agent-ui-composer-remove-radius,50%);color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}:where(.ef-composer) .ef-chat__runtime-attachment-remove--floating{top:var(--agent-ui-composer-remove-inset,6px);right:var(--agent-ui-composer-remove-inset,6px);width:var(--agent-ui-composer-icon-control-size,24px);height:var(--agent-ui-composer-icon-control-size,24px);border-radius:var(--agent-ui-composer-remove-radius,50%);background:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)));color:var(--agent-ui-chat-surface-strong,var(--agent-ui-chat-surface-strong-color,var(--color-surface-container-lowest,#fff)));position:absolute}:where(.ef-composer) .ef-chat__runtime-attachment-remove:hover{color:var(--agent-ui-chat-text,var(--agent-ui-chat-text-color,var(--color-on-surface,#1c1b1b)))}:where(.ef-composer) .ef-chat__button_send{padding:0}.ef-composer .ef-chat__composer[data-input-disabled=true]{background:var(--agent-ui-chat-surface-soft,var(--agent-ui-chat-surface-soft-color,var(--color-surface-container,#f1edec)));outline:1px dashed var(--agent-ui-chat-border,var(--agent-ui-chat-border-color,var(--color-outline-variant,#c4c7c7)));outline-offset:-1px;box-shadow:none}.ef-composer .ef-chat__composer[data-input-disabled=true] .ef-chat__composer-editor:not([data-input-locked=true]){opacity:.55}.ef-composer .ef-chat__composer-editor[data-input-locked=true] :is(.ef-chat__textarea,.ef-chat__composer-overlay){visibility:hidden}.ef-composer .ef-chat__composer[data-input-disabled=true] :is(button:disabled,fieldset:disabled){opacity:.4}.ef-composer .ef-chat__composer[data-input-disabled=true] fieldset:disabled button:disabled{opacity:1}.ef-composer .ef-chat__composer[data-input-disabled=true] :is(textarea,button):disabled{cursor:not-allowed}.ef-composer .ef-chat__composer-disabled-reason{text-align:center;cursor:not-allowed;color:var(--agent-ui-chat-text-muted,var(--agent-ui-chat-text-muted-color,var(--color-on-surface-variant,#444748)));overflow-wrap:anywhere;justify-content:center;align-items:center;gap:8px;padding:12px;font-size:12px;line-height:1.5;display:flex;position:absolute;inset:0}.ef-composer .ef-chat__composer-disabled-reason svg{flex:none}
2
2
  /*$vite$:1*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@personai/agent-ui-composer-core",
3
- "version": "1.0.0-preview.4",
3
+ "version": "1.0.0-preview.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",