@alienplatform/sdk 3.3.40 → 3.3.42-dev.6e3a661b219b3886d55014b3cef8af0ecdcc65fe
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/dist/dist.js +9 -0
- package/package.json +16 -16
- package/LICENSE.md +0 -105
package/dist/dist.js
CHANGED
|
@@ -5580,6 +5580,8 @@ const DeploymentStatusSchema = _enum([
|
|
|
5580
5580
|
"delete-failed",
|
|
5581
5581
|
"teardown-required",
|
|
5582
5582
|
"teardown-failed",
|
|
5583
|
+
"retention-required",
|
|
5584
|
+
"retained",
|
|
5583
5585
|
"deleted",
|
|
5584
5586
|
"error"
|
|
5585
5587
|
]).describe("Deployment status in the deployment lifecycle.\n\nFor observe-only deployments with no release or stack state, `Running`\nmeans the Operator is attached. Connectivity comes from `lastHeartbeatAt`;\nresource health comes from inventory and resource heartbeat data.");
|
|
@@ -5976,6 +5978,8 @@ const StackResourceStateSchema = object({
|
|
|
5976
5978
|
get "dependencies"() {
|
|
5977
5979
|
return array(ResourceRefSchema.describe("Reference to a resource by its stable id and resource type.")).describe("Complete list of dependencies for this resource, including infrastructure dependencies.\nThis preserves the full dependency information from the stack definition.").optional();
|
|
5978
5980
|
},
|
|
5981
|
+
"description": string().nullish(),
|
|
5982
|
+
"displayName": string().describe("Presentation metadata from the effective resource entry, outside runtime configuration.").nullish(),
|
|
5979
5983
|
get "error"() {
|
|
5980
5984
|
return union([AlienErrorSchema, _null()]).optional();
|
|
5981
5985
|
},
|
|
@@ -5989,6 +5993,7 @@ const StackResourceStateSchema = object({
|
|
|
5989
5993
|
get "previousConfig"() {
|
|
5990
5994
|
return union([BaseResourceSchema, _null()]).optional();
|
|
5991
5995
|
},
|
|
5996
|
+
"progress": string().describe("Last reported step explanation for display only; not a machine-readable status.").nullish(),
|
|
5992
5997
|
"remoteBindingParams": optional(any().describe("Binding parameters for remote access.\nOnly populated when the resource has `remote_access: true` in its ResourceEntry.\nThis is the JSON serialization of the binding configuration (e.g., StorageBinding, VaultBinding).\nPopulated by controllers during provisioning using get_binding_params().")),
|
|
5993
5998
|
"retryAttempt": optional(int().min(0).describe("Tracks consecutive retry attempts for the current state transition.")),
|
|
5994
5999
|
get "status"() {
|
|
@@ -7276,6 +7281,7 @@ object({
|
|
|
7276
7281
|
"database": string().describe("Default database name."),
|
|
7277
7282
|
"engineVersion": string().describe("Engine version the cluster reports."),
|
|
7278
7283
|
"instanceIdentifier": string().describe("Writer instance identifier within the cluster."),
|
|
7284
|
+
"managedPassword": optional(boolean().describe("True when RDS owns the JSON username/password secret and its rotation.")),
|
|
7279
7285
|
"passwordSecretArn": string().describe("Secrets Manager ARN of the master password (never the password itself)."),
|
|
7280
7286
|
"securityGroupId": string().describe("Dedicated security group admitting 5432 from the stack security group."),
|
|
7281
7287
|
"subnetGroupName": string().describe("DB subnet group spanning the private subnets."),
|
|
@@ -10589,6 +10595,7 @@ const LocalPostgresBindingSchema = object({
|
|
|
10589
10595
|
*/
|
|
10590
10596
|
const PostgresBindingSchema = union([
|
|
10591
10597
|
lazy(() => AuroraPostgresBindingSchema).and(object({ "service": _enum(["aurora"]) })).describe("AWS Aurora Serverless v2 binding."),
|
|
10598
|
+
lazy(() => AuroraPostgresBindingSchema).and(object({ "service": _enum(["aurora-managed"]) })).describe("AWS Aurora Serverless v2 binding."),
|
|
10592
10599
|
lazy(() => CloudSqlPostgresBindingSchema).and(object({ "service": _enum(["cloud-sql"]) })).describe("GCP Cloud SQL binding."),
|
|
10593
10600
|
lazy(() => FlexibleServerPostgresBindingSchema).and(object({ "service": _enum(["flexible-server"]) })).describe("Azure Flexible Server binding."),
|
|
10594
10601
|
lazy(() => ExternalPostgresBindingSchema).and(object({ "service": _enum(["external"]) })).describe("Operator-provided / BYO database binding."),
|
|
@@ -12249,6 +12256,8 @@ const ResourceEntrySchema = object({
|
|
|
12249
12256
|
get "dependencies"() {
|
|
12250
12257
|
return array(ResourceRefSchema.describe("Reference to a resource by its stable id and resource type.")).describe("Additional dependencies for this resource beyond those defined in the resource itself.\nThe total dependencies are: resource.get_dependencies() + this list");
|
|
12251
12258
|
},
|
|
12259
|
+
"description": string().describe("Authored purpose, displayed as plain text. Does not affect resource configuration.").nullish(),
|
|
12260
|
+
"displayName": string().describe("Optional human-readable name. The stable resource ID is the display fallback.").nullish(),
|
|
12252
12261
|
"enabledWhen": string().describe("Id of the boolean stack input that decides whether this resource is\ncreated at all. `None` means always create it.\n\nSet by `.enabled(input)` in the SDK. Setup emitters render the resource\nconditionally on the matching template variable, so a deployer who says no\nnever gets the resource, its outputs, or anything derived from it.").nullish(),
|
|
12253
12262
|
get "lifecycle"() {
|
|
12254
12263
|
return ResourceLifecycleSchema.describe("Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alienplatform/sdk",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.42-dev.6e3a661b219b3886d55014b3cef8af0ecdcc65fe",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -23,6 +23,14 @@
|
|
|
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
|
+
},
|
|
26
34
|
"sideEffects": false,
|
|
27
35
|
"keywords": [
|
|
28
36
|
"alien",
|
|
@@ -43,30 +51,22 @@
|
|
|
43
51
|
"access": "public"
|
|
44
52
|
},
|
|
45
53
|
"devDependencies": {
|
|
54
|
+
"@alienplatform/typescript-config": "workspace:^",
|
|
46
55
|
"@biomejs/biome": "^2.0.0",
|
|
47
56
|
"@types/node": "^24.0.15",
|
|
48
57
|
"ts-proto": "^2.7.0",
|
|
49
58
|
"tsdown": "^0.13.0",
|
|
50
59
|
"typescript": "~5.9.0",
|
|
51
|
-
"vitest": "^4.0.0"
|
|
52
|
-
"@alienplatform/typescript-config": "^1.0.0"
|
|
60
|
+
"vitest": "^4.0.0"
|
|
53
61
|
},
|
|
54
62
|
"dependencies": {
|
|
63
|
+
"@alienplatform/ai-gateway": "3.3.42-dev.6e3a661b219b3886d55014b3cef8af0ecdcc65fe",
|
|
64
|
+
"@alienplatform/bindings": "3.3.42-dev.6e3a661b219b3886d55014b3cef8af0ecdcc65fe",
|
|
65
|
+
"@alienplatform/core": "3.3.42-dev.6e3a661b219b3886d55014b3cef8af0ecdcc65fe",
|
|
55
66
|
"@bufbuild/protobuf": "^2.5.3",
|
|
56
67
|
"@grpc/grpc-js": "^1.14.4",
|
|
57
68
|
"nice-grpc": "^2.1.11",
|
|
58
69
|
"nice-grpc-common": "^2.0.2",
|
|
59
|
-
"zod": "^4.5.2"
|
|
60
|
-
"@alienplatform/ai-gateway": "^3.3.40",
|
|
61
|
-
"@alienplatform/bindings": "^3.3.40",
|
|
62
|
-
"@alienplatform/core": "^3.3.40"
|
|
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"
|
|
70
|
+
"zod": "^4.5.2"
|
|
71
71
|
}
|
|
72
|
-
}
|
|
72
|
+
}
|
package/LICENSE.md
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
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.
|