Skip to content

fix(deps): bump node-halopsa to @wyre-ai scope 1.1.0 - #91

Merged
asachs01 merged 1 commit into
mainfrom
fix/bump-node-halopsa-1.1.0
Sep 4, 2026
Merged

asachs01 merged 1 commit into
mainfrom
fix/bump-node-halopsa-1.1.0

Conversation

@asachs01

@asachs01 asachs01 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The Aug 25 org migration (6fa7cc2) deliberately left this SDK dependency on the old @wyre-technology/node-halopsa name, since node-halopsa hadn't republished under @wyre-ai yet at the time.
  • It has now (@wyre-ai/node-halopsa 1.1.0, WYRE-AI/node-halopsa#79), which includes the fix for #78 — a 400 from a resource endpoint no longer gets mislabeled as HaloPsaAuthenticationError with an "invalid credentials" message.
  • Because halopsa-mcp was still pinned to the old package name, npm had no newer version to resolve within that name's history — ^1.0.9 was irrelevant, since it's a different package name entirely as far as dependency resolution goes. This repo had been silently stuck on node-halopsa 1.0.10 since before the migration, missing every fix released since (1.0.11 through 1.1.0).
  • Renamed the dependency and every import (src/utils/client.ts, src/card.builder.ts, test mock in src/__tests__/client.test.ts, plus two doc comments) from @wyre-technology/node-halopsa to @wyre-ai/node-halopsa, bumped the floor to ^1.1.0, regenerated package-lock.json. .npmrc already mapped both scopes to the same registry, so no registry config changes needed.

Test plan

  • npm run typecheck — clean
  • npm test — 147/147 passing
  • npm run lint — clean
  • npm run build — clean

🤖 Generated with Claude Code

https://claude.ai/code/session_01JgXg1NhHo6DvvAqoPowppi


View with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is enabled.

Summary by CodeRabbit

  • Chores
    • Updated the HaloPSA integration to use the renamed @wyre-ai/node-halopsa package.
    • Updated the required package version to ^1.1.0.
    • Updated related documentation and test references to reflect the new package name.

…@wyre-technology name)

The Aug 25 org migration (6fa7cc2) deliberately left the SDK dependency
on the old @wyre-technology/node-halopsa name because node-halopsa
hadn't republished under @WYRE-AI yet. It has now (1.1.0, which
includes the node-halopsa#78 fix: a 400 from a resource endpoint no
longer gets mislabeled as HaloPsaAuthenticationError with an "invalid
credentials" message).

Since halopsa-mcp was still pinned to the old package name, npm never
had a newer version to resolve within that name's published history —
the ^1.0.9 range was irrelevant; it's a different package name
entirely as far as npm dependency resolution is concerned. This had
been silently stuck on 1.0.10 since before the migration, missing
every fix since (1.0.11 through 1.1.0).

Renamed the dependency and every import (src/utils/client.ts,
src/card.builder.ts, and the test mock in
src/__tests__/client.test.ts) from @wyre-technology/node-halopsa to
@wyre-ai/node-halopsa, bumped the version floor to ^1.1.0, and
regenerated package-lock.json. .npmrc already mapped both scopes to
the same registry, so no registry config changes were needed.

Verified: typecheck, full test suite (147/147), lint, and build all
clean.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JgXg1NhHo6DvvAqoPowppi
@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 9eed18de-01a3-463e-9bc5-1888d08a98f4

📥 Commits

Reviewing files that changed from the base of the PR and between 6c12c63 and 013461f.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (6)
  • package.json
  • src/__tests__/client.test.ts
  • src/__tests__/s2s-guard-ordering.test.ts
  • src/card.builder.ts
  • src/utils/client.ts
  • src/worker.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 6 remain after this review.


📝 Walkthrough

Walkthrough

The project replaces @wyre-technology/node-halopsa with @wyre-ai/node-halopsa version ^1.1.0 across dependencies, runtime imports, tests, and documentation.

Changes

HaloPSA package migration

Layer / File(s) Summary
Update dependency and runtime wiring
package.json, src/card.builder.ts, src/utils/client.ts
The runtime dependency and HaloPSA client imports now use @wyre-ai/node-halopsa version ^1.1.0.
Align tests and documentation
src/__tests__/*, src/worker.ts
Test mocks and SDK documentation now use @wyre-ai/node-halopsa.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 01346

This updates the HaloPSA SDK package and version consistently across runtime wiring, tests, and documentation. The migration is ready to merge with no identified current-head risk.

Suggested reviewers: arutherford

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely identifies the dependency scope change and version update from node-halopsa to @wyre-ai 1.1.0.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 5 files. (1 skipped: 1 …
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/bump-node-halopsa-1.1.0

Comment @coderabbitai help to get the list of available commands.

@asachs01
asachs01 merged commit 8f7adc3 into main Sep 4, 2026
11 checks passed
@asachs01
asachs01 deleted the fix/bump-node-halopsa-1.1.0 branch September 4, 2026 19:23
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.7.14 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant