Repository navigation
make textarea package independent from copilotkit/core - #11
Merged
Merged
Conversation
jerelvelarde
added a commit
to jerelvelarde/CopilotKit
that referenced
this pull request
Apr 5, 2026
- Fix tool count (5→7) and hook count (5→6) across all docs - Add save/load dashboard tools, gallery page, 12 widget types - Fix model name (gpt-4o → gpt-5.4) in architecture and how-it-was-built - Update demo guide to 7 acts (~15 min) with save/gallery/load sequence - Add acceptance criteria for gallery, persistence, and widget types - Update issue #00 status to feature-complete - Add engineering issue CopilotKit#9: ag_ui Context serialization monkey-patch - Add implementation issues CopilotKit#9-CopilotKit#11: StrictMode dedup, type mapping, wildcard renderer
jpr5
added a commit
that referenced
this pull request
Apr 18, 2026
…ip + isMainPath catch coverage R17-3 #4: validateAll EACCES test now asserts r.status === 3 strictly. The prior expect([1,3]).toContain defeated the fix it was meant to guard — accepting the pre-fix behavior (1). Restructured the fixture to chmod the parent dir (not the file) so statSync in collectDepsFromDir fails EACCES → infra: true → UnreadableInputError → EXIT_UNREADABLE (3) actually fires. chmod'ing the file routed through readFileSync (not-infra parseError → EXIT_DRIFT), never exercised the fix. R17-3 #2: parseRequirementsTxt dropped-line test uses '==1.0.0' — an operator-leading line with no package name is GUARANTEED to be dropped by parseRequirementsLine (leading [A-Za-z0-9] required). Replaced the silent early-return guard with an invariant assertion that fails loudly if the fixture ever stops producing a drop. R17-3 #3: parsePyprojectToml skipped-entry test drops the early-return guard; the Poetry git-only inline table deterministically hits the skipped branch. Added an invariant assertion on detailed.skipped.length. R17-3 #11: printReport within-stream order tests now compare findLastIndex(earlier-group) vs findIndex(later-group). findIndex-only compared first-match only, which would pass even with interleaving. Fixture includes 2 OK + 2 SKIP (and 2 WARN + 2 FAIL) so the stronger assertion has teeth. R17-3 #5: EACCES tests' silent `return;` on root replaced with `it.skipIf(isRoot)` at declaration time. The runtime 'filesystem does not enforce chmod' branch now emits a console.warn so the skip is visible in test output rather than a silent green. R17-3 #6: Added isMainPath catch-branch test. vi.spyOn(path, 'resolve') throws once; asserts result is false, process.exitCode === EXIT_INTERNAL (2), and stderr log contains '[isMainPath] path.resolve failed'. Previously this branch had no coverage — a bare catch {} regression would pass all existing tests.
shaneholloman
pushed a commit
to shaneholloman/copilotkit
that referenced
this pull request
Apr 21, 2026
…v titles - titleFromSlug now Title-Cases the result (multimodal-inputs → Multimodal Inputs) instead of returning a lowercased fallback. The lowercase labels previously clashed with the docs-render and reference-breadcrumb conventions elsewhere (finding CopilotKit#10). - Wrap getTitleForSlug in a process-scoped cache with dev-mode invalidation, mirroring reference-items.ts. Previously every entry in NAV_DEFINITION re-opened and re-parsed its MDX file on every request — multiply across ~20 nav entries per render and it added noticeable fs churn (finding CopilotKit#11).
jpr5
added a commit
that referenced
this pull request
Jun 12, 2026
…ateKey empty-sentinel fallback, memoized auth route, documented 4xx repetition and 401 class - assertServiceJobPayload rejects a non-number meta.priority when present - protocolViolationResult falls back to a jobId-derived aggregateKey (defense-in-depth; empty probe_key is unreachable via claimNext's G1c gate) - job-claim memoizes the working auth route so a v0.22 backend pays the /_superusers 404 probe once per process, not per token expiry - raceCandidates' deterministic-4xx per-poll re-warn documented as accepted - deterministicEndpointRejection notes why 401 is deterministic (postFleet already re-authed once) shuffleInPlace rng clamp NOT done: lines are pre-existing (d408766 on origin/main) — blame-gated out.
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
zeekay
pushed a commit
to Dream-AI-4444/CopilotKit
that referenced
this pull request
Sep 11, 2026
…v titles - titleFromSlug now Title-Cases the result (multimodal-inputs → Multimodal Inputs) instead of returning a lowercased fallback. The lowercase labels previously clashed with the docs-render and reference-breadcrumb conventions elsewhere (finding CopilotKit#10). - Wrap getTitleForSlug in a process-scoped cache with dev-mode invalidation, mirroring reference-items.ts. Previously every entry in NAV_DEFINITION re-opened and re-parsed its MDX file on every request — multiply across ~20 nav entries per render and it added noticeable fs churn (finding CopilotKit#11).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.