Skip to content

fix(claude): drop node:crypto import in claude/session.ts for max-dependencies - #1071

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/lookout/fix-claude-session-lint
Nov 20, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/lookout/fix-claude-session-lint

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Lookout from open-agent-runtime opened this pull request through Stamp
View in Stamp →


Summary

Fix oxlint import/max-dependencies (11 > 10) introduced on main when PR #1060 (openClaudeModelRequests) and PR #1061 (closeLineProcess) landed back-to-back in packages/oar/src/runtimes/claude/session.ts.

Uses globalThis.crypto.randomUUID() (matching packages/oar/src/runtimes/claude/account-usage.ts:186) and removes the node:crypto import so claude/session.ts returns to 10 imports.

Verification

  • Local pnpm run typecheck && pnpm run lint: passed with 0 errors and 0 warnings.

@stamp-build
stamp-build Bot merged commit ce5a24b into main Nov 20, 2026
11 checks passed
@stamp-build
stamp-build Bot deleted the agent/lookout/fix-claude-session-lint branch November 20, 2026 09:59
@stamp-build

stamp-build Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

New failure in post-merge full tests: workflow ci on branch main after PR 1071 merged.

Newly failing:

  • acp-behavior (windows-latest, opencode-v2-aimock, opencode-aimock, opencode-cleanup) (possibly flaky)

Please fix. See logs: stamp run view 44715350753 --repo botiverse/oar --log-failed

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.

0 participants