Skip to content

PROD UPD - #181

Merged
dimavedenyapin merged 2 commits into
productionfrom
main
Jul 13, 2026
Merged

PROD UPD#181
dimavedenyapin merged 2 commits into
productionfrom
main

Conversation

@dimavedenyapin

Copy link
Copy Markdown

No description provided.

atc-sanchit and others added 2 commits July 8, 2026 12:14
* add feature to query for desired fields in output

* replace id with dummy id

* fix black formatting in firestore main.py
Mirror the Xero credential-sharing path for NetSuite. When a Peakflo tenant
is connected to NetSuite (sourceSystem="netsuite"), the Peakflo MCP server now
surfaces NetSuite tools prefixed with `netsuite__` and resolves short-lived
NetSuite credentials from the Peakflo credential broker — agents never see the
raw credentials.

- peakflo/main.py: generalize the Xero-only exposure into a source-system
  registry (SOURCE_SYSTEM_INTEGRATIONS) supporting both xero and netsuite;
  generic tool listing, prefix matching, and broker-backed dispatch.
- netsuite/main.py: make the client functional — real OAuth 1.0a TBA signing
  (HMAC-SHA256, account-id realm) with automatic OAuth 2.0 Bearer fallback,
  correct SuiteTalk REST base URL, SuiteQL-based vendor search, and a
  credential_resolver hook (like Xero) so wrapper servers can inject creds.
- tests: network-free unit tests for auth-mode selection + the broker resolver,
  plus live TOOL_TESTS for the harness.
- README: document the SuiteTalk endpoints, the two auth modes, and the
  Peakflo shared-access path.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@dimavedenyapin
dimavedenyapin merged commit a149aad into production Jul 13, 2026
2 checks passed
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