@fungi.computer/parakeet 0.11.13 → 0.11.15

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.
@@ -71,7 +71,9 @@ function CallRow({ call, tool, disclosureId, size, disclosure, onToggle, renderT
71
71
  onToggle(disclosureId, defaultOpen);
72
72
  }, open: open, size: size, summary: _jsxs(_Fragment, { children: [_jsx("span", { className: "text-base-content", children: running ? call.activeVerb : call.verb }), " ", _jsx("span", { className: "font-mono", children: call.label })] }), tone: call.status === "error" && call.recovered !== true
73
73
  ? "error"
74
- : "neutral", trailing: _jsxs(_Fragment, { children: [call.recovered === true ? _jsx("span", { children: "recovered" }) : null, call.exitCode === undefined ? null : (_jsxs(Badge, { size: "sm", tone: call.recovered === true ? "neutral" : "error", children: ["exit ", String(call.exitCode)] })), call.durationMs === undefined ? null : (_jsx("span", { children: formatToolDuration(call.durationMs) })), _jsx(Status, { motion: running ? "bounce" : "none", title: call.status === "unknown" ? "result unavailable" : call.status, tone: statusTone(call.status, call.recovered === true) })] }), children: _jsx(CallBody, { call: call, disclosure: disclosure, onToggle: onToggle, mediaClaimed: tool !== undefined && claimsToolMedia?.(tool) === true, tool: tool }) }), call.live === undefined ? null : (_jsx("pre", { className: monoBlock, "aria-label": "Live tool output", children: toolLiveLines(call, open).map((line, index) => (_jsx("span", { className: "block whitespace-pre", children: line || "\u00a0" }, String(index)))) })), call.status === "completed" && tool?.result !== undefined
74
+ : "neutral", trailing: _jsxs(_Fragment, { children: [call.recovered === true ? _jsx("span", { children: "recovered" }) : null, call.exitCode === undefined ? null : (_jsxs(Badge, { size: "sm", tone: call.status === "error" && call.recovered !== true
75
+ ? "error"
76
+ : "neutral", children: ["exit ", String(call.exitCode)] })), call.durationMs === undefined ? null : (_jsx("span", { children: formatToolDuration(call.durationMs) })), _jsx(Status, { motion: running ? "bounce" : "none", title: call.status === "unknown" ? "result unavailable" : call.status, tone: statusTone(call.status, call.recovered === true) })] }), children: _jsx(CallBody, { call: call, disclosure: disclosure, onToggle: onToggle, mediaClaimed: tool !== undefined && claimsToolMedia?.(tool) === true, tool: tool }) }), call.live === undefined ? null : (_jsx("pre", { className: monoBlock, "aria-label": "Live tool output", children: toolLiveLines(call, open).map((line, index) => (_jsx("span", { className: "block whitespace-pre", children: line || "\u00a0" }, String(index)))) })), call.status === "completed" && tool?.result !== undefined
75
77
  ? renderToolActions?.(tool)
76
78
  : null] }));
77
79
  }
package/dist/parakeet.js CHANGED
@@ -214,6 +214,9 @@ function ConversationTimeline({ disambiguateAuthors, clientActions, onOpen, focu
214
214
  ? "error"
215
215
  : undefined, ref: timeline.measureElement, style: {
216
216
  left: 0,
217
+ // The last row keeps room for the jump-to-bottom control
218
+ // (2rem plus its 1rem offset) so it can scroll clear of it.
219
+ paddingBottom: virtualItem.index === count - 1 ? 48 : undefined,
217
220
  position: "absolute",
218
221
  top: 0,
219
222
  transform: `translateY(${String(virtualItem.start)}px)`,
@@ -239,8 +242,8 @@ function ConversationTimeline({ disambiguateAuthors, clientActions, onOpen, focu
239
242
  }) })) : before.length > 0 ? (before) : hasMoreHistory || modelSetup?.state === "missing" ? null : ((empty ?? _jsx(ConversationStarters, {}))), modelSetup?.state === "missing" ? (_jsx("div", { className: `flex items-center justify-center p-6 ${count === 0 ? "h-full" : "min-h-64"}`, children: _jsx(SetupNotice, { need: "Connect a model to start", cause: "Agents answer with a model, and none is connected yet.", fix: modelSetup.fix, variant: "panel" }) })) : null] }), count > 0 ? (_jsx(ScrollToBottomBlob, { direction: "forward", unread: unread, focusAfterJump: focusAfterJump, onJump: jumpToBottom, scrollerRef: scrollerRef })) : null] }));
