@tangle-network/agent-integrations 0.68.0 → 0.69.0

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 (75) hide show
  1. package/data/bundled-adapter-manifests.json +1 -1
  2. package/dist/{adapters-BM6A29Y6.js → adapters-JMJ8fU1b.js} +106 -12
  3. package/dist/{adapters-BM6A29Y6.js.map → adapters-JMJ8fU1b.js.map} +1 -1
  4. package/dist/{bundled-manifest-data-DhcRFr4L.js → bundled-manifest-data-Bv0ejHMQ.js} +40 -11
  5. package/dist/{bundled-manifest-data-DhcRFr4L.js.map → bundled-manifest-data-Bv0ejHMQ.js.map} +1 -1
  6. package/dist/{bundled-manifest-runtime-D1unUvQL.d.ts → bundled-manifest-runtime-G6p2i9W-.d.ts} +2 -2
  7. package/dist/bundled-manifest-runtime-G6p2i9W-.d.ts.map +1 -0
  8. package/dist/{catalog-DgqwU5CZ.d.ts → catalog-DmAjfp4i.d.ts} +3 -3
  9. package/dist/{catalog-DgqwU5CZ.d.ts.map → catalog-DmAjfp4i.d.ts.map} +1 -1
  10. package/dist/catalog.d.ts +1 -1
  11. package/dist/connect/index.d.ts +1 -1
  12. package/dist/connect/index.js +1 -1
  13. package/dist/connectors/adapters/index.d.ts +2 -2
  14. package/dist/connectors/adapters/index.js +2 -2
  15. package/dist/connectors/index.d.ts +7 -7
  16. package/dist/connectors/index.js +4 -4
  17. package/dist/connectors/oauth.d.ts +1 -1
  18. package/dist/{consumer-BtrQO_N5.d.ts → consumer-BvaFhBN_.d.ts} +8 -8
  19. package/dist/{consumer-BtrQO_N5.d.ts.map → consumer-BvaFhBN_.d.ts.map} +1 -1
  20. package/dist/consumer.d.ts +1 -1
  21. package/dist/consumer.js +1 -1
  22. package/dist/{core-types-CIez54KT.d.ts → core-types-DfCMwTYt.d.ts} +2 -2
  23. package/dist/{core-types-CIez54KT.d.ts.map → core-types-DfCMwTYt.d.ts.map} +1 -1
  24. package/dist/{coverage-catalog-DRTB89P0.d.ts → coverage-catalog-oQiZ8yot.d.ts} +2 -2
  25. package/dist/{coverage-catalog-DRTB89P0.d.ts.map → coverage-catalog-oQiZ8yot.d.ts.map} +1 -1
  26. package/dist/coverage-catalog.d.ts +1 -1
  27. package/dist/{hub-Cdujm_53.d.ts → hub-fmmnwC2s.d.ts} +3 -3
  28. package/dist/{hub-Cdujm_53.d.ts.map → hub-fmmnwC2s.d.ts.map} +1 -1
  29. package/dist/hub.d.ts +1 -1
  30. package/dist/{index-5hnHPubX.d.ts → index-B-VH5b3E.d.ts} +2 -2
  31. package/dist/{index-5hnHPubX.d.ts.map → index-B-VH5b3E.d.ts.map} +1 -1
  32. package/dist/{index-CtJOt-Va.d.ts → index-CW1fmxQi.d.ts} +3 -3
  33. package/dist/{index-CtJOt-Va.d.ts.map → index-CW1fmxQi.d.ts.map} +1 -1
  34. package/dist/{index-q7Sw2D9T.d.ts → index-D0uvn67q.d.ts} +3 -3
  35. package/dist/{index-q7Sw2D9T.d.ts.map → index-D0uvn67q.d.ts.map} +1 -1
  36. package/dist/{index-BIH6grDK.d.ts → index-DbwNiedC.d.ts} +2 -2
  37. package/dist/{index-BIH6grDK.d.ts.map → index-DbwNiedC.d.ts.map} +1 -1
  38. package/dist/{index-B0ijSDnT.d.ts → index-DkNU5tcV.d.ts} +14 -2
  39. package/dist/{index-B0ijSDnT.d.ts.map → index-DkNU5tcV.d.ts.map} +1 -1
  40. package/dist/index.d.ts +18 -18
  41. package/dist/index.js +6 -6
  42. package/dist/internal/bundled-manifest-runtime.d.ts +1 -1
  43. package/dist/internal/bundled-manifest-runtime.js +1 -1
  44. package/dist/mcp.d.ts +2 -2
  45. package/dist/mcp.js +1 -1
  46. package/dist/middleware/index.d.ts +1 -1
  47. package/dist/middleware/index.js +1 -1
  48. package/dist/{oauth-DNBrs_kX.d.ts → oauth-tzsnaJIb.d.ts} +2 -2
  49. package/dist/{oauth-DNBrs_kX.d.ts.map → oauth-tzsnaJIb.d.ts.map} +1 -1
  50. package/dist/{policy-BFvREV-D.d.ts → policy-C9frNJFH.d.ts} +2 -2
  51. package/dist/{policy-BFvREV-D.d.ts.map → policy-C9frNJFH.d.ts.map} +1 -1
  52. package/dist/{registry-BzTp-XSg.d.ts → registry-CE1iu5zX.d.ts} +3 -3
  53. package/dist/{registry-BzTp-XSg.d.ts.map → registry-CE1iu5zX.d.ts.map} +1 -1
  54. package/dist/{registry-core-DqYvz99E.d.ts → registry-core-DtFI-9kF.d.ts} +2 -2
  55. package/dist/{registry-core-DqYvz99E.d.ts.map → registry-core-DtFI-9kF.d.ts.map} +1 -1
  56. package/dist/registry.d.ts +2 -2
  57. package/dist/registry.js +1 -1
  58. package/dist/runtime.d.ts +1 -1
  59. package/dist/sandbox.d.ts +1 -1
  60. package/dist/{specs-DJnPNKEq.js → specs-BqZdi7Jk.js} +2 -2
  61. package/dist/{specs-DJnPNKEq.js.map → specs-BqZdi7Jk.js.map} +1 -1
  62. package/dist/specs.d.ts +1 -1
  63. package/dist/specs.js +1 -1
  64. package/dist/{src-DSLPcXSN.js → src-BFIGHp-s.js} +4 -4
  65. package/dist/{src-DSLPcXSN.js.map → src-BFIGHp-s.js.map} +1 -1
  66. package/dist/{tangle-id-WKgOA6u9.d.ts → tangle-id-Bq7jkKmE.d.ts} +2 -2
  67. package/dist/{tangle-id-WKgOA6u9.d.ts.map → tangle-id-Bq7jkKmE.d.ts.map} +1 -1
  68. package/dist/{tangle-id-DSH2t9nP.js → tangle-id-D2kPF0rX.js} +18 -2
  69. package/dist/tangle-id-D2kPF0rX.js.map +1 -0
  70. package/dist/{types-BdWDKvd0.d.ts → types-W418mSuf.d.ts} +15 -2
  71. package/dist/{types-BdWDKvd0.d.ts.map → types-W418mSuf.d.ts.map} +1 -1
  72. package/dist/worker.d.ts +2 -2
  73. package/package.json +1 -1
  74. package/dist/bundled-manifest-runtime-D1unUvQL.d.ts.map +0 -1
  75. package/dist/tangle-id-DSH2t9nP.js.map +0 -1
