Skip to content

Update README.md - #7

Merged
CopilotKit merged 1 commit into
mainfrom
ataibarkai-patch-1
Jul 28, 2023
Merged

CopilotKit merged 1 commit into
mainfrom
ataibarkai-patch-1

Conversation

@ataibarkai

Copy link
Copy Markdown
Contributor

No description provided.

@CopilotKit
CopilotKit merged commit 505ab39 into main Jul 28, 2023
@CopilotKit
CopilotKit deleted the ataibarkai-patch-1 branch July 28, 2023 22:27
johnprg pushed a commit that referenced this pull request Dec 23, 2025
shaneholloman pushed a commit to shaneholloman/copilotkit that referenced this pull request Apr 21, 2026
…null-alt filter, registry-gated landing cards

- Reject RESERVED_ROUTE_SLUGS at the handler as defense-in-depth.
  Next.js already prefers exact-match top-level routes over this
  catch-all, so /docs, /ag-ui, etc. never reach here under normal
  routing — but if the registry ever ships an integration whose slug
  collides with a reserved segment, the handler now short-circuits
  with notFound() rather than rendering garbage (finding CopilotKit#6).
- Import the shared findFrameworksWithCell helper instead of a
  duplicated local copy (finding CopilotKit#3 follow-through).
- Filter out unresolved alternative-framework slugs BEFORE mapping
  to React fragments so the ", " separator aligns with the final
  rendered count. The pre-filter index previously emitted stray
  commas when an entry dropped to null mid-sequence (finding CopilotKit#7).
- FrameworkLandingPage's four hardcoded LandingCards are now gated by
  registry integration.features presence: strands (no HITL support)
  no longer shows a dead "Human-in-the-Loop" card. The card
  definitions are hoisted into a module-level constant with a TODO
  pointing at the eventual feature-id → doc-slug mapping
  (finding CopilotKit#8).
- Declare export const dynamicParams = true explicitly so a future
  migration to output: "export" fails loudly here (under static
  export dynamicParams must be false) rather than silently 404ing
  every /<framework>/<slug> URL (finding CopilotKit#9).
jpr5 added a commit that referenced this pull request Apr 23, 2026
## Summary

Phase 3 of the dashboard honesty pass, implementing all 7 sub-phases
from the [Notion
plan](https://www.notion.so/34b3aa381852812c9e12f34a6caa304a)
(v2.4) in a single PR.

### Sub-phases landed

- **3.0 Pre-flight**: Verified 34 e2e_smoke rows in PB. Producer gap
  from PR #4200 is resolved.
- **3.1**: Renamed dashboard e2e subscription to e2e_smoke to match
  the ops producer key shape. Updated formatLabel/formatTooltip dim
  unions, all test fixtures.
- **3.2**: Added per-integration L1-L4 LevelStrip component
  (Up/Wired/Chats/Tools badges). New subscriptions for agent, chat,
  tools, e2e_smoke. aggregateConnection refactored to variadic. Tools
  n/a gate: integration.demos.some(d => d.id === "tool-rendering").
- **3.3**: Retired HealthDot from per-feature cells (L1 Up badge in
  strip replaces it). Dropped smokeRow from per-cell rollup (Decision
  #7). Rollup now [healthRow, e2eRow] only. This enables first-ever
  green rollups -- smokeRow was always null in production due to a
  key-shape mismatch.
- **3.4**: Removed QA column entirely -- LiveBadge QA, CellState.qa,
  subscription, legend entry. No producer ever existed.
- **3.5**: Docs four-glyph mapping: ok=checkmark, missing=middle dot,
  notfound=cross, error=exclamation. Each DocState value now renders a
  distinct glyph and tone.
- **3.6**: Legend rewrite -- dropped QA and Hosted rows, added L1-L4
  strip documentation, expanded docs row for four glyphs, rewrote ?
  footnote to "probe has not yet ticked since deploy".
- **3.7**: Added PackagesSection below starters grid. Extended
  registry.json with packages array from showcase/shared/packages.json.
  CI drift test ensures package set matches integration set.

### Behavior changes

- Per-cell rollup can now produce green (previously impossible because
  smokeRow was always null due to the integration-scoped vs
  feature-scoped key mismatch).
- QA column removed (was always showing ? with no producer).
- HealthDot removed from per-cell badges (replaced by L1 Up in strip).
- E2E badge now reads from e2e_smoke dimension (was reading dead e2e).

## Test plan

- [ ] vitest: 8 test files, 67 tests passing (baseline was 4 files,
  52 tests)
- [ ] TypeScript: tsc --noEmit clean
- [ ] New tests: LevelStrip (7 tests), PackagesSection (3 tests),
  DocsLink (2 tests), packages-drift CI test (1 test)
- [ ] Updated tests: live-status.test.ts (rollup fixtures updated for
Decision #7), feature-grid.test.tsx (e2e_smoke keys), dashboard.spec.ts
  (e2e_smoke + agent/chat/tools fixtures)
- [ ] Verify at showcase.copilotkit.ai post-deploy: L1-L4 strip on
  each integration + package row; docs four-glyph visible; no QA column;
  green rollup on healthy cells
jenningsloy318 pushed a commit to JMaiGC/CopilotKit that referenced this pull request Apr 23, 2026
Phase 3.0: Pre-flight verified — 34 e2e_smoke rows in PB (producer
gap from PR CopilotKit#4200 resolved).

Phase 3.1: Rename dashboard e2e subscription to e2e_smoke to match
ops producer key. Update formatLabel/formatTooltip dim unions.

Phase 3.2: Add per-integration L1-L4 LevelStrip with Up/Wired/Chats/
Tools badges. New subscriptions for agent, chat, tools, e2e_smoke.
Widen aggregateConnection to variadic. Tools n/a gate uses
integration.demos.some(d => d.id === "tool-rendering").

Phase 3.3: Retire HealthDot from per-feature cells (L1 Up badge in
strip replaces it). Drop smokeRow from per-cell rollup (Decision CopilotKit#7).
Rollup now uses [healthRow, e2eRow] only. First-ever green rollups
enabled (smokeRow was always null in production).

Phase 3.4: Remove QA column — drop LiveBadge QA, CellState.qa,
subscription, legend entry. No producer ever existed.

Phase 3.5: Docs four-glyph mapping: ok->checkmark, missing->middle
dot, notfound->cross, error->exclamation. Each DocState has a
distinct glyph and tone.

Phase 3.6: Legend rewrite — drop QA/Hosted, add L1-L4 strip docs,
expand docs row for four glyphs, rewrite ? footnote.

Phase 3.7: Add PackagesSection below starters grid. Extends
registry.json with packages array from shared/packages.json. CI
drift test ensures package set matches integration set.
jpr5 added a commit that referenced this pull request Apr 26, 2026
…ting features

Per-cell status row corrections + a focused unit-test file covering CP1,
CP2, CP5, CP7, CP8 behaviors:

- CP3: stop consuming `cell.smoke` in CellStatus. resolveCell still
  computes the field for backwards-compat with other call-sites, but
  per Phase 3 Decision #7 the smoke L1 signal is integration-scoped and
  lives in the per-integration strip — there's no per-feature smoke
  badge in the cell row. (The CellState type narrowing for the `smoke`
  field is owned by the live-status.ts fix in a sibling worktree; this
  patch only removes the consumer.)
- CP8: hide the D5/D6 LiveBadges when feature.kind === "testing".
  The e2e-deep / e2e-parity producers only emit rows for primary
  features per spec; testing features would otherwise render a
  perpetual gray "?" that adds noise without information. Mirrors the
  docs-row visibility rule (already gated on isTesting).
- CP9: document the missing per-cell drilldown URL convention for D5/D6
  with a TODO comment. No drilldown route exists today; once one does,
  wire it through keyFor here.

Tests cover red-green for CP1 (mouseleave handler wired), CP2 (first /
error / green_to_red transition formatting), CP5 (opt-out vs absent
tooltip copy), and CP8 (D5/D6 hidden for testing features). The
existing docs-link.test.tsx still passes.
AlemTuzlak added a commit that referenced this pull request May 29, 2026
…roubleshooting docs

Rate limits (Done-means #6, operationally sane config):
- Configure the Bolt App WebClient with an explicit retry policy
  (retryPolicies.fiveRetriesInFiveMinutes, overridable via the new
  SlackBridgeConfig.retryConfig). Every Slack call the bridge makes
  (chat.update streaming, chat.postMessage, users.list, conversations.*)
  now retries 429s honoring the Retry-After header instead of dropping.
- response_url POSTs (HITL/interrupt picker replacement) use raw fetch,
  bypassing the WebClient, so add a Retry-After-aware retry there too,
  clamped to 30s/attempt so a malformed or hostile header cannot hang the
  awaited HITL resolution (and thus the agent turn). Delay math extracted
  to a pure, unit-tested retryDelayMs().

Docs (Done-means #7, deploy and debug):
- README: add Deploying and Troubleshooting sections; drop the
  now-resolved rate-limit caveat; fix stale demo AGENT_URL examples.

Tests: response_url 429 retry + retryDelayMs header parsing/clamp/backoff.
@
jpr5 added a commit that referenced this pull request Jun 12, 2026
…ilent truncation at an internal ';' blank-line boundary (CF6-G5 #7)
jpr5 added a commit that referenced this pull request Jun 12, 2026
… committed-then-thrown attempt can no longer un-latch an aggregated result (CF7 #7)

Attempt N can commit server-side then throw; a blind attempt N+1 re-seeded
result_processed:false, un-latching what the consumer aggregated in the
250ms pause window. The cross-call retry path already guarded exactly this;
the same read-before-write guard now applies inside the retry loop, and a
failed pre-read refuses the blind rewrite.
huangyingting pushed a commit to repomesh/CopilotKit that referenced this pull request Jun 12, 2026
…-side parity (SU7-F1/F2/F3)

SU7-F1 — backend host pattern hardening:
- F1.1  Reject bare trailing ?/# in the backend host pattern
- F1.2  Strip internal tab/CR/LF from the backend host pattern
- F1.3  Warn when ignoring an empty-string local backend override
- F1.4  Reject empty-userinfo @ in the backend host pattern authority
- F1.5  Keep __proto__ keys as data in local-backend maps
- F1.6  Commit the local-backends memo key only after the value computes
- F1.7  Trim local backend overrides before validation and name the real
        rejection
- F1.8  Honest FATAL when the pattern host is a stray scheme fragment
- F1.9  Canonicalize the pattern authority for parity with the override
        path
- F1.10 Acknowledge the staging-to-prod fail-open in the pattern fallback
- F1.11 Harden backend-url/local-backends-env test hygiene

SU7-F2 — runtime-config & client-config edge cases:
- F2.1  Branch POSTHOG_HOST rejection reasons (scheme/degenerate/parse-
        failure) instead of the catch-all mislabel
- F2.2  Reject loopback BASE_URL/DOCS_HOST in production instead of the
        silent http:// prepend
- F2.3  Key the DOCS_HOST fallback once-guard on (mode, shellHost, value)
        and mode-prefix all value-only guard keys
- F2.4  Reject a present-but-empty posthogKey in the client config reader
- F2.5  Drop the trailing slash from SSR_PLACEHOLDER_URL for structural
        parity with server values
- F2.6  Attribute the DOCS_HOST slash-strip to readDocsHost itself
- F2.7  Normalize trailing-dot FQDN spellings in the docs self-host loop
        guard (both compare sides)
- F2.8  Harden console spies to capture all log args; pin the full all-env
        config shape; converge SSR simulation on vi.stubGlobal

SU7-F3 — script-side parity, table classification & test isolation:
- F3 CopilotKit#1  Handle a missing reference integration per the error contract
- F3 CopilotKit#2  Port the runtime backend-host-pattern normalization into the
         generator — scheme/trailing-slash strip, degenerate fallback,
         NEXT_PUBLIC fallback
- F3 CopilotKit#3  Treat non-mapping manifest parses (empty/null/scalar/array YAML)
         as validation errors, not TypeErrors
- F3 CopilotKit#4  Label a missing/unreadable constraints.yaml per the stderr+exit(1)
         error contract
- F3 CopilotKit#5  Align atomic-write tmp naming with the test harness straggler-
         sweep convention; guard main() on direct invocation
- F3 CopilotKit#6  Correct the determineCellStatus unshipped docstring; replace
         stale hardcoded cell counts with formulas
- F3 CopilotKit#7  Isolate the pattern suite on a per-suite tmpdir harness; snapshot
         the generator's full write set
- F3 CopilotKit#8  Classify discarded duplicate wildcards as duplicates — hoist the
         owner check above the destination warns
- F3 CopilotKit#9  Reject a root ("/") EXACT seo-redirect source — homepage-hijack
         twin of the root-wildcard guard
- F3 CopilotKit#10 Reject seo-redirect entries with non-printable-ASCII source/
         destination — close the silent-dead-entry class
- F3 CopilotKit#11 Strip trailing slashes in normalizePosthogHost before the scheme
         test
- F3 CopilotKit#12 Message-filter the empty-slug-set error count; pin the single
         matcher entry
huangyingting pushed a commit to repomesh/CopilotKit that referenced this pull request Jun 18, 2026
…command, and lsof-graceful inspector

- Update 12 slot-0-assumption tests for slot-0 reservation contract
- Add lsof stub and foundation smoke for isolate.bats
- Tests CopilotKit#1-CopilotKit#3: slot pinning behavior
- Tests CopilotKit#4-CopilotKit#7: port-probe and stale-reap behavior
- Tests CopilotKit#8-CopilotKit#10: slot state, slots subcommand, concurrent claim
- New test for _slot_state ports=? when lsof unavailable
davidmckayv added a commit that referenced this pull request Jul 23, 2026
…k PDF Q2 report

Fixes three demo-pill defects surfaced in review:

- "What's on my screen?": the agent refused ("I can't inspect the live
  screen"). Add a SCREEN AWARENESS rule so it treats its context (current
  page + live cards/policies/transactions) as its screen view and answers
  confidently, citing the actual on-screen figures.

- "show the tool calls" (#6 Q2 report, #7 favorite food): add a wildcard
  ("*") renderToolCalls chip that renders a visible "tool . <label>" pill for
  every tool call with no richer renderer of its own (recall_memory,
  save_memory, createReport, render_report, ...). MCP-namespaced names map to
  friendly labels.

- Q2 report (#6): the suggestion path drops attachments, so the report never
  saw the PDF. A custom suggestionView slot (demo-suggestions.tsx) takes over
  pill clicks: "Prep the Q2 report" drives the real composer (stage invoice ->
  type -> send) so the PDF rides as a real attachment chip and the run
  completes cleanly (a hand-rolled runAgent left createReport's result
  dangling and Intelligence failed the run). gpt-5.4 reads the invoice and
  folds its line items into the filed report + charts via createReport
  additions (Spend Breakdown -> Marketing 96%).

- "Change my card PIN" (#3): the slot navigates to /?operation=change-pin to
  open the app's own PIN dialog instead of routing PIN entry through the agent
  pane.

Extract the invoice-staging helper (attach-invoice.ts) shared by the header
paperclip button and the Q2 pill. Includes the previously-uncommitted report
additions plumbing (data.ts, reports route, report-tool, reports-view).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
zeekay pushed a commit to Dream-AI-4444/CopilotKit that referenced this pull request Sep 11, 2026
…null-alt filter, registry-gated landing cards

- Reject RESERVED_ROUTE_SLUGS at the handler as defense-in-depth.
  Next.js already prefers exact-match top-level routes over this
  catch-all, so /docs, /ag-ui, etc. never reach here under normal
  routing — but if the registry ever ships an integration whose slug
  collides with a reserved segment, the handler now short-circuits
  with notFound() rather than rendering garbage (finding CopilotKit#6).
- Import the shared findFrameworksWithCell helper instead of a
  duplicated local copy (finding CopilotKit#3 follow-through).
- Filter out unresolved alternative-framework slugs BEFORE mapping
  to React fragments so the ", " separator aligns with the final
  rendered count. The pre-filter index previously emitted stray
  commas when an entry dropped to null mid-sequence (finding CopilotKit#7).
- FrameworkLandingPage's four hardcoded LandingCards are now gated by
  registry integration.features presence: strands (no HITL support)
  no longer shows a dead "Human-in-the-Loop" card. The card
  definitions are hoisted into a module-level constant with a TODO
  pointing at the eventual feature-id → doc-slug mapping
  (finding CopilotKit#8).
- Declare export const dynamicParams = true explicitly so a future
  migration to output: "export" fails loudly here (under static
  export dynamicParams must be false) rather than silently 404ing
  every /<framework>/<slug> URL (finding CopilotKit#9).
zeekay pushed a commit to Dream-AI-4444/CopilotKit that referenced this pull request Sep 11, 2026
Phase 3.0: Pre-flight verified — 34 e2e_smoke rows in PB (producer
gap from PR CopilotKit#4200 resolved).

Phase 3.1: Rename dashboard e2e subscription to e2e_smoke to match
ops producer key. Update formatLabel/formatTooltip dim unions.

Phase 3.2: Add per-integration L1-L4 LevelStrip with Up/Wired/Chats/
Tools badges. New subscriptions for agent, chat, tools, e2e_smoke.
Widen aggregateConnection to variadic. Tools n/a gate uses
integration.demos.some(d => d.id === "tool-rendering").

Phase 3.3: Retire HealthDot from per-feature cells (L1 Up badge in
strip replaces it). Drop smokeRow from per-cell rollup (Decision CopilotKit#7).
Rollup now uses [healthRow, e2eRow] only. First-ever green rollups
enabled (smokeRow was always null in production).

Phase 3.4: Remove QA column — drop LiveBadge QA, CellState.qa,
subscription, legend entry. No producer ever existed.

Phase 3.5: Docs four-glyph mapping: ok->checkmark, missing->middle
dot, notfound->cross, error->exclamation. Each DocState has a
distinct glyph and tone.

Phase 3.6: Legend rewrite — drop QA/Hosted, add L1-L4 strip docs,
expand docs row for four glyphs, rewrite ? footnote.

Phase 3.7: Add PackagesSection below starters grid. Extends
registry.json with packages array from shared/packages.json. CI
drift test ensures package set matches integration set.
zeekay pushed a commit to Dream-AI-4444/CopilotKit that referenced this pull request Sep 11, 2026
## Summary

Phase 3 of the dashboard honesty pass, implementing all 7 sub-phases
from the [Notion
plan](https://www.notion.so/34b3aa381852812c9e12f34a6caa304a)
(v2.4) in a single PR.

### Sub-phases landed

- **3.0 Pre-flight**: Verified 34 e2e_smoke rows in PB. Producer gap
  from PR CopilotKit#4200 is resolved.
- **3.1**: Renamed dashboard e2e subscription to e2e_smoke to match
  the ops producer key shape. Updated formatLabel/formatTooltip dim
  unions, all test fixtures.
- **3.2**: Added per-integration L1-L4 LevelStrip component
  (Up/Wired/Chats/Tools badges). New subscriptions for agent, chat,
  tools, e2e_smoke. aggregateConnection refactored to variadic. Tools
  n/a gate: integration.demos.some(d => d.id === "tool-rendering").
- **3.3**: Retired HealthDot from per-feature cells (L1 Up badge in
  strip replaces it). Dropped smokeRow from per-cell rollup (Decision
  CopilotKit#7). Rollup now [healthRow, e2eRow] only. This enables first-ever
  green rollups -- smokeRow was always null in production due to a
  key-shape mismatch.
- **3.4**: Removed QA column entirely -- LiveBadge QA, CellState.qa,
  subscription, legend entry. No producer ever existed.
- **3.5**: Docs four-glyph mapping: ok=checkmark, missing=middle dot,
  notfound=cross, error=exclamation. Each DocState value now renders a
  distinct glyph and tone.
- **3.6**: Legend rewrite -- dropped QA and Hosted rows, added L1-L4
  strip documentation, expanded docs row for four glyphs, rewrote ?
  footnote to "probe has not yet ticked since deploy".
- **3.7**: Added PackagesSection below starters grid. Extended
  registry.json with packages array from showcase/shared/packages.json.
  CI drift test ensures package set matches integration set.

### Behavior changes

- Per-cell rollup can now produce green (previously impossible because
  smokeRow was always null due to the integration-scoped vs
  feature-scoped key mismatch).
- QA column removed (was always showing ? with no producer).
- HealthDot removed from per-cell badges (replaced by L1 Up in strip).
- E2E badge now reads from e2e_smoke dimension (was reading dead e2e).

## Test plan

- [ ] vitest: 8 test files, 67 tests passing (baseline was 4 files,
  52 tests)
- [ ] TypeScript: tsc --noEmit clean
- [ ] New tests: LevelStrip (7 tests), PackagesSection (3 tests),
  DocsLink (2 tests), packages-drift CI test (1 test)
- [ ] Updated tests: live-status.test.ts (rollup fixtures updated for
Decision CopilotKit#7), feature-grid.test.tsx (e2e_smoke keys), dashboard.spec.ts
  (e2e_smoke + agent/chat/tools fixtures)
- [ ] Verify at showcase.copilotkit.ai post-deploy: L1-L4 strip on
  each integration + package row; docs four-glyph visible; no QA column;
  green rollup on healthy cells
zeekay pushed a commit to Dream-AI-4444/CopilotKit that referenced this pull request Sep 11, 2026
…ting features

Per-cell status row corrections + a focused unit-test file covering CP1,
CP2, CP5, CP7, CP8 behaviors:

- CP3: stop consuming `cell.smoke` in CellStatus. resolveCell still
  computes the field for backwards-compat with other call-sites, but
  per Phase 3 Decision CopilotKit#7 the smoke L1 signal is integration-scoped and
  lives in the per-integration strip — there's no per-feature smoke
  badge in the cell row. (The CellState type narrowing for the `smoke`
  field is owned by the live-status.ts fix in a sibling worktree; this
  patch only removes the consumer.)
- CP8: hide the D5/D6 LiveBadges when feature.kind === "testing".
  The e2e-deep / e2e-parity producers only emit rows for primary
  features per spec; testing features would otherwise render a
  perpetual gray "?" that adds noise without information. Mirrors the
  docs-row visibility rule (already gated on isTesting).
- CP9: document the missing per-cell drilldown URL convention for D5/D6
  with a TODO comment. No drilldown route exists today; once one does,
  wire it through keyFor here.

Tests cover red-green for CP1 (mouseleave handler wired), CP2 (first /
error / green_to_red transition formatting), CP5 (opt-out vs absent
tooltip copy), and CP8 (D5/D6 hidden for testing features). The
existing docs-link.test.tsx still passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants