little-actors-observer 0.1.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.
@@ -0,0 +1,15 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <meta name="color-scheme" content="light dark" />
7
+ <title>Observability · little-actors</title>
8
+ <script type="module" crossorigin src="./app.js"></script>
9
+ <link rel="stylesheet" crossorigin href="./app.css">
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ <noscript>Enable JavaScript to use the actor observer.</noscript>
14
+ </body>
15
+ </html>
@@ -0,0 +1 @@
1
+ import "./standalone.css";
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:root,:host{--la-color-white:#fff;--la-spacing:.25rem;--la-text-xs:.75rem;--la-text-xs--line-height:calc(1 / .75);--la-text-sm:.875rem;--la-text-sm--line-height:calc(1.25 / .875);--la-font-weight-medium:500;--la-ease-out:cubic-bezier(0, 0, .2, 1);--la-default-transition-duration:.15s;--la-default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer base{.la-observer *,.la-observer :before,.la-observer :after{box-sizing:border-box;border:0 solid var(--border)}.la-observer button,.la-observer input,.la-observer select{font-family:inherit}.la-observer button,.la-observer select{cursor:pointer;touch-action:manipulation}}@layer components;@layer utilities{.la\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.la\:relative{position:relative}.la\:mt-4{margin-top:calc(var(--la-spacing) * 4)}.la\:flex{display:flex}.la\:inline-flex{display:inline-flex}.la\:size-8{width:calc(var(--la-spacing) * 8);height:calc(var(--la-spacing) * 8)}.la\:size-9{width:calc(var(--la-spacing) * 9);height:calc(var(--la-spacing) * 9)}.la\:size-10{width:calc(var(--la-spacing) * 10);height:calc(var(--la-spacing) * 10)}.la\:h-8{height:calc(var(--la-spacing) * 8)}.la\:h-9{height:calc(var(--la-spacing) * 9)}.la\:h-10{height:calc(var(--la-spacing) * 10)}.la\:w-full{width:100%}.la\:min-w-0{min-width:0}.la\:shrink-0{flex-shrink:0}.la\:caption-bottom{caption-side:bottom}.la\:items-center{align-items:center}.la\:justify-center{justify-content:center}.la\:gap-1\.5{gap:calc(var(--la-spacing) * 1.5)}.la\:gap-2{gap:calc(var(--la-spacing) * 2)}.la\:overflow-x-auto{overflow-x:auto}.la\:rounded-md{border-radius:calc(var(--radius) - 2px)}.la\:border{border-style:var(--tw-border-style);border-width:1px}.la\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.la\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.la\:border-border{border-color:var(--border)}.la\:border-input{border-color:var(--input)}.la\:border-transparent{border-color:#0000}.la\:bg-card{background-color:var(--card)}.la\:bg-destructive{background-color:var(--destructive)}.la\:bg-muted,.la\:bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.la\:bg-muted\/50{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.la\:bg-primary{background-color:var(--primary)}.la\:bg-secondary{background-color:var(--secondary)}.la\:bg-transparent{background-color:#0000}.la\:px-2{padding-inline:calc(var(--la-spacing) * 2)}.la\:px-3{padding-inline:calc(var(--la-spacing) * 3)}.la\:px-4{padding-inline:calc(var(--la-spacing) * 4)}.la\:px-5{padding-inline:calc(var(--la-spacing) * 5)}.la\:py-0\.5{padding-block:calc(var(--la-spacing) * .5)}.la\:py-1{padding-block:var(--la-spacing)}.la\:py-2{padding-block:calc(var(--la-spacing) * 2)}.la\:py-2\.5{padding-block:calc(var(--la-spacing) * 2.5)}.la\:text-left{text-align:left}.la\:align-middle{vertical-align:middle}.la\:text-sm{font-size:var(--la-text-sm);line-height:var(--tw-leading,var(--la-text-sm--line-height))}.la\:text-xs{font-size:var(--la-text-xs);line-height:var(--tw-leading,var(--la-text-xs--line-height))}.la\:font-medium{--tw-font-weight:var(--la-font-weight-medium);font-weight:var(--la-font-weight-medium)}.la\:whitespace-nowrap{white-space:nowrap}.la\:text-foreground{color:var(--foreground)}.la\:text-muted-foreground{color:var(--muted-foreground)}.la\:text-primary{color:var(--primary)}.la\:text-primary-foreground{color:var(--primary-foreground)}.la\:text-secondary-foreground{color:var(--secondary-foreground)}.la\:text-white{color:var(--la-color-white)}.la\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.la\:underline-offset-4{text-underline-offset:4px}.la\:shadow-\[var\(--shadow-control\)\]{--tw-shadow:var(--shadow-control);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.la\:transition-\[background-color\,border-color\,color\,box-shadow\,transform\]{transition-property:background-color,border-color,color,box-shadow,transform;transition-timing-function:var(--tw-ease,var(--la-default-transition-timing-function));transition-duration:var(--tw-duration,var(--la-default-transition-duration))}.la\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--la-default-transition-timing-function));transition-duration:var(--tw-duration,var(--la-default-transition-duration))}.la\:duration-150{--tw-duration:.15s;transition-duration:.15s}.la\:ease-out{--tw-ease:var(--la-ease-out);transition-timing-function:var(--la-ease-out)}.la\:outline-none{--tw-outline-style:none;outline-style:none}.la\:placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}@media (hover:hover){.la\:hover\:border-foreground\/20:hover{border-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.la\:hover\:border-foreground\/20:hover{border-color:color-mix(in oklab, var(--foreground) 20%, transparent)}}.la\:hover\:bg-accent:hover{background-color:var(--accent)}.la\:hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.la\:hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab, var(--destructive) 90%, transparent)}}.la\:hover\:bg-muted\/60:hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.la\:hover\:bg-muted\/60:hover{background-color:color-mix(in oklab, var(--muted) 60%, transparent)}}.la\:hover\:bg-primary\/88:hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.la\:hover\:bg-primary\/88:hover{background-color:color-mix(in oklab, var(--primary) 88%, transparent)}}.la\:hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.la\:hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}.la\:hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.la\:hover\:underline:hover{text-decoration-line:underline}}.la\:focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.la\:focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.la\:focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.la\:focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.la\:focus-visible\:ring-ring:focus-visible,.la\:focus-visible\:ring-ring\/20:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.la\:focus-visible\:ring-ring\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 20%, transparent)}}.la\:focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.la\:focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:var(--background)}.la\:active\:translate-y-px:active{--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.la\:disabled\:pointer-events-none:disabled{pointer-events:none}.la\:disabled\:translate-y-0:disabled{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.la\:disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.la\:disabled\:opacity-45:disabled{opacity:.45}.la\:disabled\:opacity-50:disabled{opacity:.5}.la\:has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--la-spacing) * 2.5)}.la\:has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--la-spacing) * 3)}.la\:has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--la-spacing) * 4)}.la\:aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.la\:aria-invalid\:ring-destructive\/25[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.la\:aria-invalid\:ring-destructive\/25[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 25%, transparent)}}.la\:data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:var(--muted)}@media not all and (width>=48rem){.la\:max-md\:size-11{width:calc(var(--la-spacing) * 11);height:calc(var(--la-spacing) * 11)}.la\:max-md\:min-h-11{min-height:calc(var(--la-spacing) * 11)}}.la\:dark\:bg-card:is(.dark *){background-color:var(--card)}.la\:dark\:bg-destructive\/60:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.la\:dark\:bg-destructive\/60:is(.dark *){background-color:color-mix(in oklab, var(--destructive) 60%, transparent)}}@media (hover:hover){.la\:dark\:hover\:bg-accent\/50:is(.dark *):hover{background-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.la\:dark\:hover\:bg-accent\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--accent) 50%, transparent)}}}.la\:dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.la\:dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.la\:\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.la\:\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.la\:\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--la-spacing) * 4);height:calc(var(--la-spacing) * 4)}.la\:\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.la\:\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.la\:\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.la\:\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;translate:var(--tw-translate-x) var(--tw-translate-y)}.la\:\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}.la-observer{color:var(--foreground);-webkit-font-smoothing:antialiased;font-family:inherit;font-size:14px}.la-observer h1,.la-observer h2,.la-observer h3,.la-observer p{margin:0}.la-observer h1{letter-spacing:-.035em;font-size:1.75rem;font-weight:600;line-height:1.3}.la-observer h2,.la-observer h3{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:8px;font-size:.875rem;font-weight:600;line-height:1.5;display:flex}.la-observer p{color:var(--muted-foreground);max-width:70ch;font-size:.8125rem;line-height:1.6}.la-observer-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;display:flex}.la-observer-toolbar>div{min-width:0}.la-observer-toolbar p{margin-top:8px}.la-observer-title{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.la-observer-title [data-slot=badge]{white-space:normal;overflow-wrap:anywhere;max-width:100%}.la-observer-summary{border:1px solid var(--border);background:var(--card);border-radius:8px;margin:0 0 32px;display:flex}.la-observer-summary>div{flex:1;min-width:0;padding:20px 24px}.la-observer-summary>div+div{border-left:1px solid var(--border)}.la-observer-summary dt{color:var(--muted-foreground);align-items:center;gap:7px;font-size:.75rem;display:flex}.la-observer-summary dd{letter-spacing:-.03em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:10px 0 4px;font-size:1.625rem;font-weight:600;line-height:1.2}.la-observer-summary p{font-size:.75rem}.la-observer-dot{background:var(--muted-foreground);border-radius:50%;flex:none;width:6px;height:6px;display:inline-block}.la-observer-dot-live{background:var(--success)}.la-observer-dot-unknown{background:var(--warning)}.la-observer-list-toolbar,.la-observer-filters{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.la-observer-search{width:260px;max-width:100%;position:relative}.la-observer-search>svg{width:15px;height:15px;color:var(--muted-foreground);pointer-events:none;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.la-observer-search input{caret-color:var(--foreground);padding-left:34px}.la-observer-table-frame{border:1px solid var(--border);background:var(--card);border-radius:8px;overflow:hidden}.la-observer table{border-collapse:collapse}.la-observer thead{background:var(--muted)}.la-observer th{height:40px}.la-observer th,.la-observer td{padding-left:20px;padding-right:20px}.la-observer td{height:60px}.la-observer-table th:not(:first-child),.la-observer-table td:not(:first-child){text-align:right;width:100px}.la-observer-table td:last-child{font-weight:600}.la-observer td:first-child{white-space:normal;overflow-wrap:anywhere}.la-observer-name{min-width:160px}.la-observer .la-observer-actor-button{text-align:left;white-space:normal;max-width:100%;height:auto;min-height:36px;color:var(--foreground);background:0 0;justify-content:flex-start;gap:10px;margin:-6px -8px;padding:6px 8px;font-size:.8125rem;font-weight:500;line-height:1.5;display:inline-flex}.la-observer-actor-button>span{overflow-wrap:anywhere;min-width:0}.la-observer-type-icon{color:var(--muted-foreground)}.la-observer-live,.la-observer-status-live{color:var(--success)}.la-observer-status-unknown{color:var(--warning)}.la-observer-breadcrumb{color:var(--muted-foreground);align-items:center;gap:8px;margin-bottom:16px;font-size:.8125rem;display:flex}.la-observer-breadcrumb button{height:auto;min-height:44px;color:var(--muted-foreground);background:0 0;padding:0}.la-observer-breadcrumb svg{flex:none;width:14px;height:14px}.la-observer-breadcrumb span,.la-observer-title h1{overflow-wrap:anywhere;min-width:0}.la-observer-class-button:hover>span{text-underline-offset:3px;text-decoration:underline}.la-observer-title h1:focus-visible{outline:2px solid var(--ring);outline-offset:4px}.la-observer-instances-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.la-observer-instances-heading p{margin-top:4px;font-size:.75rem}.la-observer-filters{justify-content:flex-start;gap:8px}.la-observer-select{border:1px solid var(--input);background:var(--card);height:36px;color:var(--foreground);border-radius:6px;padding:0 32px 0 12px;font-size:.8125rem}.la-observer-select:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.la-observer-instance-table th:not(:first-child),.la-observer-instance-table td:not(:first-child){text-align:right;width:132px}.la-observer-instance-id,.la-observer-socket-id{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.75rem}.la-observer-instance-id .la-observer-actor-button{font-family:inherit;font-size:inherit}.la-observer-instance-table td{height:56px}.la-observer .la-observer-connection-note{margin-top:10px;font-size:.75rem}.la-observer .la-observer-unknown{align-items:flex-start;gap:8px;margin-top:12px;font-size:.75rem;display:flex}.la-observer-unknown svg{flex:none;width:14px;height:14px;margin-top:3px}.la-observer-connections{margin-top:24px}.la-observer-connection-table th:first-child,.la-observer-connection-table td:first-child{width:30%}.la-observer-connection-table pre{background:var(--muted);max-width:100%;max-height:240px;color:var(--foreground);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:4px;margin:0;padding:12px;font:.75rem/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:auto}.la-observer .la-observer-instance-empty{border:1px dashed var(--border);border-radius:8px;padding:28px 20px}.la-observer-no-connections{border:1px dashed var(--border);border-radius:8px;align-items:center;gap:12px;padding:24px 20px;display:flex}.la-observer-no-connections svg{width:18px;height:18px;color:var(--muted-foreground)}.la-observer-footnote{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;gap:8px 20px;margin-top:20px;font-size:.75rem;line-height:1.5;display:flex}.la-observer-refresh-status{align-items:center;gap:7px;display:inline-flex}.la-observer-error{border:1px solid var(--danger);align-items:flex-start;gap:10px;margin-bottom:20px;padding:14px 16px;display:flex}@supports (color:color-mix(in lab, red, red)){.la-observer-error{border:1px solid color-mix(in srgb, var(--danger) 35%, var(--border))}}.la-observer-error{background:var(--danger);border-radius:8px}@supports (color:color-mix(in lab, red, red)){.la-observer-error{background:color-mix(in srgb, var(--danger) 5%, var(--card))}}.la-observer-error{color:var(--danger)}.la-observer-error svg{flex:none;width:16px;height:16px;margin-top:2px}.la-observer-error p{color:inherit}.la-observer-empty{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:48px 24px;display:flex}.la-observer-empty>svg{width:24px;height:24px;color:var(--muted-foreground);margin-bottom:4px}.la-observer-empty button{margin-top:8px}.la-observer-skeleton{gap:14px;display:grid}.la-observer-skeleton>div{background:var(--muted);border-radius:8px;height:60px;animation:1.5s ease-in-out infinite alternate la-pulse}.la-observer-skeleton>div:first-of-type{height:124px;margin-bottom:18px}.la-observer-spin{animation:1s linear infinite la-spin}@keyframes la-spin{to{transform:rotate(360deg)}}@keyframes la-pulse{to{opacity:.5}}@media (width<=640px){.la-observer-toolbar{align-items:flex-start}.la-observer h1{font-size:1.5rem}.la-observer-toolbar p{max-width:26ch}.la-observer-summary{flex-wrap:wrap}.la-observer-summary>div{flex-basis:33%;padding:16px}.la-observer-summary:has(>div:nth-child(4))>div{flex-basis:50%}.la-observer-summary:has(>div:nth-child(4))>div:nth-child(3){border-left:0}.la-observer-summary>div:nth-child(n+3):not(:last-child),.la-observer-summary>div:nth-child(4){border-top:1px solid var(--border)}.la-observer-summary p{font-size:.6875rem}.la-observer-list-toolbar{flex-direction:column;align-items:stretch;gap:12px}.la-observer-search{width:100%}.la-observer-filters .la-observer-search{flex:1;min-width:0}.la-observer-select{max-width:44%;height:44px}.la-observer th,.la-observer td{padding-left:12px;padding-right:12px}.la-observer-name{min-width:240px}.la-observer-table th:not(:first-child),.la-observer-table td:not(:first-child){min-width:68px}.la-observer-instance-table{min-width:360px}.la-observer .la-observer-actor-button{min-height:44px}}@media (prefers-reduced-motion:reduce){.la-observer *,.la-observer :before,.la-observer :after{transition:none!important;animation:none!important}}.la-request-actions{align-items:center;gap:12px;display:flex}.la-clickable-row{cursor:pointer}.la-clickable-row:hover,.la-clickable-row:focus-within{background:var(--accent)}.la-clickable-row:hover .la-observer-actor-button,.la-clickable-row:focus-within .la-observer-actor-button{text-underline-offset:3px;text-decoration:underline}.la-request-table{table-layout:fixed;min-width:980px}.la-request-table th{padding-inline:12px}.la-request-table th:first-child,.la-request-table th:nth-child(2){width:166px}.la-request-table th:nth-child(3){width:180px}.la-request-table th:nth-child(4){width:100px}.la-request-table th:nth-child(5){width:108px}.la-request-table th:nth-child(6),.la-request-table th:nth-child(7){width:90px}.la-request-table th:nth-child(8){width:80px}.la-requests .la-request-table td{white-space:nowrap;height:56px;padding:4px 12px;line-height:20px}.la-request-table th:nth-child(6),.la-request-table th:nth-child(7),.la-request-table td:nth-child(6),.la-request-table td:nth-child(7){text-align:right;font-variant-numeric:tabular-nums}.la-request-table time{font-variant-numeric:tabular-nums;color:var(--muted-foreground);font-size:12px}.la-request-operation,.la-request-actor{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.la-request-operation{font-weight:500}.la-request-actor{color:var(--muted-foreground);font-size:12px}.la-observer-instance-heading{align-items:center;gap:12px;margin:12px 0 28px;display:flex}.la-observer-instance-heading h2{font-size:1.25rem}.la-observer-instance-detail h2:focus-visible,.la-observer-instances h2:focus-visible{outline:2px solid var(--ring);outline-offset:4px}.la-observer-instance-detail>section+section{margin-top:28px}.la-observer-instance-detail>[data-slot=button]{padding-left:0}.la-sheet-overlay{z-index:50;background:#00000059;position:fixed;inset:0}.la-sheet{z-index:51;background:var(--card);width:min(480px,100%);color:var(--foreground);border-left:1px solid var(--border);padding:28px 24px;position:fixed;inset:0 0 0 auto;overflow-y:auto}.la-sheet>h2{padding-right:44px;font-size:18px}.la-sheet>p{margin-top:8px;padding-right:32px}.la-sheet-close{position:absolute;top:16px;right:16px}.la-request-outcome-completed{color:var(--success)}.la-request-outcome-failed,.la-request-outcome-rejected{color:var(--danger)}.la-request-outcome-interrupted,.la-request-outcome-rerouted{color:var(--warning)}.la-request-empty{text-align:center;padding:48px 24px}.la-request-empty p,.la-request-note{color:var(--muted-foreground);font-size:12px;line-height:1.6}.la-request-empty p{margin:8px auto 16px}.la-request-details{text-align:left;gap:12px;padding:8px 0;display:grid}.la-request-details div{grid-template-columns:100px minmax(0,1fr);gap:12px;display:grid}.la-request-details dt{color:var(--muted-foreground);font-size:12px}.la-request-details dd{overflow-wrap:anywhere;margin:0;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}@media (width<=640px){.la-request-actions{flex-shrink:0}.la-requests .la-observer-toolbar{flex-wrap:wrap}}.la-request-history-filters{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:16px;display:flex}.la-request-history-filters label{min-width:0;color:var(--muted-foreground);flex:180px;gap:6px;font-size:13px;display:grid}.la-request-history-filters select{width:100%;max-width:none}.la-request-load-older{margin-top:12px}.la-observer-instance-table th.la-observer-waiting-cell,.la-observer-instance-table td.la-observer-waiting-cell{text-align:left;width:420px;min-width:420px}.la-observer-queue{flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0 0;padding:0;list-style:none;display:flex}.la-observer-queue-compact{flex-wrap:nowrap;margin:0}.la-observer-queue-bubble{max-width:280px;color:var(--foreground);background:var(--muted);border-radius:999px}.la-observer-queue-compact .la-observer-queue-bubble{max-width:110px}.la-observer-queue-operation{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.la-observer-queue-position,.la-observer-queue-empty{color:var(--muted-foreground);font-variant-numeric:tabular-nums}.la-observer-waiting>p{margin-top:6px}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}
package/dist/theme.css ADDED
@@ -0,0 +1 @@
1
+ :root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--radius:.5rem;--background:#fafafa;--foreground:#171717;--card:#fff;--card-foreground:#171717;--popover:#fff;--popover-foreground:#171717;--primary:#171717;--primary-foreground:#fff;--secondary:#f5f5f5;--secondary-foreground:#171717;--muted:#f5f5f5;--muted-foreground:#666;--accent:#f0f0f0;--accent-foreground:#171717;--destructive:#c42525;--border:#e5e5e5;--input:#dedede;--ring:#737373;--success:#187442;--danger:#c42525;--warning:#946000;--shadow-control:0 1px 2px #0000000a}.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#0a0a0a;--foreground:#ededed;--card:#111;--card-foreground:#ededed;--popover:#171717;--popover-foreground:#ededed;--primary:#ededed;--primary-foreground:#0a0a0a;--secondary:#1a1a1a;--secondary-foreground:#ededed;--muted:#191919;--muted-foreground:#a1a1a1;--accent:#222;--accent-foreground:#ededed;--destructive:#f77;--border:#2a2a2a;--input:#333;--ring:#a1a1a1;--success:#62c991;--danger:#f77;--warning:#e8bc66;--shadow-control:0 1px 2px #00000029}
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "little-actors-observer",
3
+ "version": "0.1.0",
4
+ "description": "Embeddable React observer for little-actors",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "sideEffects": [
8
+ "**/*.css"
9
+ ],
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/TerseAI/little-actors.git",
16
+ "directory": "packages/observer-ui"
17
+ },
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js"
22
+ },
23
+ "./styles.css": "./dist/styles.css",
24
+ "./standalone/*": "./dist/standalone/*",
25
+ "./theme.css": "./dist/theme.css"
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "LICENSE.md"
30
+ ],
31
+ "peerDependencies": {
32
+ "react": "^19.0.0",
33
+ "react-dom": "^19.0.0"
34
+ },
35
+ "devDependencies": {
36
+ "@tailwindcss/postcss": "^4.3.3",
37
+ "@testing-library/react": "^16.0.0",
38
+ "@types/node": "^22.0.0",
39
+ "@types/react": "^19.0.0",
40
+ "@types/react-dom": "^19.0.0",
41
+ "esbuild": "^0.28.2",
42
+ "jsdom": "^26.0.0",
43
+ "react": "^19.1.0",
44
+ "react-dom": "^19.1.0",
45
+ "tailwindcss": "^4.3.3",
46
+ "tsx": "^4.0.0",
47
+ "typescript": "~5.9.3",
48
+ "vite": "^8.3.0"
49
+ },
50
+ "dependencies": {
51
+ "@radix-ui/react-dialog": "^1.1.23",
52
+ "@radix-ui/react-slot": "^1.3.3",
53
+ "class-variance-authority": "^0.7.1",
54
+ "clsx": "^2.1.1",
55
+ "eventsource-parser": "^4.1.1",
56
+ "lucide-react": "^1.47.0",
57
+ "tailwind-merge": "^3.7.0"
58
+ },
59
+ "scripts": {
60
+ "build": "vite build --mode library && vite build && tsc -p tsconfig.json",
61
+ "test": "node --import tsx --test test/*.test.tsx",
62
+ "format": "prettier --write src test vite.config.ts index.html",
63
+ "format:check": "prettier --check src test vite.config.ts index.html",
64
+ "package:check": "node --test test/package.test.mjs",
65
+ "dev": "vite",
66
+ "preview": "vite preview"
67
+ }
68
+ }