Skip to content

Comments

β˜• chore: fix all Biome lint errors, base on dev branch#23

Merged
warengonzaga merged 6 commits intodevfrom
copilot/fix-bun-lint-errors
Feb 24, 2026
Merged

β˜• chore: fix all Biome lint errors, base on dev branch#23
warengonzaga merged 6 commits intodevfrom
copilot/fix-bun-lint-errors

Conversation

Copy link
Contributor

Copilot AI commented Feb 23, 2026

  • Review all 7 comment threads
  • packages/core/src/database.ts β€” Remove unused prepared statements (_updateEpisodicAccessStmt, _pruneEpisodicEventsStmt)
  • src/cli/src/commands/start.ts β€” Remove redundant optional chaining inside channel guard
  • src/cli/src/commands/start.ts β€” Remove unused primary provider config reads (_primaryBaseUrl, _primaryApiKeyRef)
  • src/cli/src/commands/start.ts β€” Remove unused _matcher initialization and import
  • src/web/tests/server.test.ts β€” Fix cookieMatch guard with explicit throw and direct access
  • plugins/channel/plugin-channel-friends/src/server.ts β€” Store Set in local variable for deterministic add
  • packages/intercom/src/index.ts β€” Remove unused sequence counter and _seq variable
  • Lint passes (0 errors, 59 warnings)
  • Build passes
  • Tests pass
  • Code review: no issues
  • CodeQL: 0 alerts
Original prompt

Fix all the bun lint errors and usue the dev branch as the base code and PR sent to dev branch not main branch.

[Chronological Review: The conversation began with the user requesting to fix all errors in bun lint using biome and to create a pull request (PR) to the dev branch. The user then expressed concerns about the impact of GitHub Actions and rulesets on changelog modifications. They questioned whether it was appropriate to make changes directly to the main branch and noted that the PR still used old workflows despite Commit Lint being part of CI. The user acknowledged that the latest changes were still in the dev branch and mentioned moving the codebase to dev in the PR.]

[Intent Mapping:

  1. "Fix all the bun lint errors and PR it to dev branch." - User wants to resolve linting issues and submit changes.
  2. "Delegate to cloud agent." - User wants to assign the task to an automated agent.
  3. "Will that affect it?" - User is concerned about the changelog modification process due to GitHub Actions rules.
  4. "Is this the correct approach?" - User seeks validation on making changelog changes directly to the main branch.
  5. "Commit Lint is now part of CI right?" - User is questioning the workflow consistency in the PR process.
  6. "Noted." - User acknowledges the state of the dev branch.
  7. "However that PR I move the code base to dev." - User indicates they have moved the codebase to the dev branch.]

[Technical Inventory:

  • Tools: GitHub Actions, Bun Lint, Biome
  • Concepts: Pull Requests, CI/CD workflows, changelog management, linting errors, branch rulesets.]

[Code Archaeology:

  • No specific files or code changes were detailed in the conversation, but the focus was on resolving linting issues and managing changelog updates.]

[Progress Assessment:

  • Completed Tasks: User has moved the codebase to the dev branch.
  • Partially Complete Work: Fixing bun lint errors and creating a PR is pending. User is also seeking clarity on changelog modifications.]

[Context Validation: All critical information for continuation is captured, including user concerns about workflows and changelog management.]

