@tangle-network/agent-integrations 0.53.52 → 0.53.54
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.
- package/README.md +23 -0
- package/data/bundled-adapter-manifests.json +1 -0
- package/dist/audit-DMTzJQJU.d.ts +51 -0
- package/dist/catalog.d.ts +3 -3
- package/dist/catalog.js +2 -12
- package/dist/chunk-A4OJ5EQT.js +133156 -0
- package/dist/chunk-A4OJ5EQT.js.map +1 -0
- package/dist/chunk-ABA4HWIQ.js +58 -0
- package/dist/chunk-ABA4HWIQ.js.map +1 -0
- package/dist/chunk-DED3J7F6.js +1 -0
- package/dist/chunk-ESY2FBBM.js +33 -0
- package/dist/chunk-ESY2FBBM.js.map +1 -0
- package/dist/chunk-GIK6EXU2.js +121 -0
- package/dist/chunk-GIK6EXU2.js.map +1 -0
- package/dist/{chunk-TKEVCGAI.js → chunk-MH4IEJCL.js} +8 -1
- package/dist/chunk-MH4IEJCL.js.map +1 -0
- package/dist/chunk-QVWTBQXP.js +267 -0
- package/dist/chunk-QVWTBQXP.js.map +1 -0
- package/dist/{chunk-CONRYVPK.js → chunk-QWOX5SIM.js} +6 -33
- package/dist/chunk-QWOX5SIM.js.map +1 -0
- package/dist/chunk-RSJRICPU.js +394 -0
- package/dist/chunk-RSJRICPU.js.map +1 -0
- package/dist/chunk-WPQJK4S4.js +400 -0
- package/dist/chunk-WPQJK4S4.js.map +1 -0
- package/dist/connect/index.d.ts +2 -2
- package/dist/connectors/adapters/index.d.ts +2 -2
- package/dist/connectors/index.d.ts +10 -22
- package/dist/connectors/index.js +12 -10
- package/dist/{consumer-BbQWkIzU.d.ts → consumer-CIq2D22y.d.ts} +4 -51
- package/dist/consumer.d.ts +5 -4
- package/dist/{core-types-A-xIaTzb.d.ts → core-types-DZJQRBya.d.ts} +2 -2
- package/dist/coverage-catalog.d.ts +2 -2
- package/dist/coverage-catalog.js +1 -1
- package/dist/{importers-BMigcDVf.d.ts → importers-Cyk5osDs.d.ts} +1 -1
- package/dist/index.d.ts +17 -104
- package/dist/index.js +72 -62
- package/dist/internal/bundled-manifest-runtime.d.ts +15 -0
- package/dist/internal/bundled-manifest-runtime.js +13 -0
- package/dist/internal/bundled-manifest-runtime.js.map +1 -0
- package/dist/mcp.d.ts +3 -3
- package/dist/mcp.js +10 -5
- package/dist/mcp.js.map +1 -1
- package/dist/middleware/index.d.ts +2 -2
- package/dist/registry-core-DqdQjTkh.d.ts +49 -0
- package/dist/registry.d.ts +6 -49
- package/dist/registry.js +16 -10
- package/dist/runtime.d.ts +3 -3
- package/dist/runtime.js +3 -12
- package/dist/specs.d.ts +2 -2
- package/dist/specs.js +4 -6
- package/dist/{tangle-id-gFOGXe4Y.d.ts → tangle-id-Oy2z4W3p.d.ts} +1 -1
- package/dist/{types-DpKEBiX6.d.ts → types-DIis6QtV.d.ts} +1 -1
- package/dist/worker.d.ts +99 -0
- package/dist/worker.js +28 -0
- package/dist/worker.js.map +1 -0
- package/docs/repo-structure.md +29 -6
- package/package.json +10 -1
- package/dist/chunk-CONRYVPK.js.map +0 -1
- package/dist/chunk-CT3J7ZB6.js +0 -4849
- package/dist/chunk-CT3J7ZB6.js.map +0 -1
- package/dist/chunk-E2QYXDJQ.js +0 -147
- package/dist/chunk-E2QYXDJQ.js.map +0 -1
- package/dist/chunk-P4FFI752.js +0 -1
- package/dist/chunk-TKEVCGAI.js.map +0 -1
- /package/dist/{chunk-P4FFI752.js.map → chunk-DED3J7F6.js.map} +0 -0
package/README.md
CHANGED
|
@@ -21,6 +21,7 @@ provider SDK.
|
|
|
21
21
|
- [Install](#install)
|
|
22
22
|
- [Quick Start](#quick-start)
|
|
23
23
|
- [Core Primitives](#core-primitives)
|
|
24
|
+
- [Worker-safe Imports](#worker-safe-imports)
|
|
24
25
|
- [Catalog Registry](#catalog-registry)
|
|
25
26
|
- [Product Adoption](#product-adoption)
|
|
26
27
|
- [Provider Strategy](#provider-strategy)
|
|
@@ -194,6 +195,16 @@ OAuth credentials.
|
|
|
194
195
|
| `renderRunbookMarkdown` / `renderConsoleSteps` | Render operator docs or admin UI steps from the same spec source. |
|
|
195
196
|
| `validateCredentialSet` / `buildHealthcheckPlan` | Validate setup input and describe the correct healthcheck path. |
|
|
196
197
|
|
|
198
|
+
## Worker-safe Imports
|
|
199
|
+
|
|
200
|
+
Use `@tangle-network/agent-integrations/worker` for guard, audit, policy, and
|
|
201
|
+
core contracts in a Worker or other non-Node runtime.
|
|
202
|
+
This entry uses Web Crypto and contains no Node builtins.
|
|
203
|
+
|
|
204
|
+
Use `/specs` for setup metadata and `/catalog` for pure tool-catalog helpers.
|
|
205
|
+
These subpaths bundle static data without importing executable adapters or their
|
|
206
|
+
Node-only clients.
|
|
207
|
+
|
|
197
208
|
## Catalog Registry
|
|
198
209
|
|
|
199
210
|
Every catalog connector has a Tangle contract. Native adapters, hosted gateways,
|
|
@@ -427,8 +438,20 @@ pnpm install
|
|
|
427
438
|
pnpm typecheck
|
|
428
439
|
pnpm test
|
|
429
440
|
pnpm build
|
|
441
|
+
pnpm run check:bundled-manifest-freshness
|
|
442
|
+
pnpm pack
|
|
443
|
+
pnpm run release
|
|
430
444
|
```
|
|
431
445
|
|
|
446
|
+
`pnpm run release` builds the package, generates and checks bundled adapter
|
|
447
|
+
metadata, packs one exact archive, and tests that archive without publishing.
|
|
448
|
+
Use `pnpm run release -- --publish` for the npm release path; it publishes that
|
|
449
|
+
tested archive with lifecycle scripts disabled and skips an existing version only
|
|
450
|
+
when its registry integrity matches the tested archive.
|
|
451
|
+
Packaging rebuilds the distribution and rejects stale bundled adapter metadata.
|
|
452
|
+
The test suite packs the npm artifact and bundles `/worker`, `/specs`, and
|
|
453
|
+
`/catalog` for a browser Worker runtime.
|
|
454
|
+
|
|
432
455
|
## License
|
|
433
456
|
|
|
434
457
|
MIT
|