@tangle-network/agent-integrations 0.59.0 → 0.59.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/README.md +31 -0
  2. package/data/bundled-adapter-manifests.json +1 -1
  3. package/dist/{adapters-ediOgE75.js → adapters-4-7nkFS3.js} +137 -383
  4. package/dist/{adapters-ediOgE75.js.map → adapters-4-7nkFS3.js.map} +1 -1
  5. package/dist/{bundled-manifest-data-DQXscV3-.js → bundled-manifest-data-ka9qth1e.js} +72 -51
  6. package/dist/{bundled-manifest-data-DQXscV3-.js.map → bundled-manifest-data-ka9qth1e.js.map} +1 -1
  7. package/dist/catalog-CFvKzwVj.js +201 -0
  8. package/dist/catalog-CFvKzwVj.js.map +1 -0
  9. package/dist/catalog.js +1 -1
  10. package/dist/connect/index.js +1 -1
  11. package/dist/connectors/adapters/index.js +1 -1
  12. package/dist/connectors/index.d.ts +2 -1
  13. package/dist/connectors/index.js +3 -2
  14. package/dist/connectors/oauth.d.ts +2 -0
  15. package/dist/connectors/oauth.js +282 -0
  16. package/dist/connectors/oauth.js.map +1 -0
  17. package/dist/{consumer-BC6pCUzI.d.ts → consumer-zHtoJixe.d.ts} +5 -37
  18. package/dist/{consumer-BC6pCUzI.d.ts.map → consumer-zHtoJixe.d.ts.map} +1 -1
  19. package/dist/consumer.d.ts +1 -1
  20. package/dist/hub-0Od2lgun.d.ts +38 -0
  21. package/dist/hub-0Od2lgun.d.ts.map +1 -0
  22. package/dist/hub-D13zPQGr.js +1004 -0
  23. package/dist/hub-D13zPQGr.js.map +1 -0
  24. package/dist/hub.d.ts +2 -0
  25. package/dist/hub.js +2 -0
  26. package/dist/index-BQXENE9p.d.ts +130 -0
  27. package/dist/index-BQXENE9p.d.ts.map +1 -0
  28. package/dist/index-CDVPZuIY.d.ts.map +1 -1
  29. package/dist/index.d.ts +5 -3
  30. package/dist/index.js +16 -12
  31. package/dist/internal/bundled-manifest-runtime.js +1 -1
  32. package/dist/mcp.d.ts +1 -1
  33. package/dist/mcp.js +2 -1
  34. package/dist/mcp.js.map +1 -1
  35. package/dist/middleware/index.js +1 -1
  36. package/dist/oauth-C5pa5j3O.d.ts +136 -0
  37. package/dist/oauth-C5pa5j3O.d.ts.map +1 -0
  38. package/dist/registry-core-BZo69C37.js +186 -0
  39. package/dist/registry-core-BZo69C37.js.map +1 -0
  40. package/dist/registry.js +2 -2
  41. package/dist/runtime.d.ts +1 -1
  42. package/dist/runtime.js +1 -1
  43. package/dist/sandbox.d.ts +2 -0
  44. package/dist/sandbox.js +114 -0
  45. package/dist/sandbox.js.map +1 -0
  46. package/dist/{specs-BkhKJNjX.js → specs-C2qsaxDe.js} +2 -2
  47. package/dist/{specs-BkhKJNjX.js.map → specs-C2qsaxDe.js.map} +1 -1
  48. package/dist/specs.js +1 -1
  49. package/dist/{src-Bd4KMI-J.js → src-mzICXbwx.js} +84922 -86026
  50. package/dist/src-mzICXbwx.js.map +1 -0
  51. package/dist/stripe/index.js +1 -1
  52. package/dist/webhooks/index.js +1 -1
  53. package/package.json +17 -2
  54. package/dist/catalog-CBd0zbdD.js +0 -383
  55. package/dist/catalog-CBd0zbdD.js.map +0 -1
  56. package/dist/index-j2QziJA5.d.ts +0 -263
  57. package/dist/index-j2QziJA5.d.ts.map +0 -1
  58. package/dist/src-Bd4KMI-J.js.map +0 -1
package/README.md CHANGED
@@ -91,6 +91,18 @@ Main boundaries:
91
91
  pnpm add @tangle-network/agent-integrations
92
92
  ```
93
93
 
94
+ Consumers that need only OAuth protocol helpers can import the narrow entrypoint:
95
+
96
+ ```ts
97
+ import {
98
+ exchangeAuthorizationCode,
99
+ refreshAccessToken,
100
+ startOAuthFlow,
101
+ } from '@tangle-network/agent-integrations/connectors/oauth'
102
+ ```
103
+
104
+ The hub entrypoint exposes capability issuance without loading concrete connectors. Both entrypoints keep the connector catalog out of consumers that only need runtime helpers.
105
+
94
106
  ## Quick Start
95
107
 
96
108
  ```ts
@@ -452,6 +464,25 @@ Packaging rebuilds the distribution and rejects stale bundled adapter metadata.
452
464
  The test suite packs the npm artifact and bundles `/worker`, `/specs`, and
453
465
  `/catalog` for a browser Worker runtime.
454
466
 
467
+ ## Prepare a release
468
+
469
+ Feature PRs must leave the package version and `CHANGELOG.md` unchanged.
470
+ Feature checks compare against the common ancestor, so releases merged into `main` do not invalidate unchanged feature metadata.
471
+ After features merge, run the **Prepare Release** workflow and choose a patch, minor, or major bump.
472
+ The workflow uses Node and Git to open a `release/v<version>` PR from current `main`.
473
+ It does not install dependencies or publish a package.
474
+
475
+ Verification requires the branch version to match the next package version.
476
+ Only the package version and generated changelog entry may change in that PR.
477
+ Existing changelog history must remain unchanged.
478
+ The generated notes describe the `main` snapshot used by the preparation workflow.
479
+ Before merging, compare the notes with the final release commits and update them if `main` advanced.
480
+ Approve the generated PR's workflow runs if GitHub requests approval.
481
+ Merge the release PR after its checks pass.
482
+
483
+ After publication approval, tag the merged commit with `v<version>` to start the existing **Publish** workflow.
484
+ Confirm that the published archive installs and its intended consumer flow works before reporting availability.
485
+
455
486
  ## License
456
487
 
457
488
  MIT