[Recent Commands Analysis:

  • Last Agent Commands: User requested to fix bun lint errors and delegate tasks to the cloud agent.
  • Tool Results Summary: No specific tool results were provided, but the user is focused on resolving linting issues and managing changelog updates.
  • Pre-Summary State: The agent was actively addressing user concerns about workflows and changelog modifications when the token budget was exceeded.
  • Operation Context: The commands executed were directly related to the user's goals of fixing code issues and ensuring proper workflow management.]
1. Conversation Overview: - Primary Objectives: - "Fix all the bun lint errors and PR it to dev branch." - "Will that affect it?" - Concerns about changelog modifications. - "Is this the correct approach?" - Validation on changelog changes. - Session Context: The conversation focused on fixing linting errors, managing changelog updates, and ensuring proper CI workflows. - User Intent Evolution: The user transitioned from requesting fixes to expressing concerns about workflows and changelog management.
  1. Technical Foundation:
  • Bun Lint: A tool for identifying and fixing linting errors in code.
  • Biome: A tool mentioned for linting purposes.
  • GitHub Actions: Used for CI/CD processes and managing workflows.
  1. Codebase Status:
  • No specific files were detailed, but the focus was on resolving linting issues and managing changelog updates.
  1. Problem Resolution:
  • Issues Encountered: Concerns about the impact of GitHub Actions rules on changelog modifications.
  • Solutions Implemented: User has moved the codebase to the dev branch.
  • Debugging Context: Ongoing discussions about workflow consistency and changelog management.
  1. Progress Tracking:
  • Completed Tasks: User has moved the codebase to the dev branch.
  • Partially Complete Work: Fixing bun lint errors and creating a PR is still pending.
  1. Active Work State:
  • Current Focus: Fixing bun lint errors and managing changelog updates.
  • Recent Context: User expressed concerns about workflows and changelog modifications.
  • Immediate Context: User was addressing the state of the dev branch and PR workflows.
  1. Recent Operations:
  • Last Agent Commands: User requested to fix bun lint errors and delegate tasks to the cloud agent.
  • Tool Results Summary: No specific results were provided, but the focus remains on resolving linting issues.
  • Pre-Summary State: The agent was addressing user concerns about workflows and changelog modifications.
  • Operation Context: The commands executed were aimed at fixing code issues and ensuring proper workflow management.
  1. Continuation Plan:
  • [Pending Task 1]: Fix all bun lint errors and create a PR to the dev branch.
  • [Pending Task 2]: Validate the approach to changelog modifications in relation to GitHub Actions rule...

Created from VS Code.


πŸ’¬ We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Fix all bun lint errors and submit to dev branch β˜• chore: fix all Biome lint errors, base on dev branch Feb 23, 2026
Copilot AI requested a review from warengonzaga February 23, 2026 11:35
@warengonzaga warengonzaga changed the base branch from main to dev February 23, 2026 13:17
@warengonzaga warengonzaga requested a review from Copilot February 23, 2026 13:18
@warengonzaga warengonzaga marked this pull request as ready for review February 23, 2026 13:18
@github-actions
Copy link

πŸ“¦ Package Build Flow β€” Monorepo Build

πŸ”€ Pull Request Build β€” Pre-release package for testing PR changes

Package Version Status Install
@tinyclaw/plugins 2.0.0-patch.ac44432 βœ… Published npm i @tinyclaw/plugins@2.0.0-patch.ac44432
@tinyclaw/types 2.0.0-patch.ac44432 βœ… Published npm i @tinyclaw/types@2.0.0-patch.ac44432
tinyclaw 2.0.0-patch.ac44432 βœ… Published npm i tinyclaw@2.0.0-patch.ac44432
@tinyclaw/plugin-channel-discord 2.0.0-patch.ac44432 βœ… Published npm i @tinyclaw/plugin-channel-discord@2.0.0-patch.ac44432
@tinyclaw/plugin-channel-friends 2.0.0-patch.ac44432 βœ… Published npm i @tinyclaw/plugin-channel-friends@2.0.0-patch.ac44432
@tinyclaw/plugin-provider-openai 2.0.0-patch.ac44432 βœ… Published npm i @tinyclaw/plugin-provider-openai@2.0.0-patch.ac44432

πŸ“₯ Quick Install (changed packages)

npm i @tinyclaw/types@2.0.0-patch.ac44432 @tinyclaw/plugins@2.0.0-patch.ac44432 @tinyclaw/plugin-channel-discord@2.0.0-patch.ac44432 @tinyclaw/plugin-channel-friends@2.0.0-patch.ac44432 @tinyclaw/plugin-provider-openai@2.0.0-patch.ac44432 tinyclaw@2.0.0-patch.ac44432

This package was built automatically by the Package Build Flow action.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR rebases onto dev and resolves Biome (bun run lint) failures across the repository, primarily via automated formatting/import fixes plus a few manual refactors and targeted lint suppressions.

Changes:

  • Replace bare Node.js stdlib imports (fs, path, crypto, etc.) with node: protocol equivalents and clean up unused imports/vars.
  • Refactor lint-triggering patterns (e.g., assignment-in-condition loops, implicit any in let declarations) and adjust tests/code formatting.
  • Fix wildcard-path regex escaping in packages/shield/src/matcher.ts and add a couple of biome-ignore suppressions for intentional regex patterns.

Reviewed changes

Copilot reviewed 74 out of 74 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/web/vite.config.ts Use node:path import protocol.
src/web/tests/server.test.ts Adjust ANSI stripping regex + minor test variable changes.
src/web/tests/security-db.test.ts Template literals + optional chaining adjustment in assertion.
src/web/tests/main.test.ts Remove unused test hooks/imports.
src/web/src/server.ts Use node: stdlib imports; add explicit unknown typing for request bodies; rename unused catch vars.
src/web/src/security-db.ts Use node: stdlib imports.
src/landing/vite.config.ts Use node:path import protocol.
src/cli/tests/ui/banner.test.ts Remove unused jest import from bun:test usage.
src/cli/tests/purge.test.ts Use node: stdlib imports.
src/cli/tests/config.test.ts Use node:path import protocol.
src/cli/tests/commands/start.test.ts Remove unused jest import; minor numeric NaN check tweak.
src/cli/tests/commands/setup.test.ts Remove unused jest import; NaN check + small boolean simplifications.
src/cli/tests/commands/backup.test.ts Convert string concatenations to template literals.
src/cli/tests/cli-router.test.ts Use node:path import protocol.
src/cli/src/ui/banner.ts Convert concatenations to template literals.
src/cli/src/supervisor.ts Use node:child_process import protocol.
src/cli/src/index.ts Convert concatenations to template literals.
src/cli/src/commands/start.ts Use node: stdlib imports; adjust unused types/vars; minor optional-call change.
src/cli/src/commands/setup.ts Use node: stdlib imports; convert concatenations to template literals.
src/cli/src/commands/setup-web.ts Use node: stdlib imports.
src/cli/src/commands/seed.ts Use node: stdlib imports.
src/cli/src/commands/purge.ts Use node: stdlib imports; convert concatenations to template literals.
src/cli/src/commands/config.ts Convert concatenations to template literals.
src/cli/src/commands/backup.ts Use node: dynamic imports; convert concatenations to template literals; minor null-safe trim.
plugins/channel/plugin-channel-friends/src/tools.ts Prefer Number.isNaN.
plugins/channel/plugin-channel-friends/src/server.ts Optional chaining on Map access in SSE push client management.
plugins/channel/plugin-channel-friends/src/index.ts Use node: stdlib imports.
plugins/channel/plugin-channel-discord/tests/index.test.ts Optional-call when invoking plugin pairing tools.
packages/shield/tests/parser.test.ts Replace non-null assertions with optional chaining in expectations.
packages/shield/src/parser.ts Refactor regex exec loop to avoid assignment-in-condition; prefer Number.isNaN.
packages/shield/src/matcher.ts Harden wildcard path regex escaping; template literals for domain suffix matching.
packages/shell/tests/executor.test.ts Use node: stdlib imports.
packages/shell/src/permissions.ts Template literals in string/regex construction.
packages/sandbox/src/index.ts Use node: stdlib imports.
packages/nudge/tests/nudge.test.ts Remove unused mock import; optional chaining on handler list.
packages/memory/tests/memory-engine.test.ts Use node: stdlib imports; replace non-null assertions with optional chaining in expectations.
packages/matcher/tests/matcher.test.ts Replace non-null assertions with optional chaining in expectations.
packages/learning/src/index.ts Use node: stdlib imports; rename unused params/catch vars.
packages/intercom/tests/intercom.test.ts Replace non-null assertions with optional chaining in expectations.
packages/intercom/src/index.ts Rename unused sequence var (still unused).
packages/heartware/tests/soul-generator.test.ts Use node: stdlib imports; adjust forEach callback body.
packages/heartware/tests/meta.test.ts Use node: stdlib imports; update require to node:fs.
packages/heartware/src/tools.ts Rename unused catch vars.
packages/heartware/src/soul-traits.ts Remove unused type import.
packages/heartware/src/soul-generator.ts Use node:crypto import protocol.
packages/heartware/src/sandbox.ts Use node:path import protocol.
packages/heartware/src/meta.ts Use node: stdlib imports; template literal for truncation marker.
packages/heartware/src/manager.ts Use node: stdlib imports; rename unused catch vars.
packages/heartware/src/loader.ts Remove unused import; rename unused catch vars.
packages/heartware/src/backup.ts Use node: stdlib imports; rename unused catch vars.
packages/heartware/src/audit.ts Use node: stdlib imports; template literals for log lines; rename unused catch vars.
packages/delegation/tests/* Replace non-null assertions with optional chaining in expectations; node: stdlib imports where applicable.
packages/delegation/src/types.ts Remove unused type import.
packages/delegation/src/tools.ts Remove/rename unused imports/constants/functions to satisfy lint.
packages/delegation/src/templates.ts Remove unused type import.
packages/delegation/src/runner.ts Add explicit LLMResponse typing; rename unused function.
packages/delegation/src/orientation.ts Template literal for truncation.
packages/delegation/src/lifecycle.ts Remove unused type imports.
packages/delegation/src/compat.ts Add explicit Provider typing for previously implicit any.
packages/delegation/src/background.ts Remove unused type imports.
packages/core/tests/update-checker.test.ts Use node: stdlib imports; replace non-null assertions with optional chaining in expectations.
packages/core/src/update-checker.ts Prefer Number.isNaN.
packages/core/src/loop.ts Remove unused type import; rename unused locals.
packages/core/src/database.ts Use node: stdlib imports; rename unused locals; template literal concat tweak.
packages/config/src/tools.ts Prefer Number.isNaN.
packages/compactor/tests/compactor.test.ts Use node: stdlib imports; replace non-null assertions with optional chaining in expectations.
packages/compactor/src/rules.ts Add Biome ignore for intentional emoji regex; template literals.
packages/compactor/src/optimizer.ts Rename unused regex constant; template literal concat tweak.
packages/compactor/src/dictionary.ts Template literal concat tweak.

@github-actions
Copy link

github-actions bot commented Feb 23, 2026

πŸ”§ Container Build Complete - PR Build

Build Status: βœ… Success
Flow Type: pr
Description: Feature development and testing


πŸ“¦ Pull Image

Docker Hub: docker pull warengonzaga/tinyclaw:pr-73f3ee9
GHCR: docker pull ghcr.io/warengonzaga/tinyclaw:pr-73f3ee9

πŸ“‹ Build Details

Property Value
Flow Type pr
Commit 673bbb3
Registry Docker Hub + GHCR

🏷️ Image Tags

β€’ warengonzaga/tinyclaw:pr-73f3ee9
β€’ ghcr.io/warengonzaga/tinyclaw:pr-73f3ee9


πŸ” Testing Your Changes

  1. Pull the image using one of the commands above
  2. Run the container with your test configuration
  3. Verify the changes work as expected
  4. Report any issues in this PR

πŸš€ Quick Start

# Pull and run the container
Docker Hub: docker pull warengonzaga/tinyclaw:pr-73f3ee9
docker run <your-options> <image>


πŸ”’ Security Scan Results

πŸ“‹ Pre-Build Security Checks

βœ… Source Code Scan: 0 vulnerabilities found
βœ… Dockerfile Scan: 0 misconfigurations found

🐳 Container Image Vulnerabilities

Severity Count
Total 0

πŸ“Š Detailed Security Reports

View detailed vulnerability reports in the GitHub Security tab.


πŸ€– Powered by Container Build Flow Action v1.2.0
πŸ’» with ❀️ by Waren Gonzaga under WG Technology Labs, and Him πŸ™

@warengonzaga
Copy link
Owner

@copilot apply changes based on the comments in this thread

Copy link
Contributor Author

Copilot AI commented Feb 24, 2026

@copilot apply changes based on the comments in this thread

Applied all 7 review comment fixes in commit 447f5f6:

  • packages/core/src/database.ts β€” Removed unused _updateEpisodicAccessStmt and _pruneEpisodicEventsStmt prepared statements
  • src/cli/src/commands/start.ts β€” Removed redundant ?. in channel guard, removed unused _primaryBaseUrl/_primaryApiKeyRef reads, removed unused _matcher = createHybridMatcher() and its import
  • src/web/tests/server.test.ts β€” Added explicit if (!cookieMatch) throw guard so cookieMatch[1] is used directly
  • plugins/channel/plugin-channel-friends/src/server.ts β€” Set stored in local clients variable for deterministic add()
  • packages/intercom/src/index.ts β€” Removed unused sequence counter and _seq assignment

@github-actions
Copy link

πŸ“¦ Package Build Flow β€” Monorepo Build

πŸ”€ Pull Request Build β€” Pre-release package for testing PR changes

Package Version Status Install
@tinyclaw/plugins 2.0.0-pr.d70213b βœ… Published npm i @tinyclaw/plugins@2.0.0-pr.d70213b
@tinyclaw/types 2.0.0-pr.d70213b βœ… Published npm i @tinyclaw/types@2.0.0-pr.d70213b
tinyclaw 2.0.0-pr.d70213b βœ… Published npm i tinyclaw@2.0.0-pr.d70213b
@tinyclaw/plugin-channel-discord 2.0.0-pr.d70213b βœ… Published npm i @tinyclaw/plugin-channel-discord@2.0.0-pr.d70213b
@tinyclaw/plugin-channel-friends 2.0.0-pr.d70213b βœ… Published npm i @tinyclaw/plugin-channel-friends@2.0.0-pr.d70213b
@tinyclaw/plugin-provider-openai 2.0.0-pr.d70213b βœ… Published npm i @tinyclaw/plugin-provider-openai@2.0.0-pr.d70213b

πŸ“₯ Quick Install (changed packages)

npm i @tinyclaw/types@2.0.0-pr.d70213b @tinyclaw/plugins@2.0.0-pr.d70213b @tinyclaw/plugin-channel-discord@2.0.0-pr.d70213b @tinyclaw/plugin-channel-friends@2.0.0-pr.d70213b @tinyclaw/plugin-provider-openai@2.0.0-pr.d70213b tinyclaw@2.0.0-pr.d70213b

This package was built automatically by the Package Build Flow action.

@warengonzaga warengonzaga force-pushed the copilot/fix-bun-lint-errors branch from 447f5f6 to b4ff148 Compare February 24, 2026 10:53
@github-actions
Copy link

πŸ“¦ Package Build Flow β€” Monorepo Build

πŸ”€ Pull Request Build β€” Pre-release package for testing PR changes

Package Version Status Install
@tinyclaw/plugins 2.0.0-pr.9e09860 βœ… Published npm i @tinyclaw/plugins@2.0.0-pr.9e09860
@tinyclaw/types 2.0.0-pr.9e09860 βœ… Published npm i @tinyclaw/types@2.0.0-pr.9e09860
tinyclaw 2.0.0-pr.9e09860 βœ… Published npm i tinyclaw@2.0.0-pr.9e09860
@tinyclaw/plugin-channel-discord 2.0.0-pr.9e09860 βœ… Published npm i @tinyclaw/plugin-channel-discord@2.0.0-pr.9e09860
@tinyclaw/plugin-channel-friends 2.0.0-pr.9e09860 βœ… Published npm i @tinyclaw/plugin-channel-friends@2.0.0-pr.9e09860
@tinyclaw/plugin-provider-openai 2.0.0-pr.9e09860 βœ… Published npm i @tinyclaw/plugin-provider-openai@2.0.0-pr.9e09860

πŸ“₯ Quick Install (changed packages)

npm i @tinyclaw/types@2.0.0-pr.9e09860 @tinyclaw/plugins@2.0.0-pr.9e09860 @tinyclaw/plugin-channel-discord@2.0.0-pr.9e09860 @tinyclaw/plugin-channel-friends@2.0.0-pr.9e09860 @tinyclaw/plugin-provider-openai@2.0.0-pr.9e09860 tinyclaw@2.0.0-pr.9e09860

This package was built automatically by the Package Build Flow action.

@github-actions
Copy link

πŸ“¦ Package Build Flow β€” Monorepo Build

πŸ”€ Pull Request Build β€” Pre-release package for testing PR changes

Package Version Status Install
@tinyclaw/plugins 2.0.0-pr.73f3ee9 βœ… Published npm i @tinyclaw/plugins@2.0.0-pr.73f3ee9
@tinyclaw/types 2.0.0-pr.73f3ee9 βœ… Published npm i @tinyclaw/types@2.0.0-pr.73f3ee9
tinyclaw 2.0.0-pr.73f3ee9 βœ… Published npm i tinyclaw@2.0.0-pr.73f3ee9
@tinyclaw/plugin-channel-discord 2.0.0-pr.73f3ee9 βœ… Published npm i @tinyclaw/plugin-channel-discord@2.0.0-pr.73f3ee9
@tinyclaw/plugin-channel-friends 2.0.0-pr.73f3ee9 βœ… Published npm i @tinyclaw/plugin-channel-friends@2.0.0-pr.73f3ee9
@tinyclaw/plugin-provider-openai 2.0.0-pr.73f3ee9 βœ… Published npm i @tinyclaw/plugin-provider-openai@2.0.0-pr.73f3ee9

πŸ“₯ Quick Install (changed packages)

npm i @tinyclaw/types@2.0.0-pr.73f3ee9 @tinyclaw/plugins@2.0.0-pr.73f3ee9 @tinyclaw/plugin-channel-discord@2.0.0-pr.73f3ee9 @tinyclaw/plugin-channel-friends@2.0.0-pr.73f3ee9 @tinyclaw/plugin-provider-openai@2.0.0-pr.73f3ee9 tinyclaw@2.0.0-pr.73f3ee9

This package was built automatically by the Package Build Flow action.

@warengonzaga warengonzaga merged commit f3c1613 into dev Feb 24, 2026
10 checks passed
@warengonzaga warengonzaga deleted the copilot/fix-bun-lint-errors branch February 24, 2026 11:53
warengonzaga added a commit that referenced this pull request Feb 24, 2026
…rkflows (#20)

* βš™οΈ setup: add Biome linter with CI integration

* β˜• chore: apply Biome lint and formatting fixes across codebase

* βš™οΈ setup: add CodeQL analysis and Dependabot dependency scanning

* πŸ”§ update (ci): merge commit lint into CI workflow as commits job

* πŸ”§ update (ci): change Dependabot labels to security and infra

* πŸ”§ update (release): use GH_PAT token in checkout to bypass branch ruleset (#22)

* Initial plan

* πŸ”§ update (release): use GH_PAT token in checkout to bypass branch ruleset

Co-authored-by: warengonzaga <15052701+warengonzaga@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: warengonzaga <15052701+warengonzaga@users.noreply.github.com>

* β˜• chore: fix all Biome lint errors, base on dev branch (#23)

* β˜• chore: initial plan for lint fixes

* β˜• chore: fix all 14 bun lint errors using Biome

* πŸ”§ update: address code review comments on dead code and invariant handling

* πŸ”§ update: fix regex pattern in correction patterns for better matching

* βš™οΈ setup: add CI tolerance for bot commits and update AGENTS.md

* πŸ”§ update: reorder correction patterns for consistency

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Waren Gonzaga <opensource@warengonzaga.com>

* πŸ”§ update: optimize Base32 decoding by trimming trailing '=' characters

* πŸ”§ update: improve condition evaluation by refining keyword extraction

* πŸ”§ update (delegation): replace any casts with proper type annotations

- use QueryTier type instead of any for tier casts in background.ts and tools.ts
- use err instanceof Error guard instead of err: any in runner.ts
- use Parameters<TemplateManager['update']>[1] for template updates
- replace non-null assertions with optional chaining in templates.test.ts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* πŸ”§ update (config): use nullish coalescing instead of non-null assertion

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* πŸ”§ update (heartware): use typed error intersection instead of any cast

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* πŸ”§ update (nudge): replace any casts with proper type annotations

- type PulseJob extension instead of any for __touchActivity property
- import and use OutboundSource type in categoryToSource return type
- map companion category to agent source value
- replace any with unknown in intercom handler signatures

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* πŸ”§ update (sandbox): use typed record cast instead of any for globalThis access

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* πŸ”§ update (shield): improve type safety and add biome-ignore comments

- use nullish coalescing instead of non-null assertion for toolName
- reformat keywords chain for readability
- add biome-ignore comments for intentional any usage in tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* πŸ”§ update (discord): add biome-ignore comment for intentional any in test

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* πŸ”§ update (cli): replace any casts with proper type annotations

- use nullish coalescing for non-null assertions in setup.ts, supervisor.ts, banner.ts
- use typed record cast for dynamic property access in start.ts shutdown handlers
- replace any with unknown in test mock signatures

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* πŸ”§ update (web): replace any casts with proper type annotations

- add typed server parameter for getClientIP instead of any
- use explicit fallback instead of non-null assertion for claimToken
- add null check before returning recovery attempt record in security-db
- replace any with unknown in test mock signatures

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* βš™οΈ setup: update husky prepare script to ensure compatibility

* πŸ”§ update (nudge): add IntercomEvent interface to fix TS18046 errors

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: warengonzaga <15052701+warengonzaga@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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