@alienplatform/sdk 3.3.0-dev.0d4f932037814a854d56a7e4e82a8a34cc2e35cb → 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.
- package/LICENSE.md +105 -0
- package/dist/dist.js +21 -1
- package/package.json +16 -16
package/LICENSE.md
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Functional Source License, Version 1.1, Apache 2.0 Future License
|
|
2
|
+
|
|
3
|
+
## Abbreviation
|
|
4
|
+
|
|
5
|
+
FSL-1.1-Apache-2.0
|
|
6
|
+
|
|
7
|
+
## Notice
|
|
8
|
+
|
|
9
|
+
Copyright 2026 Alien Software, Inc.
|
|
10
|
+
|
|
11
|
+
## Terms and Conditions
|
|
12
|
+
|
|
13
|
+
### Licensor ("We")
|
|
14
|
+
|
|
15
|
+
The party offering the Software under these Terms and Conditions.
|
|
16
|
+
|
|
17
|
+
### The Software
|
|
18
|
+
|
|
19
|
+
The "Software" is each version of the software that we make available under
|
|
20
|
+
these Terms and Conditions, as indicated by our inclusion of these Terms and
|
|
21
|
+
Conditions with the Software.
|
|
22
|
+
|
|
23
|
+
### License Grant
|
|
24
|
+
|
|
25
|
+
Subject to your compliance with this License Grant and the Patents,
|
|
26
|
+
Redistribution and Trademark clauses below, we hereby grant you the right to
|
|
27
|
+
use, copy, modify, create derivative works, publicly perform, publicly display
|
|
28
|
+
and redistribute the Software for any Permitted Purpose identified below.
|
|
29
|
+
|
|
30
|
+
### Permitted Purpose
|
|
31
|
+
|
|
32
|
+
A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
|
|
33
|
+
means making the Software available to others in a commercial product or
|
|
34
|
+
service that:
|
|
35
|
+
|
|
36
|
+
1. substitutes for the Software;
|
|
37
|
+
|
|
38
|
+
2. substitutes for any other product or service we offer using the Software
|
|
39
|
+
that exists as of the date we make the Software available; or
|
|
40
|
+
|
|
41
|
+
3. offers the same or substantially similar functionality as the Software.
|
|
42
|
+
|
|
43
|
+
Permitted Purposes specifically include using the Software:
|
|
44
|
+
|
|
45
|
+
1. for your internal use and access;
|
|
46
|
+
|
|
47
|
+
2. for non-commercial education;
|
|
48
|
+
|
|
49
|
+
3. for non-commercial research; and
|
|
50
|
+
|
|
51
|
+
4. in connection with professional services that you provide to a licensee
|
|
52
|
+
using the Software in accordance with these Terms and Conditions.
|
|
53
|
+
|
|
54
|
+
### Patents
|
|
55
|
+
|
|
56
|
+
To the extent your use for a Permitted Purpose would necessarily infringe our
|
|
57
|
+
patents, the license grant above includes a license under our patents. If you
|
|
58
|
+
make a claim against any party that the Software infringes or contributes to
|
|
59
|
+
the infringement of any patent, then your patent license to the Software ends
|
|
60
|
+
immediately.
|
|
61
|
+
|
|
62
|
+
### Redistribution
|
|
63
|
+
|
|
64
|
+
The Terms and Conditions apply to all copies, modifications and derivatives of
|
|
65
|
+
the Software.
|
|
66
|
+
|
|
67
|
+
If you redistribute any copies, modifications or derivatives of the Software,
|
|
68
|
+
you must include a copy of or a link to these Terms and Conditions and not
|
|
69
|
+
remove any copyright notices provided in or with the Software.
|
|
70
|
+
|
|
71
|
+
### Disclaimer
|
|
72
|
+
|
|
73
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
|
|
74
|
+
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
|
|
75
|
+
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
|
76
|
+
|
|
77
|
+
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
|
|
78
|
+
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
|
|
79
|
+
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
|
|
80
|
+
|
|
81
|
+
### Trademarks
|
|
82
|
+
|
|
83
|
+
Except for displaying the License Details and identifying us as the origin of
|
|
84
|
+
the Software, you have no right under these Terms and Conditions to use our
|
|
85
|
+
trademarks, trade names, service marks or product names.
|
|
86
|
+
|
|
87
|
+
## Grant of Future License
|
|
88
|
+
|
|
89
|
+
We hereby irrevocably grant you an additional license to use the Software under
|
|
90
|
+
the Apache License, Version 2.0 that is effective on the second anniversary of
|
|
91
|
+
the date we make the Software available. On or after that date, you may use the
|
|
92
|
+
Software under the Apache License, Version 2.0, in which case the following
|
|
93
|
+
will apply:
|
|
94
|
+
|
|
95
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
96
|
+
this file except in compliance with the License.
|
|
97
|
+
|
|
98
|
+
You may obtain a copy of the License at
|
|
99
|
+
|
|
100
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
101
|
+
|
|
102
|
+
Unless required by applicable law or agreed to in writing, software distributed
|
|
103
|
+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
104
|
+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
105
|
+
specific language governing permissions and limitations under the License.
|
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.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -23,14 +23,6 @@
|
|
|
23
23
|
"import": "./dist/native-bindings.js"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
-
"scripts": {
|
|
27
|
-
"build": "tsdown && tsc --emitDeclarationOnly",
|
|
28
|
-
"test": "vitest run --passWithNoTests",
|
|
29
|
-
"test:ts": "tsc --noEmit",
|
|
30
|
-
"generate": "./scripts/generate-proto.sh",
|
|
31
|
-
"format-and-lint": "biome check .",
|
|
32
|
-
"format-and-lint:fix": "biome check . --write"
|
|
33
|
-
},
|
|
34
26
|
"sideEffects": false,
|
|
35
27
|
"keywords": [
|
|
36
28
|
"alien",
|
|
@@ -51,22 +43,30 @@
|
|
|
51
43
|
"access": "public"
|
|
52
44
|
},
|
|
53
45
|
"devDependencies": {
|
|
54
|
-
"@alienplatform/typescript-config": "workspace:^",
|
|
55
46
|
"@biomejs/biome": "^1.9.4",
|
|
56
47
|
"@types/node": "^24.0.15",
|
|
57
48
|
"ts-proto": "^2.7.0",
|
|
58
49
|
"tsdown": "^0.13.0",
|
|
59
50
|
"typescript": "^5.8.3",
|
|
60
|
-
"vitest": "^3.1.4"
|
|
51
|
+
"vitest": "^3.1.4",
|
|
52
|
+
"@alienplatform/typescript-config": "^1.0.0"
|
|
61
53
|
},
|
|
62
54
|
"dependencies": {
|
|
63
|
-
"@alienplatform/ai-gateway": "3.3.0-dev.0d4f932037814a854d56a7e4e82a8a34cc2e35cb",
|
|
64
|
-
"@alienplatform/bindings": "3.3.0-dev.0d4f932037814a854d56a7e4e82a8a34cc2e35cb",
|
|
65
|
-
"@alienplatform/core": "3.3.0-dev.0d4f932037814a854d56a7e4e82a8a34cc2e35cb",
|
|
66
55
|
"@bufbuild/protobuf": "^2.5.3",
|
|
67
56
|
"@grpc/grpc-js": "^1.14.4",
|
|
68
57
|
"nice-grpc": "^2.1.11",
|
|
69
58
|
"nice-grpc-common": "^2.0.2",
|
|
70
|
-
"zod": "4.3.2"
|
|
59
|
+
"zod": "4.3.2",
|
|
60
|
+
"@alienplatform/ai-gateway": "^3.3.1",
|
|
61
|
+
"@alienplatform/bindings": "^3.3.1",
|
|
62
|
+
"@alienplatform/core": "^3.3.1"
|
|
63
|
+
},
|
|
64
|
+
"scripts": {
|
|
65
|
+
"build": "tsdown && tsc --emitDeclarationOnly",
|
|
66
|
+
"test": "vitest run --passWithNoTests",
|
|
67
|
+
"test:ts": "tsc --noEmit",
|
|
68
|
+
"generate": "./scripts/generate-proto.sh",
|
|
69
|
+
"format-and-lint": "biome check .",
|
|
70
|
+
"format-and-lint:fix": "biome check . --write"
|
|
71
71
|
}
|
|
72
|
-
}
|
|
72
|
+
}
|