@labelbox/rl-sdk 0.0.144 → 0.0.146

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.
@@ -53682,226 +53682,6 @@ export const SDK_REFERENCE = {
53682
53682
  ],
53683
53683
  },
53684
53684
  },
53685
- managedAgentsStartPullRequestReview: {
53686
- operationId: 'managedAgentsStartPullRequestReview',
53687
- tag: 'managed-agents',
53688
- callPath: ['managedAgents', 'startPullRequestReview'],
53689
- namespace: 'managedAgents',
53690
- method: 'startPullRequestReview',
53691
- bodyKey: 'body',
53692
- signature: 'rl.managedAgents.startPullRequestReview({ body })',
53693
- example: 'const result = await rl.managedAgents.startPullRequestReview({\n body: {\n agent_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n capture_patch: true,\n connection_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n environment_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n idempotency_key: "example",\n owner: "example",\n publish_review: true,\n pull_request_number: 1,\n repository: "example"\n },\n});',
53694
- cliInvocation: 'rl managed-agents start-pull-request-review',
53695
- cliExample: "rl managed-agents start-pull-request-review \\\n --agent_id '9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d' \\\n --connection_id '9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d' \\\n --environment_id '9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d' \\\n --owner 'example' \\\n --pull_request_number 1 \\\n --repository 'example' \\\n --from-json body.json",
53696
- curlExample: 'curl -X POST \'https://api.recursion.labelbox.com/managed-agents/v1/repository-automation/pull-request-reviews\' \\\n -H \'Authorization: Bearer $LABELBOX_API_KEY\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "agent_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "capture_patch": true,\n "connection_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "environment_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "idempotency_key": "example",\n "owner": "example",\n "publish_review": true,\n "pull_request_number": 1,\n "repository": "example"\n }\'',
53697
- summary: 'Start an exact-SHA GitHub pull request review',
53698
- description: 'Reachable with a Labelbox API key through this API, which authorizes the caller and then calls the upstream service with its own credential. The upstream operation is not callable with a customer key directly.',
53699
- httpMethod: 'post',
53700
- path: '/managed-agents/v1/repository-automation/pull-request-reviews',
53701
- requiredPermissions: ['managed-agents:create'],
53702
- params: [
53703
- {
53704
- name: 'agent_id',
53705
- in: 'body',
53706
- required: true,
53707
- type: 'string',
53708
- description: 'Agent (UUID) that performs the review, as returned by listAgents.',
53709
- },
53710
- {
53711
- name: 'capture_patch',
53712
- in: 'body',
53713
- required: false,
53714
- type: 'unknown',
53715
- description: "Capture the agent's final working-tree patch. Defaults to true.",
53716
- },
53717
- {
53718
- name: 'connection_id',
53719
- in: 'body',
53720
- required: true,
53721
- type: 'string',
53722
- description: 'Organization-owned GitHub App connection used for trusted checkout staging.',
53723
- },
53724
- {
53725
- name: 'environment_id',
53726
- in: 'body',
53727
- required: true,
53728
- type: 'string',
53729
- description: 'Environment (UUID) the review session runs in, as returned by listEnvironments.',
53730
- },
53731
- {
53732
- name: 'idempotency_key',
53733
- in: 'body',
53734
- required: false,
53735
- type: 'string',
53736
- description: 'Fallback for the Idempotency-Key header, for browser clients whose cross-origin CORS preflight cannot allow that header. Ignored when the header is present; the header always wins.',
53737
- },
53738
- {
53739
- name: 'owner',
53740
- in: 'body',
53741
- required: true,
53742
- type: 'string',
53743
- description: 'GitHub repository owner. Must match the connected App installation account.',
53744
- },
53745
- {
53746
- name: 'publish_review',
53747
- in: 'body',
53748
- required: false,
53749
- type: 'unknown',
53750
- description: 'Publish the validated result to the pull request. Defaults to true.',
53751
- },
53752
- {
53753
- name: 'pull_request_number',
53754
- in: 'body',
53755
- required: true,
53756
- type: 'integer',
53757
- description: 'Positive GitHub pull request number.',
53758
- format: 'int64',
53759
- },
53760
- {
53761
- name: 'repository',
53762
- in: 'body',
53763
- required: true,
53764
- type: 'string',
53765
- description: 'GitHub repository name without owner.',
53766
- },
53767
- ],
53768
- response: {
53769
- type: 'ManagedAgentsPullRequestReviewStartedResponse',
53770
- description: 'Acknowledgement that a pull request review session was accepted. The review runs asynchronously: follow status_path for the live timeline, and read the result once the session completes.',
53771
- fields: [
53772
- {
53773
- name: 'session_id',
53774
- required: false,
53775
- type: 'string',
53776
- description: 'Managed session (UUID) running the review. Derived from the idempotency key, so a replay of the same request returns the same session.',
53777
- },
53778
- {
53779
- name: 'source',
53780
- required: false,
53781
- type: 'ManagedAgentsPullRequestReviewSource',
53782
- description: 'The durable review input recorded on the session, including the exact commits it is bound to.',
53783
- fields: [
53784
- {
53785
- name: 'connection_id',
53786
- required: false,
53787
- type: 'string',
53788
- description: 'Organization-scoped integration connection (UUID) whose credentials stage the checkout. Only the id is stored; the token itself is minted just in time.',
53789
- },
53790
- {
53791
- name: 'kind',
53792
- required: false,
53793
- type: 'string',
53794
- description: 'Repository automation strategy this session runs. pull_request_review is the only supported value.',
53795
- },
53796
- {
53797
- name: 'outputs',
53798
- required: false,
53799
- type: 'ManagedAgentsOutputPolicy',
53800
- description: 'What this run is allowed to publish, snapshotted when the session started.',
53801
- fields: [
53802
- {
53803
- name: 'capture_patch',
53804
- required: false,
53805
- type: 'boolean',
53806
- description: "Whether the run captures the agent's final working-tree patch as a transcript artifact.",
53807
- },
53808
- {
53809
- name: 'publish_review',
53810
- required: false,
53811
- type: 'boolean',
53812
- description: 'Whether the run publishes its validated result to the pull request as a GitHub review.',
53813
- },
53814
- ],
53815
- },
53816
- {
53817
- name: 'target',
53818
- required: false,
53819
- type: 'ManagedAgentsPullRequestTarget',
53820
- description: 'The exact pull request and commit pair this session is bound to.',
53821
- fields: [
53822
- {
53823
- name: 'base_sha',
53824
- required: false,
53825
- type: 'string',
53826
- description: 'Base commit the pull request targets, as a lowercase 40-character hex SHA. Always differs from head_sha.',
53827
- },
53828
- {
53829
- name: 'head_sha',
53830
- required: false,
53831
- type: 'string',
53832
- description: 'Head commit under review, as a lowercase 40-character hex SHA. The sandbox stages exactly this tree, so the review cannot drift onto a later push.',
53833
- },
53834
- {
53835
- name: 'number',
53836
- required: false,
53837
- type: 'integer',
53838
- description: 'Pull request number within the repository.',
53839
- format: 'int64',
53840
- },
53841
- {
53842
- name: 'owner',
53843
- required: false,
53844
- type: 'string',
53845
- description: 'GitHub account or organization that owns the repository. Must match the connected App installation account.',
53846
- },
53847
- {
53848
- name: 'repository',
53849
- required: false,
53850
- type: 'string',
53851
- description: 'GitHub repository name, without the owner prefix.',
53852
- },
53853
- {
53854
- name: 'repository_id',
53855
- required: false,
53856
- type: 'integer',
53857
- description: 'Immutable GitHub repository id, read from GitHub rather than from the request path so a later rename or transfer cannot make the stored owner and name identify a different repository.',
53858
- format: 'int64',
53859
- },
53860
- ],
53861
- },
53862
- {
53863
- name: 'trigger',
53864
- required: false,
53865
- type: 'ManagedAgentsTrigger',
53866
- description: 'Why this automation ran: a manual start, or a specific provider webhook delivery.',
53867
- fields: [
53868
- {
53869
- name: 'binding_id',
53870
- required: false,
53871
- type: 'string',
53872
- description: 'Trigger binding (UUID) that selected this run. Present only on a webhook trigger, where it is required.',
53873
- },
53874
- {
53875
- name: 'delivery_id',
53876
- required: false,
53877
- type: 'string',
53878
- description: 'Provider delivery id, which ties the GitHub delivery, this session, and the published review to one another. Present only on a webhook trigger, where it is required.',
53879
- },
53880
- {
53881
- name: 'event',
53882
- required: false,
53883
- type: 'string',
53884
- description: 'Provider event that started the run, e.g. pull_request.synchronize. Present only on a webhook trigger, where it is required.',
53885
- },
53886
- {
53887
- name: 'mode',
53888
- required: false,
53889
- type: 'string',
53890
- description: 'How the automation started: manual for a direct API call, webhook for a verified provider delivery. A run recorded before triggers were tracked reads back as manual.',
53891
- },
53892
- ],
53893
- },
53894
- ],
53895
- },
53896
- {
53897
- name: 'status_path',
53898
- required: false,
53899
- type: 'string',
53900
- description: 'Managed-session detail path carrying the live turn and tool timeline.',
53901
- },
53902
- ],
53903
- },
53904
- },
53905
53685
  managedAgentsStartSession: {
53906
53686
  operationId: 'managedAgentsStartSession',
53907
53687
  tag: 'managed-agents',
@@ -55970,10 +55750,10 @@ export const SDK_REFERENCE = {
55970
55750
  method: 'updateTriggerBinding',
55971
55751
  bodyKey: 'body',
55972
55752
  signature: 'rl.managedAgents.updateTriggerBinding({ binding_id, body })',
55973
- example: 'const result = await rl.managedAgents.updateTriggerBinding({\n binding_id: \'<binding_id>\',\n body: {\n agent_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n automation_kind: "example",\n capture_patch: true,\n channel_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n connection_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n enabled: true,\n environment_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n include_drafts: true,\n publish_review: true,\n repository: "example",\n repository_id: 1,\n vault_ids: [\n "example"\n ],\n wake_event: "example"\n },\n});',
55753
+ example: 'const result = await rl.managedAgents.updateTriggerBinding({\n binding_id: \'<binding_id>\',\n body: {\n agent_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n channel_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n connection_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n enabled: true,\n environment_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n vault_ids: [\n "example"\n ],\n wake_event: "example"\n },\n});',
55974
55754
  cliInvocation: 'rl managed-agents update-trigger-binding',
55975
55755
  cliExample: 'rl managed-agents update-trigger-binding \\\n --binding_id <binding_id> \\\n --from-json body.json',
55976
- curlExample: 'curl -X PATCH \'https://api.recursion.labelbox.com/managed-agents/v1/trigger-bindings/<binding_id>\' \\\n -H \'Authorization: Bearer $LABELBOX_API_KEY\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "agent_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "automation_kind": "example",\n "capture_patch": true,\n "channel_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "connection_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "enabled": true,\n "environment_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "include_drafts": true,\n "publish_review": true,\n "repository": "example",\n "repository_id": 1,\n "vault_ids": [\n "example"\n ],\n "wake_event": "example"\n }\'',
55756
+ curlExample: 'curl -X PATCH \'https://api.recursion.labelbox.com/managed-agents/v1/trigger-bindings/<binding_id>\' \\\n -H \'Authorization: Bearer $LABELBOX_API_KEY\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "agent_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "channel_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "connection_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "enabled": true,\n "environment_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "vault_ids": [\n "example"\n ],\n "wake_event": "example"\n }\'',
55977
55757
  summary: 'Partially update a compatibility wake rule binding',
55978
55758
  description: 'Reachable with a Labelbox API key through this API, which authorizes the caller and then calls the upstream service with its own credential. The upstream operation is not callable with a customer key directly.',
55979
55759
  httpMethod: 'patch',
@@ -55995,20 +55775,6 @@ export const SDK_REFERENCE = {
55995
55775
  type: 'unknown',
55996
55776
  description: 'Replacement agent (UUID) a matching event starts a session for.',
55997
55777
  },
55998
- {
55999
- name: 'automation_kind',
56000
- in: 'body',
56001
- required: false,
56002
- type: 'unknown',
56003
- description: 'Replacement repository automation strategy. pull_request_review is the only supported value.',
56004
- },
56005
- {
56006
- name: 'capture_patch',
56007
- in: 'body',
56008
- required: false,
56009
- type: 'unknown',
56010
- description: "Whether a matching run captures the agent's final working-tree patch.",
56011
- },
56012
55778
  {
56013
55779
  name: 'channel_id',
56014
55780
  in: 'body',
@@ -56037,34 +55803,6 @@ export const SDK_REFERENCE = {
56037
55803
  type: 'unknown',
56038
55804
  description: 'Replacement environment (UUID) that session runs in.',
56039
55805
  },
56040
- {
56041
- name: 'include_drafts',
56042
- in: 'body',
56043
- required: false,
56044
- type: 'unknown',
56045
- description: 'Whether a draft pull request may trigger this binding.',
56046
- },
56047
- {
56048
- name: 'publish_review',
56049
- in: 'body',
56050
- required: false,
56051
- type: 'unknown',
56052
- description: 'Whether a matching run publishes its validated result back to the pull request.',
56053
- },
56054
- {
56055
- name: 'repository',
56056
- in: 'body',
56057
- required: false,
56058
- type: 'unknown',
56059
- description: 'Replacement GitHub repository name, revalidated against the connected installation.',
56060
- },
56061
- {
56062
- name: 'repository_id',
56063
- in: 'body',
56064
- required: false,
56065
- type: 'unknown',
56066
- description: 'Replacement immutable GitHub repository id, revalidated against the connected installation.',
56067
- },
56068
55806
  {
56069
55807
  name: 'vault_ids',
56070
55808
  in: 'body',
@@ -56082,7 +55820,7 @@ export const SDK_REFERENCE = {
56082
55820
  ],
56083
55821
  response: {
56084
55822
  type: 'ManagedAgentsTriggerBinding',
56085
- description: 'One wake rule: which provider events start a session, and the agent, environment, and vaults that session runs with. A GitHub binding also carries the repository it automates and what a run may publish. One binding serves many threads or pull requests.',
55823
+ description: 'One wake rule: which provider events start a session, and the agent, environment, and vaults that session runs with. New rules are Slack-only; retired GitHub rules remain readable and may be disabled or deleted during migration.',
56086
55824
  fields: [
56087
55825
  {
56088
55826
  name: 'agent_id',
@@ -56130,7 +55868,7 @@ export const SDK_REFERENCE = {
56130
55868
  name: 'environment_id',
56131
55869
  required: false,
56132
55870
  type: 'string',
56133
- description: 'Environment (UUID) that session runs in. GitHub repository automation requires a managed RMA environment.',
55871
+ description: 'Environment (UUID) that session runs in.',
56134
55872
  },
56135
55873
  {
56136
55874
  name: 'include_drafts',
@@ -56148,7 +55886,7 @@ export const SDK_REFERENCE = {
56148
55886
  name: 'provider',
56149
55887
  required: false,
56150
55888
  type: 'string',
56151
- description: 'Integration provider whose events this binding routes: github or slack. Taken from the connection rather than from the request.',
55889
+ description: 'Integration provider whose events this binding routed. New bindings support Slack; retired GitHub bindings remain readable for migration.',
56152
55890
  },
56153
55891
  {
56154
55892
  name: 'publish_review',
@@ -56173,13 +55911,13 @@ export const SDK_REFERENCE = {
56173
55911
  name: 'vault_ids',
56174
55912
  required: false,
56175
55913
  type: 'string[]',
56176
- description: 'Vaults (UUIDs) granted to the woken session. Always empty on a GitHub binding, which runs in a credential-free trusted workspace.',
55914
+ description: 'Vaults (UUIDs) granted to the woken session.',
56177
55915
  },
56178
55916
  {
56179
55917
  name: 'wake_event',
56180
55918
  required: false,
56181
55919
  type: 'string',
56182
- description: 'Provider event that wakes this binding. Slack values are app_mention and message; GitHub values are pull_request.opened, pull_request.reopened, pull_request.synchronize, and pull_request.ready_for_review.',
55920
+ description: 'Provider event that wakes this binding. Slack values are app_mention and message; retired GitHub values remain readable for migration.',
56183
55921
  },
56184
55922
  ],
56185
55923
  },
@@ -56990,10 +56728,10 @@ export const SDK_REFERENCE = {
56990
56728
  method: 'upsertTriggerBinding',
56991
56729
  bodyKey: 'body',
56992
56730
  signature: 'rl.managedAgents.upsertTriggerBinding({ body })',
56993
- example: 'const result = await rl.managedAgents.upsertTriggerBinding({\n body: {\n agent_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n automation_kind: "example",\n capture_patch: true,\n channel_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n connection_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n enabled: true,\n environment_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n include_drafts: true,\n publish_review: true,\n repository: "example",\n repository_id: 1,\n vault_ids: [\n "example"\n ],\n wake_event: "example"\n },\n});',
56731
+ example: 'const result = await rl.managedAgents.upsertTriggerBinding({\n body: {\n agent_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n channel_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n connection_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n enabled: true,\n environment_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n vault_ids: [\n "example"\n ],\n wake_event: "example"\n },\n});',
56994
56732
  cliInvocation: 'rl managed-agents upsert-trigger-binding',
56995
56733
  cliExample: "rl managed-agents upsert-trigger-binding \\\n --agent_id '9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d' \\\n --connection_id '9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d' \\\n --environment_id '9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d' \\\n --from-json body.json",
56996
- curlExample: 'curl -X POST \'https://api.recursion.labelbox.com/managed-agents/v1/trigger-bindings\' \\\n -H \'Authorization: Bearer $LABELBOX_API_KEY\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "agent_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "automation_kind": "example",\n "capture_patch": true,\n "channel_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "connection_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "enabled": true,\n "environment_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "include_drafts": true,\n "publish_review": true,\n "repository": "example",\n "repository_id": 1,\n "vault_ids": [\n "example"\n ],\n "wake_event": "example"\n }\'',
56734
+ curlExample: 'curl -X POST \'https://api.recursion.labelbox.com/managed-agents/v1/trigger-bindings\' \\\n -H \'Authorization: Bearer $LABELBOX_API_KEY\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "agent_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "channel_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "connection_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "enabled": true,\n "environment_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "vault_ids": [\n "example"\n ],\n "wake_event": "example"\n }\'',
56997
56735
  summary: 'Create a compatibility wake rule binding provider events to an agent',
56998
56736
  description: 'Reachable with a Labelbox API key through this API, which authorizes the caller and then calls the upstream service with its own credential. The upstream operation is not callable with a customer key directly.',
56999
56737
  httpMethod: 'post',
@@ -57007,20 +56745,6 @@ export const SDK_REFERENCE = {
57007
56745
  type: 'string',
57008
56746
  description: 'Agent (UUID) a matching event starts a session for, as returned by listAgents.',
57009
56747
  },
57010
- {
57011
- name: 'automation_kind',
57012
- in: 'body',
57013
- required: false,
57014
- type: 'string',
57015
- description: 'Repository strategy. pull_request_review is currently supported.',
57016
- },
57017
- {
57018
- name: 'capture_patch',
57019
- in: 'body',
57020
- required: false,
57021
- type: 'boolean',
57022
- description: 'Capture the agent working-tree patch for later application.',
57023
- },
57024
56748
  {
57025
56749
  name: 'channel_id',
57026
56750
  in: 'body',
@@ -57047,55 +56771,26 @@ export const SDK_REFERENCE = {
57047
56771
  in: 'body',
57048
56772
  required: true,
57049
56773
  type: 'string',
57050
- description: 'Environment (UUID) that session runs in, as returned by listEnvironments. A GitHub binding requires a managed RMA environment.',
57051
- },
57052
- {
57053
- name: 'include_drafts',
57054
- in: 'body',
57055
- required: false,
57056
- type: 'boolean',
57057
- description: 'Allow draft pull requests to trigger this rule.',
57058
- },
57059
- {
57060
- name: 'publish_review',
57061
- in: 'body',
57062
- required: false,
57063
- type: 'boolean',
57064
- description: 'Publish the trusted result back to the pull request.',
57065
- },
57066
- {
57067
- name: 'repository',
57068
- in: 'body',
57069
- required: false,
57070
- type: 'string',
57071
- description: 'GitHub repository name selected from the connected installation.',
57072
- },
57073
- {
57074
- name: 'repository_id',
57075
- in: 'body',
57076
- required: false,
57077
- type: 'integer',
57078
- description: 'Immutable GitHub repository id selected from the connected installation.',
57079
- format: 'int64',
56774
+ description: 'Environment (UUID) that session runs in, as returned by listEnvironments.',
57080
56775
  },
57081
56776
  {
57082
56777
  name: 'vault_ids',
57083
56778
  in: 'body',
57084
56779
  required: false,
57085
56780
  type: 'string[]',
57086
- description: 'Vaults (UUIDs) to grant the woken session. Rejected on a GitHub binding, which runs in a credential-free trusted workspace.',
56781
+ description: 'Vaults (UUIDs) to grant the woken session.',
57087
56782
  },
57088
56783
  {
57089
56784
  name: 'wake_event',
57090
56785
  in: 'body',
57091
56786
  required: false,
57092
56787
  type: 'string',
57093
- description: 'Provider event selector. Slack supports app_mention (channel optional) and message (exact channel required); GitHub supports pull_request.opened, reopened, synchronize, and ready_for_review.',
56788
+ description: 'Slack event selector: app_mention (channel optional) or message (exact channel required).',
57094
56789
  },
57095
56790
  ],
57096
56791
  response: {
57097
56792
  type: 'ManagedAgentsTriggerBinding',
57098
- description: 'One wake rule: which provider events start a session, and the agent, environment, and vaults that session runs with. A GitHub binding also carries the repository it automates and what a run may publish. One binding serves many threads or pull requests.',
56793
+ description: 'One wake rule: which provider events start a session, and the agent, environment, and vaults that session runs with. New rules are Slack-only; retired GitHub rules remain readable and may be disabled or deleted during migration.',
57099
56794
  fields: [
57100
56795
  {
57101
56796
  name: 'agent_id',
@@ -57143,7 +56838,7 @@ export const SDK_REFERENCE = {
57143
56838
  name: 'environment_id',
57144
56839
  required: false,
57145
56840
  type: 'string',
57146
- description: 'Environment (UUID) that session runs in. GitHub repository automation requires a managed RMA environment.',
56841
+ description: 'Environment (UUID) that session runs in.',
57147
56842
  },
57148
56843
  {
57149
56844
  name: 'include_drafts',
@@ -57161,7 +56856,7 @@ export const SDK_REFERENCE = {
57161
56856
  name: 'provider',
57162
56857
  required: false,
57163
56858
  type: 'string',
57164
- description: 'Integration provider whose events this binding routes: github or slack. Taken from the connection rather than from the request.',
56859
+ description: 'Integration provider whose events this binding routed. New bindings support Slack; retired GitHub bindings remain readable for migration.',
57165
56860
  },
57166
56861
  {
57167
56862
  name: 'publish_review',
@@ -57186,13 +56881,13 @@ export const SDK_REFERENCE = {
57186
56881
  name: 'vault_ids',
57187
56882
  required: false,
57188
56883
  type: 'string[]',
57189
- description: 'Vaults (UUIDs) granted to the woken session. Always empty on a GitHub binding, which runs in a credential-free trusted workspace.',
56884
+ description: 'Vaults (UUIDs) granted to the woken session.',
57190
56885
  },
57191
56886
  {
57192
56887
  name: 'wake_event',
57193
56888
  required: false,
57194
56889
  type: 'string',
57195
- description: 'Provider event that wakes this binding. Slack values are app_mention and message; GitHub values are pull_request.opened, pull_request.reopened, pull_request.synchronize, and pull_request.ready_for_review.',
56890
+ description: 'Provider event that wakes this binding. Slack values are app_mention and message; retired GitHub values remain readable for migration.',
57196
56891
  },
57197
56892
  ],
57198
56893
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@labelbox/rl-sdk",
3
- "version": "0.0.144",
3
+ "version": "0.0.146",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",