Skip to content

feat(cli): SyncResult + collecting logger for push (P1)#278

Merged
michaelfarrell76 merged 2 commits into
michaelfarrell76/push-gaps-p0from
michaelfarrell76/push-gaps-p1
Jul 8, 2026
Merged

feat(cli): SyncResult + collecting logger for push (P1)#278
michaelfarrell76 merged 2 commits into
michaelfarrell76/push-gaps-p0from
michaelfarrell76/push-gaps-p1

Conversation

@michaelfarrell76

Copy link
Copy Markdown
Member

Summary

  • Adds SyncResult, SyncError, SyncLogEntry types in @transcend-io/utils
  • Adds createCollectingLogger() for MCP debug=true log capture
  • Changes syncConfigurationToTranscend to return SyncResult (breaking) instead of inverted boolean
  • Updates tr-push to print per-resource errors from SyncResult.errors

Depends on

Test plan

  • pnpm run --dir packages/utils test
  • pnpm run --dir packages/cli test
  • Pass custom logger → logs captured via createCollectingLogger
  • One failing resource → SyncResult.errors contains resource + message

Consumer impact

Retool RPC can return SyncResult.errors in MCP responses instead of generic "Failed to push configuration".

Made with Cursor

Add SyncResult, SyncError, and createCollectingLogger in utils. Push
now surfaces per-resource errors instead of a bare boolean. Injectable
logger option supports MCP debug=true log capture.
@pkg-pr-new

pkg-pr-new Bot commented Jul 8, 2026

Copy link
Copy Markdown

Open in StackBlitz

@transcend-io/airgap.js-types

pnpm add https://pkg.pr.new/@transcend-io/airgap.js-types@278
yarn add https://pkg.pr.new/@transcend-io/airgap.js-types@278.tgz

@transcend-io/cli

pnpm add https://pkg.pr.new/@transcend-io/cli@278
yarn add https://pkg.pr.new/@transcend-io/cli@278.tgz

@transcend-io/internationalization

pnpm add https://pkg.pr.new/@transcend-io/internationalization@278
yarn add https://pkg.pr.new/@transcend-io/internationalization@278.tgz

@transcend-io/privacy-types

pnpm add https://pkg.pr.new/@transcend-io/privacy-types@278
yarn add https://pkg.pr.new/@transcend-io/privacy-types@278.tgz

@transcend-io/sdk

pnpm add https://pkg.pr.new/@transcend-io/sdk@278
yarn add https://pkg.pr.new/@transcend-io/sdk@278.tgz

@transcend-io/type-utils

pnpm add https://pkg.pr.new/@transcend-io/type-utils@278
yarn add https://pkg.pr.new/@transcend-io/type-utils@278.tgz

@transcend-io/utils

pnpm add https://pkg.pr.new/@transcend-io/utils@278
yarn add https://pkg.pr.new/@transcend-io/utils@278.tgz

@transcend-io/mcp

pnpm add https://pkg.pr.new/@transcend-io/mcp@278
yarn add https://pkg.pr.new/@transcend-io/mcp@278.tgz

@transcend-io/mcp-server-admin

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-admin@278
yarn add https://pkg.pr.new/@transcend-io/mcp-server-admin@278.tgz

@transcend-io/mcp-server-assessment

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-assessment@278
yarn add https://pkg.pr.new/@transcend-io/mcp-server-assessment@278.tgz

@transcend-io/mcp-server-base

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-base@278
yarn add https://pkg.pr.new/@transcend-io/mcp-server-base@278.tgz

@transcend-io/mcp-server-consent

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-consent@278
yarn add https://pkg.pr.new/@transcend-io/mcp-server-consent@278.tgz

@transcend-io/mcp-server-discovery

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-discovery@278
yarn add https://pkg.pr.new/@transcend-io/mcp-server-discovery@278.tgz

@transcend-io/mcp-server-docs

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-docs@278
yarn add https://pkg.pr.new/@transcend-io/mcp-server-docs@278.tgz

@transcend-io/mcp-server-dsr

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-dsr@278
yarn add https://pkg.pr.new/@transcend-io/mcp-server-dsr@278.tgz

@transcend-io/mcp-server-inventory

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-inventory@278
yarn add https://pkg.pr.new/@transcend-io/mcp-server-inventory@278.tgz

@transcend-io/mcp-server-preferences

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-preferences@278
yarn add https://pkg.pr.new/@transcend-io/mcp-server-preferences@278.tgz

@transcend-io/mcp-server-workflows

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-workflows@278
yarn add https://pkg.pr.new/@transcend-io/mcp-server-workflows@278.tgz

commit: 3340128

Add runtime JSON Schema export from TranscendInput, improve codec docs
for common agent mistakes, and regenerate transcend-yml schema files.
@michaelfarrell76 michaelfarrell76 marked this pull request as ready for review July 8, 2026 02:58
@michaelfarrell76 michaelfarrell76 merged commit bf352c1 into michaelfarrell76/push-gaps-p0 Jul 8, 2026
2 of 3 checks passed
@michaelfarrell76 michaelfarrell76 deleted the michaelfarrell76/push-gaps-p1 branch July 8, 2026 02:58
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