@@ -51587,7 +51587,7 @@ var bundled_adapter_manifests_default = [
51587
51587
  },
51588
51588
  {
51589
51589
  "name": "repos.getBranch",
51590
- "description": "Read one branch: its head commit sha and that commit's tree sha. Use it to find the base a proposed change builds on.",
51590
+ "description": "Read one branch BY NAME: `commit.sha` is its head commit and `commit.commit.tree.sha` that commit's tree. Step 1 of a draft pull request: read the base branch (e.g. `main`), then git.createTree on that tree, git.createCommit with that head as parent, git.createRef `refs/heads/<new-branch>`, and pulls.create with `draft: true`. A commit sha is not a branch name: read a commit with git.getCommit.",
51591
51591
  "parameters": {
51592
51592
  "type": "object",
51593
51593
  "properties": {
@@ -51595,7 +51595,7 @@ var bundled_adapter_manifests_default = [
51595
51595
  "repo": { "type": "string" },
51596
51596
  "branch": {
51597
51597
  "type": "string",
51598
- "description": "Branch name, e.g. `main`."
51598
+ "description": "Branch name such as `main` or `gtm-agent/hero-copy`; never a commit sha or a `refs/` path."
51599
51599
  }
51600
51600
  },
51601
51601
  "required": [
@@ -51607,6 +51607,29 @@ var bundled_adapter_manifests_default = [
51607
51607
  "requiredScopes": { "__tangleUndefined": true },
51608
51608
  "class": "read"
51609
51609
  },
51610
+ {
51611
+ "name": "git.getCommit",
51612
+ "description": "Read one commit object by sha: its `tree.sha`, `parents[].sha`, message and author. Use it to verify the commit git.createCommit returned before git.createRef points a new branch at it.",
51613
+ "parameters": {
51614
+ "type": "object",
51615
+ "properties": {
51616
+ "owner": { "type": "string" },
51617
+ "repo": { "type": "string" },
51618
+ "commit_sha": {
51619
+ "type": "string",
51620
+ "pattern": "^(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$",
51621
+ "description": "Full commit sha."
51622
+ }
51623
+ },
51624
+ "required": [
51625
+ "owner",
51626
+ "repo",
51627
+ "commit_sha"
51628
+ ]
51629
+ },
51630
+ "requiredScopes": { "__tangleUndefined": true },
51631
+ "class": "read"
51632
+ },
51610
51633
  {
51611
51634
  "name": "git.getTree",
51612
51635
  "description": "Read a git tree. With `recursive: \"1\"` it lists every file path with its blob sha, so files can be read without path URLs.",
@@ -51655,7 +51678,7 @@ var bundled_adapter_manifests_default = [
51655
51678
  },
51656
51679
  {
51657
51680
  "name": "git.createTree",
51658
- "description": "Write a tree: `base_tree` plus the changed entries. Each entry is `{ path, mode: \"100644\", type: \"blob\", content }` (use `sha: null` to delete a file). Creates an unreferenced object; nothing is visible until a branch points at a commit using it.",
51681
+ "description": "Step 2 of a draft pull request. Write a tree: `base_tree` plus the changed entries. Each entry is `{ path, mode: \"100644\", type: \"blob\", content }` (use `sha: null` to delete a file). Creates an unreferenced object; nothing is visible until a branch points at a commit using it.",
51659
51682
  "parameters": {
51660
51683
  "type": "object",
51661
51684
  "properties": {
@@ -51663,7 +51686,8 @@ var bundled_adapter_manifests_default = [
51663
51686
  "repo": { "type": "string" },
51664
51687
  "base_tree": {
51665
51688
  "type": "string",
51666
- "description": "Tree sha of the base commit."
51689
+ "pattern": "^(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$",
51690
+ "description": "Tree sha of the base commit: `commit.commit.tree.sha` from repos.getBranch."
51667
51691
  },
51668
51692
  "tree": {
51669
51693
  "type": "array",
@@ -51714,7 +51738,7 @@ var bundled_adapter_manifests_default = [
51714
51738
  },
51715
51739
  {
51716
51740
  "name": "git.createCommit",
51717
- "description": "Write a commit object for a tree with explicit parents (normally the base branch head). Creates an unreferenced object; it moves no branch.",
51741
+ "description": "Step 3 of a draft pull request. Write a commit object for a tree with explicit parents (normally the base branch head). Creates an unreferenced object; it moves no branch. Its `sha` is what git.createRef needs.",
51718
51742
  "parameters": {
51719
51743
  "type": "object",
51720
51744
  "properties": {
@@ -51723,12 +51747,16 @@ var bundled_adapter_manifests_default = [
51723
51747
  "message": { "type": "string" },
51724
51748
  "tree": {
51725
51749
  "type": "string",
51750
+ "pattern": "^(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$",
51726
51751
  "description": "Tree sha from git.createTree."
51727
51752
  },
51728
51753
  "parents": {
51729
51754
  "type": "array",
51730
- "items": { "type": "string" },
51731
- "description": "Parent commit shas."
51755
+ "items": {
51756
+ "type": "string",
51757
+ "pattern": "^(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$"
51758
+ },
51759
+ "description": "Parent commit shas: the base branch head from repos.getBranch."
51732
51760
  }
51733
51761
  },
51734
51762
  "required": [
@@ -51746,7 +51774,7 @@ var bundled_adapter_manifests_default = [
51746
51774
  },
51747
51775
  {
51748
51776
  "name": "git.createRef",
51749
- "description": "Create a NEW branch at a commit: `ref` must be `refs/heads/<new-branch>`. Never moves an existing branch; GitHub returns 422 when the ref already exists.",
51777
+ "description": "Step 4 of a draft pull request. Create a NEW branch at a commit: `ref` must be `refs/heads/<new-branch>` and `sha` the commit from git.createCommit. Never moves an existing branch; GitHub returns 422 when the ref already exists. Then pulls.create with `head: \"<new-branch>\"` (no `refs/heads/`) and `draft: true`.",
51750
51778
  "parameters": {
51751
51779
  "type": "object",
51752
51780
  "properties": {
@@ -51759,6 +51787,7 @@ var bundled_adapter_manifests_default = [
51759
51787
  },
51760
51788
  "sha": {
51761
51789
  "type": "string",
51790
+ "pattern": "^(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$",
51762
51791
  "description": "Commit sha from git.createCommit."
51763
51792
  }
51764
51793
  },
@@ -51829,7 +51858,7 @@ var bundled_adapter_manifests_default = [
51829
51858
  },
51830
51859
  {
51831
51860
  "name": "pulls.create",
51832
- "description": "Open a pull request from `head` into `base` on the target repository.",
51861
+ "description": "Open a pull request from `head` into `base` on the target repository. Step 5 of a draft pull request: `head` is the branch git.createRef created and `draft: true`.",
51833
51862
  "parameters": {
51834
51863
  "type": "object",
51835
51864
  "properties": {
@@ -51838,7 +51867,7 @@ var bundled_adapter_manifests_default = [
51838
51867
  "title": { "type": "string" },
51839
51868
  "head": {
51840
51869
  "type": "string",
51841
- "description": "Branch (or cross-fork ref like `octocat:feature-x`) containing the changes."
51870
+ "description": "Branch name (or cross-fork `octocat:feature-x`) containing the changes, without `refs/heads/`."
51842
51871
  },
51843
51872
  "base": {
51844
51873
  "type": "string",
@@ -141268,4 +141297,4 @@ function isUndefinedMarker(value) {
141268
141297
  //#endregion
141269
141298
  export { getBundledAdapterManifest as a, listBundledAdapterManifests as c, bundledOAuth2AuthContract as i, bundledAuthMode as n, hasBundledAdapter as o, bundledOAuth2Auth as r, listBundledAdapterKinds as s, bundledApiKeyHint as t };
141270
141299
 
141271
- //# sourceMappingURL=bundled-manifest-data-DhcRFr4L.js.map
141300
+ //# sourceMappingURL=bundled-manifest-data-Bv0ejHMQ.js.map