240
243
  }
241
244
  const stoppedMessages = {
242
- failed: "The run stopped. Your prompt is still here.",
243
- interrupted: "The worker stopped before this run finished. Your prompt is still here.",
245
+ failed: "The run stopped.",
246
+ interrupted: "The worker stopped before this run finished.",
244
247
  cancelled: "The run was cancelled. Send a new prompt when you’re ready.",
245
248
  };
246
249
  /**
@@ -264,13 +267,13 @@ function RunStopped({ failure, cause, lastItem, onRetry, }) {
264
267
  const publicCause = bounded !== undefined &&
265
268
  !bounded.startsWith("reason_unavailable:") &&
266
269
  !/\b(?:run|session)=/iu.test(bounded)
267
- ? bounded
270
+ ? bounded.replace(/[.\s]+$/u, "")
268
271
  : undefined;
269
272
  const message = publicCause === undefined || failure === "cancelled"
270
273
  ? stoppedMessages[failure]
271
274
  : failure === "interrupted"
272
- ? `This turn stopped before it finished: ${publicCause}. Your prompt is still here.`
273
- : `The run stopped: ${publicCause}. Your prompt is still here.`;
275
+ ? `This turn stopped before it finished: ${publicCause}.`
276
+ : `The run stopped: ${publicCause}.`;
274
277
  return (_jsx(FailureLine, { message: message, role: "alert", ...(failure === "cancelled"
275
278
  ? {}
276
279
  : { onRetry, retryAriaLabel: "Retry prompt" }) }));
package/dist/styles.css CHANGED
@@ -13642,6 +13642,8 @@
13642
13642
  line-height: 1.5;
13643
13643
  }
13644
13644
  .caps-field-description {
13645
+ min-width: 0;
13646
+ max-width: var(--caps-field-control-width, 100%);
13645
13647
  color: var(--stipe-fg-muted);
13646
13648
  }
13647
13649
  .caps-field-error {
@@ -13955,6 +13957,7 @@
13955
13957
  :is(.caps-form, .caps-form-section)[data-layout="columns"] :is( .caps-field[data-orientation="vertical"], .caps-field[data-orientation="horizontal"] > .caps-field-row ) > .caps-field-copy > .caps-field-description {
13956
13958
  grid-column: 2;
13957
13959
  grid-row: 2;
13960
+ max-width: 30rem;
13958
13961
  }
13959
13962
  :is(.caps-form, .caps-form-section)[data-layout="columns"] :is( .caps-field[data-orientation="vertical"], .caps-field[data-orientation="horizontal"] > .caps-field-row ) > :not(.caps-field-copy, .caps-field-lead, .caps-field-error-reveal) {
13960
13963
  grid-column: 2;
@@ -14058,6 +14061,7 @@
14058
14061
  :is(.caps-form, .caps-form-section)[data-layout="columns"] :is( .caps-field[data-orientation="vertical"], .caps-field[data-orientation="horizontal"] > .caps-field-row ) > .caps-field-lead > .caps-field-copy > .caps-field-description {
14059
14062
  grid-column: 2;
14060
14063
  grid-row: 2;
14064
+ max-width: 30rem;
14061
14065
  }
14062
14066
  :is(.caps-form, .caps-form-section)[data-layout="columns"] .caps-field, .caps-fieldset[data-layout="columns"] {
14063
14067
  --caps-field-icon-size: 1rem;
@@ -14311,9 +14315,9 @@
14311
14315
  --caps-input-edge-width: 0px;
14312
14316
  background: var(--caps-input-floor);
14313
14317
  color: var(--color-base-content);
14314
- border: var(--border) solid var(--stipe-linework);
14318
+ border: var(--border) solid light-dark( var(--stipe-linework), var(--color-base-content) );
14315
14319
  @supports (color: color-mix(in lab, red, red)) {
14316
- border: var(--border) solid color-mix( in oklab, var(--stipe-linework), transparent calc(var(--depth) * 100%) );
14320
+ border: var(--border) solid light-dark( color-mix( in oklab, var(--stipe-linework), transparent calc(var(--depth) * 100%) ), color-mix( in oklab, var(--color-base-content) calc(var(--depth) * 12%), var(--stipe-linework) ) );
14317
14321
  }
14318
14322
  padding-inline: var(--spacing-lg);
14319
14323
  box-shadow: inset 0 0 0 var(--caps-input-edge-width) var(--caps-input-edge), inset 0 1px 0 oklch(100% 0 0 / calc(var(--depth) * 0.07)), inset 0 0 0 1px oklch(100% 0 0 / calc(var(--depth) * 0.02));
@@ -16723,7 +16727,7 @@
16723
16727
  justify-content: space-between;
16724
16728
  gap: var(--spacing-sm);
16725
16729
  margin: 0;
16726
- padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-2xs);
16730
+ padding: var(--spacing-xs) var(--spacing-lg) var(--spacing-2xs);
16727
16731
  color: var(--stipe-fg-muted);
16728
16732
  font-size: var(--text-xs);
16729
16733
  font-variant: small-caps;
@@ -16731,6 +16735,9 @@
16731
16735
  letter-spacing: 0.06em;
16732
16736
  text-transform: lowercase;
16733
16737
  }
16738
+ .list.list-sm > .caps-data-list-heading {
16739
+ padding-inline: 0;
16740
+ }
16734
16741
  .caps-data-list-heading-aside {
16735
16742
  font-variant: normal;
16736
16743
  letter-spacing: normal;
@@ -16897,6 +16904,12 @@
16897
16904
  .empty-state-bubble .empty-state-actions {
16898
16905
  justify-content: center;
16899
16906
  }
16907
+ .empty-state-bubble .empty-state-suggestions {
16908
+ justify-content: center;
16909
+ }
16910
+ .empty-state-bubble .empty-state-primary {
16911
+ justify-items: center;
16912
+ }
16900
16913
  }
16901
16914
  @media (prefers-reduced-motion: reduce) {
16902
16915
  .caps-app-grid[data-size="lg"] .caps-app-grid-icon {
@@ -19556,7 +19569,8 @@
19556
19569
  }
19557
19570
  @container (max-width: 26rem) {
19558
19571
  .parakeet-composer-row .parakeet-composer-model-key {
19559
- max-width: 7rem;
19572
+ min-width: 0;
19573
+ max-width: none;
19560
19574
  }
19561
19575
  }
19562
19576
  :root {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fungi.computer/parakeet",
3
- "version": "0.11.13",
3
+ "version": "0.11.15",
4
4
  "author": "Levi <levi@technomancy.dev>",
5
5
  "private": false,
6
6
  "description": "Standalone React composer for a typed Shiitake Session",
@@ -63,7 +63,7 @@
63
63
  "@fungi.computer/agar": "0.9.1",
64
64
  "@fungi.computer/bird-dog": "0.3.6",
65
65
  "@fungi.computer/cairn": "0.1.0",
66
- "@fungi.computer/caps": "0.10.6",
66
+ "@fungi.computer/caps": "0.10.7",
67
67
  "@fungi.computer/gills": "0.3.0",
68
68
  "@fungi.computer/knapsack": "0.4.9",
69
69
  "@fungi.computer/shiitake": "0.13.0",
@@ -120,6 +120,7 @@
120
120
 
121
121
  @container (max-width: 26rem) {
122
122
  .parakeet-composer-row .parakeet-composer-model-key {
123
- max-width: 7rem;
123
+ min-width: 0;
124
+ max-width: none;
124
125
  }
125
126
  }