@alienplatform/sdk 3.3.0 → 3.3.1

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 (2) hide show
  1. package/dist/dist.js +21 -1
  2. package/package.json +4 -4
package/dist/dist.js CHANGED
@@ -5533,6 +5533,7 @@ const AwsRemoteStackManagementHeartbeatDataSchema = object({
5533
5533
  });
5534
5534
  object({
5535
5535
  "managementPermissionsApplied": boolean().describe("Whether the management inline policy was attached by the generated stack."),
5536
+ "remoteBindingsRoleArn": string().describe("Setup-owned role used only for opted-in remote binding data access.").nullish(),
5536
5537
  "roleArn": string().describe("Cross-account management role ARN."),
5537
5538
  "roleName": string().describe("Cross-account management role name.")
5538
5539
  }).describe("AWS RemoteStackManagement ImportData.");
@@ -5689,6 +5690,8 @@ object({
5689
5690
  "functionArn": string().describe("Lambda function ARN."),
5690
5691
  "functionName": string().describe("Lambda function name."),
5691
5692
  "integrationId": string().describe("API Gateway integration ID, when public ingress is enabled.").nullish(),
5693
+ "restApiId": string().describe("API Gateway REST (V1) API ID, when public ingress is enabled for a\nstreaming worker. Mutually exclusive with `api_id`: a worker is exposed\nthrough REST V1 xor the V2 HTTP API, so only one set is ever populated.").nullish(),
5694
+ "restStageName": string().describe("API Gateway REST (V1) stage name, when public ingress is enabled for a\nstreaming worker. Mutually exclusive with `stage_name` (V1 xor V2).").nullish(),
5692
5695
  "routeId": string().describe("API Gateway route ID, when public ingress is enabled.").nullish(),
5693
5696
  "s3PermissionStatementIds": array(string()).describe("Lambda permission statement IDs granted for S3 storage triggers."),
5694
5697
  "stageName": string().describe("API Gateway stage name, when public ingress is enabled.").nullish(),
@@ -6070,6 +6073,8 @@ object({
6070
6073
  "identityId": string().describe("Management UAMI resource id."),
6071
6074
  "managementPermissionsApplied": boolean().describe("Whether the management role assignments were applied by the\ngenerated stack."),
6072
6075
  "principalId": string().describe("Management UAMI principal id."),
6076
+ "remoteBindingsClientId": string().describe("Remote Bindings UAMI client id used for workload identity exchange.").nullish(),
6077
+ "remoteBindingsIdentityId": string().describe("Setup-owned UAMI resource id used only for opted-in remote bindings.").nullish(),
6073
6078
  "resourceGroup": string().describe("Resource group containing the management identity."),
6074
6079
  "subscriptionId": string().describe("Subscription ID containing the management identity."),
6075
6080
  "tenantId": string().describe("Tenant ID containing the management identity.")
@@ -8149,6 +8154,7 @@ object({
8149
8154
  "managementPermissionsApplied": boolean().describe("Whether the management role binding was attached by the\ngenerated stack."),
8150
8155
  "projectId": string().describe("Project ID containing the management service account."),
8151
8156
  "projectNumber": string().describe("Numeric project number containing the management service account.").nullish(),
8157
+ "remoteBindingsServiceAccountEmail": string().describe("Setup-owned service account used only for opted-in remote bindings.").nullish(),
8152
8158
  "serviceAccountEmail": string().describe("Service account email the manager impersonates."),
8153
8159
  "serviceAccountUniqueId": string().describe("Stable unique id Google assigns to the service account.")
8154
8160
  }).describe("GCP RemoteStackManagement ImportData — cross-project service account\nthe manager impersonates.");
@@ -9089,6 +9095,17 @@ object({ "leaseId": string().describe("Lease identifier to release") }).describe
9089
9095
  * Generated by Kubb (https://kubb.dev/).
9090
9096
  * Do not edit manually.
9091
9097
  */
9098
+ /**
9099
+ * @description Provider-neutral handoff for the stack\'s Remote Bindings identity.
9100
+ */
9101
+ const RemoteBindingsAccessOutputsSchema = object({
9102
+ "accessConfiguration": string().describe("Provider-specific impersonation configuration consumed by the manager."),
9103
+ "resourceId": string().describe("Provider resource identifier (role ARN, service-account email, or UAMI\nresource id) of the setup-owned Remote Bindings identity.")
9104
+ }).describe("Provider-neutral handoff for the stack's Remote Bindings identity.");
9105
+ /**
9106
+ * Generated by Kubb (https://kubb.dev/).
9107
+ * Do not edit manually.
9108
+ */
9092
9109
  const RemoteStackManagementHeartbeatDataSchema = union([
9093
9110
  lazy(() => AwsRemoteStackManagementHeartbeatDataSchema).and(object({ "backend": _enum(["awsIamRole"]) })),
9094
9111
  lazy(() => GcpRemoteStackManagementHeartbeatDataSchema).and(object({ "backend": _enum(["gcpServiceAccount"]) })),
@@ -9096,7 +9113,10 @@ const RemoteStackManagementHeartbeatDataSchema = union([
9096
9113
  ]);
9097
9114
  object({
9098
9115
  "accessConfiguration": string().describe("Platform-specific access configuration\nFor AWS: The role ARN to assume\nFor GCP: The service account email to impersonate\nFor Azure: JSON containing the target managed identity client ID and tenant ID"),
9099
- "managementResourceId": string().describe("Platform-specific management resource identifier\nFor AWS: The ARN of the created cross-account role\nFor GCP: The email of the created service account\nFor Azure: The resource ID of the target user-assigned managed identity")
9116
+ "managementResourceId": string().describe("Platform-specific management resource identifier\nFor AWS: The ARN of the created cross-account role\nFor GCP: The email of the created service account\nFor Azure: The resource ID of the target user-assigned managed identity"),
9117
+ get "remoteBindingsAccess"() {
9118
+ return union([RemoteBindingsAccessOutputsSchema, _null()]).optional();
9119
+ }
9100
9120
  }).describe("Resource outputs for RemoteStackManagement.\nDifferent platforms will provide different outputs based on their implementation.");
9101
9121
  object({ "id": string().describe("Identifier for the remote stack management. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]).\nMaximum 64 characters.") }).describe("Represents cross-account management access configuration for a stack deployed\non AWS, GCP, or Azure platforms. This resource sets up the necessary IAM/RBAC\nconfiguration to allow another cloud account to manage the stack.\n\nMaps to:\n- AWS: Cross-account IAM role with management permissions\n- GCP: Service account with management permissions and impersonation rights\n- Azure: User-assigned managed identity with federated credential and custom RBAC\n\nThis resource is automatically created for AWS, GCP, and Azure platforms\nwhen the stack needs to be managed by another account. The management account\nand identity information comes from the platform configuration.");
9102
9122
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alienplatform/sdk",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -57,9 +57,9 @@
57
57
  "nice-grpc": "^2.1.11",
58
58
  "nice-grpc-common": "^2.0.2",
59
59
  "zod": "4.3.2",
60
- "@alienplatform/ai-gateway": "^3.3.0",
61
- "@alienplatform/bindings": "^3.3.0",
62
- "@alienplatform/core": "^3.3.0"
60
+ "@alienplatform/ai-gateway": "^3.3.1",
61
+ "@alienplatform/bindings": "^3.3.1",
62
+ "@alienplatform/core": "^3.3.1"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsdown && tsc --emitDeclarationOnly",