@tangle-network/agent-integrations 0.71.0 → 0.73.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.
@@ -51764,7 +51764,7 @@ var bundled_adapter_manifests_default = [
51764
51764
  },
51765
51765
  {
51766
51766
  "name": "git.createTree",
51767
- "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.",
51767
+ "description": "Prefer pulls.propose, which proposes a whole change under one owner approval; each of these low-level steps needs its own. 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.",
51768
51768
  "parameters": {
51769
51769
  "type": "object",
51770
51770
  "properties": {
@@ -51824,7 +51824,7 @@ var bundled_adapter_manifests_default = [
51824
51824
  },
51825
51825
  {
51826
51826
  "name": "git.createCommit",
51827
- "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.",
51827
+ "description": "Prefer pulls.propose for a pull request (one owner approval for the whole change). 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.",
51828
51828
  "parameters": {
51829
51829
  "type": "object",
51830
51830
  "properties": {
@@ -51860,7 +51860,7 @@ var bundled_adapter_manifests_default = [
51860
51860
  },
51861
51861
  {
51862
51862
  "name": "git.createRef",
51863
- "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`.",
51863
+ "description": "Prefer pulls.propose for a pull request (one owner approval for the whole change). 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`.",
51864
51864
  "parameters": {
51865
51865
  "type": "object",
51866
51866
  "properties": {
@@ -51944,7 +51944,7 @@ var bundled_adapter_manifests_default = [
51944
51944
  },
51945
51945
  {
51946
51946
  "name": "pulls.create",
51947
- "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`.",
51947
+ "description": "Open a pull request from `head` into `base` on the target repository. To propose file changes, prefer pulls.propose, which writes the files and opens the draft under one owner approval. Step 5 of a draft pull request: `head` is the branch git.createRef created and `draft: true`.",
51948
51948
  "parameters": {
51949
51949
  "type": "object",
51950
51950
  "properties": {
@@ -51981,6 +51981,81 @@ var bundled_adapter_manifests_default = [
51981
51981
  "cas": "native-idempotency",
51982
51982
  "externalEffect": true
51983
51983
  },
51984
+ {
51985
+ "name": "pulls.propose",
51986
+ "description": "Propose a change as a draft pull request in ONE call, under one owner approval: write `files` on a NEW branch cut from the head of `base`, commit them, and open a draft pull request from `branch` into `base`. Prefer it over git.createTree, git.createCommit, git.createRef and pulls.create, which each need their own approval. It never moves an existing branch and never merges. Returns the pull request, the commit and each changed file with its line counts.",
51987
+ "parameters": {
51988
+ "type": "object",
51989
+ "additionalProperties": false,
51990
+ "properties": {
51991
+ "owner": { "type": "string" },
51992
+ "repo": { "type": "string" },
51993
+ "base": {
51994
+ "type": "string",
51995
+ "description": "Branch the pull request merges into, usually the default branch (`main`). A plain branch name."
51996
+ },
51997
+ "branch": {
51998
+ "type": "string",
51999
+ "description": "The NEW branch to create, e.g. `gtm-agent/hero-copy`. It must not exist yet and must differ from `base`."
52000
+ },
52001
+ "title": {
52002
+ "type": "string",
52003
+ "minLength": 1,
52004
+ "maxLength": 256
52005
+ },
52006
+ "body": {
52007
+ "type": "string",
52008
+ "description": "Pull request description (markdown)."
52009
+ },
52010
+ "commit_message": {
52011
+ "type": "string",
52012
+ "description": "Commit message; defaults to the title."
52013
+ },
52014
+ "files": {
52015
+ "type": "array",
52016
+ "minItems": 1,
52017
+ "maxItems": 50,
52018
+ "description": "Every file the change writes or deletes. `{ path, content }` writes the whole new file; `{ path, delete: true }` removes it.",
52019
+ "items": {
52020
+ "type": "object",
52021
+ "additionalProperties": false,
52022
+ "properties": {
52023
+ "path": {
52024
+ "type": "string",
52025
+ "description": "Repository-relative path, e.g. `src/routes/_index.tsx`."
52026
+ },
52027
+ "content": {
52028
+ "type": "string",
52029
+ "description": "The complete new file content (UTF-8 text)."
52030
+ },
52031
+ "mode": {
52032
+ "type": "string",
52033
+ "enum": ["100644", "100755"],
52034
+ "description": "File mode; `100755` for an executable. Defaults to `100644`."
52035
+ },
52036
+ "delete": {
52037
+ "type": "boolean",
52038
+ "description": "True deletes the file; false or absent writes `content`."
52039
+ }
52040
+ },
52041
+ "required": ["path"]
52042
+ }
52043
+ }
52044
+ },
52045
+ "required": [
52046
+ "owner",
52047
+ "repo",
52048
+ "base",
52049
+ "branch",
52050
+ "title",
52051
+ "files"
52052
+ ]
52053
+ },
52054
+ "requiredScopes": { "__tangleUndefined": true },
52055
+ "class": "mutation",
52056
+ "cas": "optimistic-read-verify",
52057
+ "externalEffect": true
52058
+ },
51984
52059
  {
51985
52060
  "name": "pulls.merge",
51986
52061
  "description": "Merge a pull request by number. `merge_method` selects merge | squash | rebase.",
@@ -61782,6 +61857,20 @@ var bundled_adapter_manifests_default = [
61782
61857
  "required": ["email"]
61783
61858
  }
61784
61859
  },
61860
+ {
61861
+ "name": "find_contact_owner",
61862
+ "class": "read",
61863
+ "description": "Find who owns a person in HubSpot, by email: the contact owner, else the owner of an associated company, else of the most recently updated associated deal. Returns the owner id, the level and record it came from, every level checked, and the owner's name and email when the connection can read owners. Never infers an owner from activity.",
61864
+ "requiredScopes": ["crm.objects.contacts.read"],
61865
+ "parameters": {
61866
+ "type": "object",
61867
+ "properties": { "email": {
61868
+ "type": "string",
61869
+ "description": "Email of the person (case-insensitive)."
61870
+ } },
61871
+ "required": ["email"]
61872
+ }
61873
+ },
61785
61874
  {
61786
61875
  "name": "list_new_contacts",
61787
61876
  "class": "read",
@@ -141742,4 +141831,4 @@ function isUndefinedMarker(value) {
141742
141831
  //#endregion
141743
141832
  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 };
141744
141833
 
141745
- //# sourceMappingURL=bundled-manifest-data-DUxxlN37.js.map
141834
+ //# sourceMappingURL=bundled-manifest-data-MdURriam.js.map