improvement(logfire): scope block outputs per operation and refresh brand chrome (#6178)

* improvement(logfire): scope block outputs per operation and refresh brand chrome

- gate each block output on the operations that actually return it
- swap in the official Logfire mark, black tile with brand-magenta bare icon
- move host to advanced mode and alphabetize the tool registry entries
- add track-logfire-llm-cost and verify-logfire-token-target skills

* fix(logfire): honor numeric-string limits and surface token validity fields

- accept a numeric-string limit so agent-invoked calls stop silently
  falling back to Logfire's 100-row default
- keep an hour-only UTC offset intact instead of producing +05Z
- surface expiresAt and spendingCapReachedAt on Get Token Info
- document pending_span as a fourth record kind

* chore(logfire): regenerate tool metadata and document the step in the skill

- regenerate apps/sim/tools/generated/tool-outputs.ts, which CI's
  tool-metadata:check requires after a tool output change
- add the regeneration step and artifact-diff guidance to the
  validate-integration skill so the gate stops being missed

* chore(skills): sync validate-integration projections
This commit is contained in:
Waleed
2026-08-01 18:16:54 -07:00
committed by GitHub
parent 8348592d38
commit 9064039c19
15 changed files with 257 additions and 41 deletions
@@ -7,7 +7,7 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
<BlockInfoCard
type="logfire"
color="#E520E9"
color="#000000"
/>
{/* MANUAL-CONTENT-START:intro */}
@@ -95,7 +95,7 @@ Search Logfire spans and logs using structured filters for message text, service
| ↳ `level` | string | Severity name, such as info, warn, or error |
| ↳ `message` | string | Human-readable message |
| ↳ `spanName` | string | Template label for similar records |
| ↳ `kind` | string | Record kind: span, log, or span_event |
| ↳ `kind` | string | Record kind: span, log, span_event, or pending_span |
| ↳ `serviceName` | string | Service that emitted the record |
| ↳ `deploymentEnvironment` | string | Deployment environment of the record |
| ↳ `traceId` | string | Trace this record belongs to |
@@ -134,7 +134,7 @@ Fetch every span and log belonging to a Logfire trace, ordered from earliest to
| ↳ `level` | string | Severity name, such as info, warn, or error |
| ↳ `message` | string | Human-readable message |
| ↳ `spanName` | string | Template label for similar records |
| ↳ `kind` | string | Record kind: span, log, or span_event |
| ↳ `kind` | string | Record kind: span, log, span_event, or pending_span |
| ↳ `serviceName` | string | Service that emitted the record |
| ↳ `deploymentEnvironment` | string | Deployment environment of the record |
| ↳ `traceId` | string | Trace this record belongs to |
@@ -164,5 +164,7 @@ Resolve which Logfire organization and project a read token belongs to. Useful f
| --------- | ---- | ----------- |
| `organizationName` | string | Logfire organization the read token belongs to |
| `projectName` | string | Logfire project the read token belongs to |
| `expiresAt` | string | When the read token expires. Null when it never expires. |
| `spendingCapReachedAt` | string | When the organization's spending cap was reached, which stops queries. Null when it has not been reached. |