Skip to content

Fix workspace package typing + docs adapter compatibility#43

Open
Dexploarer wants to merge 7 commits intoJejuNetwork:developfrom
Dexploarer:codex/fix-paymaster-balance
Open

Fix workspace package typing + docs adapter compatibility#43
Dexploarer wants to merge 7 commits intoJejuNetwork:developfrom
Dexploarer:codex/fix-paymaster-balance

Conversation

@Dexploarer
Copy link
Contributor

@Dexploarer Dexploarer commented Feb 18, 2026

Summary

  • Fix internal package type entry points to resolve internal modules from source TypeScript files in workspace typecheck mode.
  • Add a tolerant requestIp resolver in the documentation A2A server to handle adapter API shape changes in Elysia.
  • Keep runtime imports unchanged (dist/*.js) so build behavior is preserved.

Validation

  • Ran: bun run --cwd apps/documentation typecheck
  • Ran: bun run --cwd apps/dws typecheck ⚠️ (still fails on pre-existing apps/dws issues unrelated to this change)

Updated Files

  • /Users/home/Downloads/jeju project/apps/documentation/server/a2a-server.ts
  • /Users/home/Downloads/jeju project/packages/api/package.json
  • /Users/home/Downloads/jeju project/packages/auth/package.json
  • /Users/home/Downloads/jeju project/packages/bots/package.json
  • /Users/home/Downloads/jeju project/packages/bridge/package.json
  • /Users/home/Downloads/jeju project/packages/cli/package.json
  • /Users/home/Downloads/jeju project/packages/contracts/package.json
  • /Users/home/Downloads/jeju project/packages/db/package.json
  • /Users/home/Downloads/jeju project/packages/durable-objects/package.json
  • /Users/home/Downloads/jeju project/packages/kms/package.json
  • /Users/home/Downloads/jeju project/packages/solana/package.json
  • /Users/home/Downloads/jeju project/packages/token/package.json
  • /Users/home/Downloads/jeju project/packages/types/package.json
  • /Users/home/Downloads/jeju project/packages/ui/package.json

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4fceaf5b70

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +296 to +299
// Complete external login with provided signature
const signature = options.signature
const isValid = await verifyMessage({ address, message, signature })
if (!isValid) {

Choose a reason for hiding this comment

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

P1 Badge Reuse the original challenge for external signature verify

In the --external completion path, verification uses message generated in the current invocation, but that message contains a fresh random nonce/timestamp each run. A signature produced from the message printed in the prior step therefore cannot match here, so the two-step external login flow fails consistently for manual/hardware signing users. Persist and replay the original challenge (or accept the signed message as input) before calling verifyMessage.

Useful? React with 👍 / 👎.

Comment on lines +304 to +308
const authResult = await authenticateWithDWS(
address,
signature,
message,
network,

Choose a reason for hiding this comment

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

P2 Badge Keep localnet offline fallback in external login flow

This branch always calls authenticateWithDWS, but elsewhere in the same command localnet explicitly avoids DWS because it may not be running. As a result, external logins on localnet regress to hard-failing in offline/dev setups even when the signature is valid. Add the same network === 'localnet' token fallback here to preserve existing localnet behavior.

Useful? React with 👍 / 👎.

@Dexploarer Dexploarer changed the title Fix ui paymaster module compatibility and balance checks Fix workspace package typing + docs adapter compatibility Feb 18, 2026
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.

1 participant