@kici-dev/engine 0.1.20 → 0.1.22
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/approval/types.d.ts +1 -1
- package/dist/approval/types.js +1 -1
- package/dist/audit/access-log-policy.js +7 -0
- package/dist/audit/retention-policy.js +8 -0
- package/dist/check-mode.d.ts +33 -0
- package/dist/check-mode.js +36 -0
- package/dist/fanout/materialize.d.ts +21 -4
- package/dist/fanout/materialize.js +24 -5
- package/dist/index.d.ts +5 -1
- package/dist/index.js +11 -7
- package/dist/inventory.d.ts +101 -0
- package/dist/inventory.js +89 -0
- package/dist/labels-match.d.ts +52 -0
- package/dist/labels-match.js +24 -2
- package/dist/protocol/dashboard-write-operations.d.ts +8 -1
- package/dist/protocol/dashboard-write-operations.js +25 -4
- package/dist/protocol/messages/access-log.d.ts +25 -0
- package/dist/protocol/messages/access-log.js +5 -0
- package/dist/protocol/messages/auth.d.ts +2 -0
- package/dist/protocol/messages/capabilities.d.ts +2 -0
- package/dist/protocol/messages/dashboard.d.ts +669 -21
- package/dist/protocol/messages/dashboard.js +140 -7
- package/dist/protocol/messages/deployment-identity.d.ts +38 -0
- package/dist/protocol/messages/deployment-identity.js +28 -0
- package/dist/protocol/messages/execution-status.d.ts +5 -5
- package/dist/protocol/messages/orchestrator-agent.d.ts +70 -6
- package/dist/protocol/messages/orchestrator-agent.js +37 -8
- package/dist/protocol/messages/peer.d.ts +62 -3
- package/dist/protocol/messages/peer.js +16 -2
- package/dist/protocol/messages/platform-orchestrator.d.ts +172 -2
- package/dist/protocol/messages/source-registration.d.ts +15 -0
- package/dist/protocol/messages/source-registration.js +17 -1
- package/dist/trigger/types.d.ts +74 -22
- package/dist/trigger/types.js +41 -12
- package/dist/webhook/webhook-url-format.d.ts +9 -0
- package/dist/webhook/webhook-url-format.js +16 -0
- package/package.json +1 -1
- package/sbom.spdx.json +5 -5
|
@@ -89,10 +89,19 @@ export declare const dashboardJobDetailSchema: z.ZodObject<{
|
|
|
89
89
|
}, z.core.$strip>>;
|
|
90
90
|
needs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
91
91
|
upstreamName: z.ZodString;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
runOn: z.ZodArray<z.ZodEnum<{
|
|
93
|
+
skipped: "skipped";
|
|
94
|
+
success: "success";
|
|
95
|
+
pending: "pending";
|
|
96
|
+
running: "running";
|
|
97
|
+
failed: "failed";
|
|
98
|
+
cancelled: "cancelled";
|
|
99
|
+
cancelling: "cancelling";
|
|
100
|
+
queued: "queued";
|
|
101
|
+
recovering: "recovering";
|
|
102
|
+
timed_out_stale: "timed_out_stale";
|
|
103
|
+
drift_dropped: "drift_dropped";
|
|
104
|
+
}>>;
|
|
96
105
|
}, z.core.$strip>>>>;
|
|
97
106
|
steps: z.ZodArray<z.ZodObject<{
|
|
98
107
|
stepIndex: z.ZodNumber;
|
|
@@ -105,6 +114,14 @@ export declare const dashboardJobDetailSchema: z.ZodObject<{
|
|
|
105
114
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
106
115
|
stepType: z.ZodOptional<z.ZodString>;
|
|
107
116
|
secretsAccessed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
117
|
+
checkOutcome: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
118
|
+
skipped: "skipped";
|
|
119
|
+
applied: "applied";
|
|
120
|
+
declined: "declined";
|
|
121
|
+
"dry-run": "dry-run";
|
|
122
|
+
no_check: "no_check";
|
|
123
|
+
}>>>;
|
|
124
|
+
driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108
125
|
}, z.core.$strip>>;
|
|
109
126
|
}, z.core.$strip>;
|
|
110
127
|
/** Response with full run detail (correlates to dashboard.run.detail). */
|
|
@@ -148,10 +165,19 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
|
|
|
148
165
|
}, z.core.$strip>>;
|
|
149
166
|
needs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
150
167
|
upstreamName: z.ZodString;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
168
|
+
runOn: z.ZodArray<z.ZodEnum<{
|
|
169
|
+
skipped: "skipped";
|
|
170
|
+
success: "success";
|
|
171
|
+
pending: "pending";
|
|
172
|
+
running: "running";
|
|
173
|
+
failed: "failed";
|
|
174
|
+
cancelled: "cancelled";
|
|
175
|
+
cancelling: "cancelling";
|
|
176
|
+
queued: "queued";
|
|
177
|
+
recovering: "recovering";
|
|
178
|
+
timed_out_stale: "timed_out_stale";
|
|
179
|
+
drift_dropped: "drift_dropped";
|
|
180
|
+
}>>;
|
|
155
181
|
}, z.core.$strip>>>>;
|
|
156
182
|
steps: z.ZodArray<z.ZodObject<{
|
|
157
183
|
stepIndex: z.ZodNumber;
|
|
@@ -164,6 +190,14 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
|
|
|
164
190
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
165
191
|
stepType: z.ZodOptional<z.ZodString>;
|
|
166
192
|
secretsAccessed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
193
|
+
checkOutcome: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
194
|
+
skipped: "skipped";
|
|
195
|
+
applied: "applied";
|
|
196
|
+
declined: "declined";
|
|
197
|
+
"dry-run": "dry-run";
|
|
198
|
+
no_check: "no_check";
|
|
199
|
+
}>>>;
|
|
200
|
+
driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
167
201
|
}, z.core.$strip>>;
|
|
168
202
|
}, z.core.$strip>>;
|
|
169
203
|
trustContext: z.ZodOptional<z.ZodObject<{
|
|
@@ -1798,6 +1832,10 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
|
|
|
1798
1832
|
}, z.core.$strict>]>>;
|
|
1799
1833
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1800
1834
|
}, z.core.$strip>>>;
|
|
1835
|
+
payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1836
|
+
summaryMarkdown: z.ZodString;
|
|
1837
|
+
drift: z.ZodUnknown;
|
|
1838
|
+
}, z.core.$strip>>>;
|
|
1801
1839
|
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1802
1840
|
approverUserId: z.ZodString;
|
|
1803
1841
|
decision: z.ZodEnum<{
|
|
@@ -1838,6 +1876,7 @@ export declare const heldRunApproveRequestSchema: z.ZodObject<{
|
|
|
1838
1876
|
component: z.ZodString;
|
|
1839
1877
|
}, z.core.$strip>], "type">;
|
|
1840
1878
|
heldRunId: z.ZodString;
|
|
1879
|
+
autoApprove: z.ZodOptional<z.ZodBoolean>;
|
|
1841
1880
|
}, z.core.$strip>;
|
|
1842
1881
|
/** Reject a held run. */
|
|
1843
1882
|
export declare const heldRunRejectRequestSchema: z.ZodObject<{
|
|
@@ -1890,6 +1929,272 @@ export declare const dashboardDiagnosticsRequestSchema: z.ZodObject<{
|
|
|
1890
1929
|
}, z.core.$strip>], "type">;
|
|
1891
1930
|
includeAgents: z.ZodOptional<z.ZodBoolean>;
|
|
1892
1931
|
}, z.core.$strip>;
|
|
1932
|
+
/** A run pinned to a host, for the host-detail "recent runs" list. */
|
|
1933
|
+
export declare const fleetPinnedRunSchema: z.ZodObject<{
|
|
1934
|
+
runId: z.ZodString;
|
|
1935
|
+
workflowName: z.ZodNullable<z.ZodString>;
|
|
1936
|
+
status: z.ZodString;
|
|
1937
|
+
createdAt: z.ZodString;
|
|
1938
|
+
}, z.core.$strip>;
|
|
1939
|
+
export type FleetPinnedRun = z.infer<typeof fleetPinnedRunSchema>;
|
|
1940
|
+
/** A host matched by a runsOnAll preview, plus how the fan-out would treat it. */
|
|
1941
|
+
export declare const fleetPreviewHostSchema: z.ZodObject<{
|
|
1942
|
+
entry: z.ZodObject<{
|
|
1943
|
+
agentId: z.ZodString;
|
|
1944
|
+
labels: z.ZodArray<z.ZodString>;
|
|
1945
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1946
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
1947
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
1948
|
+
arch: z.ZodNullable<z.ZodString>;
|
|
1949
|
+
lifecycleClass: z.ZodEnum<{
|
|
1950
|
+
static: "static";
|
|
1951
|
+
ephemeral: "ephemeral";
|
|
1952
|
+
}>;
|
|
1953
|
+
status: z.ZodEnum<{
|
|
1954
|
+
ready: "ready";
|
|
1955
|
+
unreachable: "unreachable";
|
|
1956
|
+
stale: "stale";
|
|
1957
|
+
}>;
|
|
1958
|
+
lastSeen: z.ZodString;
|
|
1959
|
+
}, z.core.$strip>;
|
|
1960
|
+
disposition: z.ZodEnum<{
|
|
1961
|
+
target: "target";
|
|
1962
|
+
"unreachable-durable": "unreachable-durable";
|
|
1963
|
+
"skipped-ephemeral": "skipped-ephemeral";
|
|
1964
|
+
}>;
|
|
1965
|
+
}, z.core.$strip>;
|
|
1966
|
+
export type FleetPreviewHost = z.infer<typeof fleetPreviewHostSchema>;
|
|
1967
|
+
export declare const dashboardFleetHostsRequestSchema: z.ZodObject<{
|
|
1968
|
+
type: z.ZodLiteral<"dashboard.fleet.hosts">;
|
|
1969
|
+
requestId: z.ZodString;
|
|
1970
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1971
|
+
type: z.ZodLiteral<"user">;
|
|
1972
|
+
sub: z.ZodString;
|
|
1973
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1974
|
+
type: z.ZodLiteral<"api_key">;
|
|
1975
|
+
keyId: z.ZodString;
|
|
1976
|
+
ownerSub: z.ZodString;
|
|
1977
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1978
|
+
type: z.ZodLiteral<"service_account">;
|
|
1979
|
+
id: z.ZodString;
|
|
1980
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1981
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
1982
|
+
sub: z.ZodString;
|
|
1983
|
+
reason: z.ZodString;
|
|
1984
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1985
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1986
|
+
type: z.ZodLiteral<"system">;
|
|
1987
|
+
component: z.ZodString;
|
|
1988
|
+
}, z.core.$strip>], "type">;
|
|
1989
|
+
}, z.core.$strip>;
|
|
1990
|
+
export declare const dashboardFleetHostRequestSchema: z.ZodObject<{
|
|
1991
|
+
type: z.ZodLiteral<"dashboard.fleet.host">;
|
|
1992
|
+
requestId: z.ZodString;
|
|
1993
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1994
|
+
type: z.ZodLiteral<"user">;
|
|
1995
|
+
sub: z.ZodString;
|
|
1996
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1997
|
+
type: z.ZodLiteral<"api_key">;
|
|
1998
|
+
keyId: z.ZodString;
|
|
1999
|
+
ownerSub: z.ZodString;
|
|
2000
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2001
|
+
type: z.ZodLiteral<"service_account">;
|
|
2002
|
+
id: z.ZodString;
|
|
2003
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2004
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
2005
|
+
sub: z.ZodString;
|
|
2006
|
+
reason: z.ZodString;
|
|
2007
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2008
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2009
|
+
type: z.ZodLiteral<"system">;
|
|
2010
|
+
component: z.ZodString;
|
|
2011
|
+
}, z.core.$strip>], "type">;
|
|
2012
|
+
agentId: z.ZodString;
|
|
2013
|
+
}, z.core.$strip>;
|
|
2014
|
+
export declare const dashboardFleetPreviewRequestSchema: z.ZodObject<{
|
|
2015
|
+
type: z.ZodLiteral<"dashboard.fleet.preview">;
|
|
2016
|
+
requestId: z.ZodString;
|
|
2017
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2018
|
+
type: z.ZodLiteral<"user">;
|
|
2019
|
+
sub: z.ZodString;
|
|
2020
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2021
|
+
type: z.ZodLiteral<"api_key">;
|
|
2022
|
+
keyId: z.ZodString;
|
|
2023
|
+
ownerSub: z.ZodString;
|
|
2024
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2025
|
+
type: z.ZodLiteral<"service_account">;
|
|
2026
|
+
id: z.ZodString;
|
|
2027
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2028
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
2029
|
+
sub: z.ZodString;
|
|
2030
|
+
reason: z.ZodString;
|
|
2031
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2032
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2033
|
+
type: z.ZodLiteral<"system">;
|
|
2034
|
+
component: z.ZodString;
|
|
2035
|
+
}, z.core.$strip>], "type">;
|
|
2036
|
+
workflowName: z.ZodString;
|
|
2037
|
+
}, z.core.$strip>;
|
|
2038
|
+
export declare const dashboardFleetHostsResponseSchema: z.ZodObject<{
|
|
2039
|
+
type: z.ZodLiteral<"dashboard.fleet.hosts.response">;
|
|
2040
|
+
requestId: z.ZodString;
|
|
2041
|
+
hosts: z.ZodArray<z.ZodObject<{
|
|
2042
|
+
agentId: z.ZodString;
|
|
2043
|
+
labels: z.ZodArray<z.ZodString>;
|
|
2044
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2045
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
2046
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
2047
|
+
arch: z.ZodNullable<z.ZodString>;
|
|
2048
|
+
lifecycleClass: z.ZodEnum<{
|
|
2049
|
+
static: "static";
|
|
2050
|
+
ephemeral: "ephemeral";
|
|
2051
|
+
}>;
|
|
2052
|
+
status: z.ZodEnum<{
|
|
2053
|
+
ready: "ready";
|
|
2054
|
+
unreachable: "unreachable";
|
|
2055
|
+
stale: "stale";
|
|
2056
|
+
}>;
|
|
2057
|
+
lastSeen: z.ZodString;
|
|
2058
|
+
}, z.core.$strip>>;
|
|
2059
|
+
}, z.core.$strip>;
|
|
2060
|
+
export declare const dashboardFleetHostResponseSchema: z.ZodObject<{
|
|
2061
|
+
type: z.ZodLiteral<"dashboard.fleet.host.response">;
|
|
2062
|
+
requestId: z.ZodString;
|
|
2063
|
+
host: z.ZodNullable<z.ZodObject<{
|
|
2064
|
+
agentId: z.ZodString;
|
|
2065
|
+
labels: z.ZodArray<z.ZodString>;
|
|
2066
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2067
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
2068
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
2069
|
+
arch: z.ZodNullable<z.ZodString>;
|
|
2070
|
+
lifecycleClass: z.ZodEnum<{
|
|
2071
|
+
static: "static";
|
|
2072
|
+
ephemeral: "ephemeral";
|
|
2073
|
+
}>;
|
|
2074
|
+
status: z.ZodEnum<{
|
|
2075
|
+
ready: "ready";
|
|
2076
|
+
unreachable: "unreachable";
|
|
2077
|
+
stale: "stale";
|
|
2078
|
+
}>;
|
|
2079
|
+
lastSeen: z.ZodString;
|
|
2080
|
+
}, z.core.$strip>>;
|
|
2081
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
2082
|
+
runId: z.ZodString;
|
|
2083
|
+
workflowName: z.ZodNullable<z.ZodString>;
|
|
2084
|
+
status: z.ZodString;
|
|
2085
|
+
createdAt: z.ZodString;
|
|
2086
|
+
}, z.core.$strip>>;
|
|
2087
|
+
}, z.core.$strip>;
|
|
2088
|
+
export declare const dashboardFleetPreviewResponseSchema: z.ZodObject<{
|
|
2089
|
+
type: z.ZodLiteral<"dashboard.fleet.preview.response">;
|
|
2090
|
+
requestId: z.ZodString;
|
|
2091
|
+
matched: z.ZodArray<z.ZodObject<{
|
|
2092
|
+
entry: z.ZodObject<{
|
|
2093
|
+
agentId: z.ZodString;
|
|
2094
|
+
labels: z.ZodArray<z.ZodString>;
|
|
2095
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2096
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
2097
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
2098
|
+
arch: z.ZodNullable<z.ZodString>;
|
|
2099
|
+
lifecycleClass: z.ZodEnum<{
|
|
2100
|
+
static: "static";
|
|
2101
|
+
ephemeral: "ephemeral";
|
|
2102
|
+
}>;
|
|
2103
|
+
status: z.ZodEnum<{
|
|
2104
|
+
ready: "ready";
|
|
2105
|
+
unreachable: "unreachable";
|
|
2106
|
+
stale: "stale";
|
|
2107
|
+
}>;
|
|
2108
|
+
lastSeen: z.ZodString;
|
|
2109
|
+
}, z.core.$strip>;
|
|
2110
|
+
disposition: z.ZodEnum<{
|
|
2111
|
+
target: "target";
|
|
2112
|
+
"unreachable-durable": "unreachable-durable";
|
|
2113
|
+
"skipped-ephemeral": "skipped-ephemeral";
|
|
2114
|
+
}>;
|
|
2115
|
+
}, z.core.$strip>>;
|
|
2116
|
+
onUnreachable: z.ZodEnum<{
|
|
2117
|
+
skip: "skip";
|
|
2118
|
+
fail: "fail";
|
|
2119
|
+
hold: "hold";
|
|
2120
|
+
}>;
|
|
2121
|
+
estimatedChildCount: z.ZodNumber;
|
|
2122
|
+
}, z.core.$strip>;
|
|
2123
|
+
export type DashboardFleetHostsRequest = z.infer<typeof dashboardFleetHostsRequestSchema>;
|
|
2124
|
+
export type DashboardFleetHostRequest = z.infer<typeof dashboardFleetHostRequestSchema>;
|
|
2125
|
+
export type DashboardFleetPreviewRequest = z.infer<typeof dashboardFleetPreviewRequestSchema>;
|
|
2126
|
+
export type DashboardFleetHostsResponse = z.infer<typeof dashboardFleetHostsResponseSchema>;
|
|
2127
|
+
export type DashboardFleetHostResponse = z.infer<typeof dashboardFleetHostResponseSchema>;
|
|
2128
|
+
export type DashboardFleetPreviewResponse = z.infer<typeof dashboardFleetPreviewResponseSchema>;
|
|
2129
|
+
/** Declare a static host into the roster (wraps HostRosterStore.declareStatic). */
|
|
2130
|
+
export declare const fleetHostDeclareRequestSchema: z.ZodObject<{
|
|
2131
|
+
type: z.ZodLiteral<"dashboard.fleet.host.declare">;
|
|
2132
|
+
requestId: z.ZodString;
|
|
2133
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2134
|
+
type: z.ZodLiteral<"user">;
|
|
2135
|
+
sub: z.ZodString;
|
|
2136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2137
|
+
type: z.ZodLiteral<"api_key">;
|
|
2138
|
+
keyId: z.ZodString;
|
|
2139
|
+
ownerSub: z.ZodString;
|
|
2140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2141
|
+
type: z.ZodLiteral<"service_account">;
|
|
2142
|
+
id: z.ZodString;
|
|
2143
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2144
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
2145
|
+
sub: z.ZodString;
|
|
2146
|
+
reason: z.ZodString;
|
|
2147
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2149
|
+
type: z.ZodLiteral<"system">;
|
|
2150
|
+
component: z.ZodString;
|
|
2151
|
+
}, z.core.$strip>], "type">;
|
|
2152
|
+
agentId: z.ZodString;
|
|
2153
|
+
labels: z.ZodArray<z.ZodString>;
|
|
2154
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
2155
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2156
|
+
}, z.core.$strip>;
|
|
2157
|
+
export declare const fleetHostDeclareResponseSchema: z.ZodObject<{
|
|
2158
|
+
type: z.ZodLiteral<"dashboard.fleet.host.declare.response">;
|
|
2159
|
+
requestId: z.ZodString;
|
|
2160
|
+
declared: z.ZodOptional<z.ZodBoolean>;
|
|
2161
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2162
|
+
}, z.core.$strip>;
|
|
2163
|
+
/** Remove a host from the roster by agent id (HostRosterStore.removeStatic). */
|
|
2164
|
+
export declare const fleetHostRemoveRequestSchema: z.ZodObject<{
|
|
2165
|
+
type: z.ZodLiteral<"dashboard.fleet.host.remove">;
|
|
2166
|
+
requestId: z.ZodString;
|
|
2167
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2168
|
+
type: z.ZodLiteral<"user">;
|
|
2169
|
+
sub: z.ZodString;
|
|
2170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2171
|
+
type: z.ZodLiteral<"api_key">;
|
|
2172
|
+
keyId: z.ZodString;
|
|
2173
|
+
ownerSub: z.ZodString;
|
|
2174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2175
|
+
type: z.ZodLiteral<"service_account">;
|
|
2176
|
+
id: z.ZodString;
|
|
2177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2178
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
2179
|
+
sub: z.ZodString;
|
|
2180
|
+
reason: z.ZodString;
|
|
2181
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2183
|
+
type: z.ZodLiteral<"system">;
|
|
2184
|
+
component: z.ZodString;
|
|
2185
|
+
}, z.core.$strip>], "type">;
|
|
2186
|
+
agentId: z.ZodString;
|
|
2187
|
+
}, z.core.$strip>;
|
|
2188
|
+
export declare const fleetHostRemoveResponseSchema: z.ZodObject<{
|
|
2189
|
+
type: z.ZodLiteral<"dashboard.fleet.host.remove.response">;
|
|
2190
|
+
requestId: z.ZodString;
|
|
2191
|
+
removed: z.ZodOptional<z.ZodBoolean>;
|
|
2192
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2193
|
+
}, z.core.$strip>;
|
|
2194
|
+
export type FleetHostDeclareRequest = z.infer<typeof fleetHostDeclareRequestSchema>;
|
|
2195
|
+
export type FleetHostDeclareResponse = z.infer<typeof fleetHostDeclareResponseSchema>;
|
|
2196
|
+
export type FleetHostRemoveRequest = z.infer<typeof fleetHostRemoveRequestSchema>;
|
|
2197
|
+
export type FleetHostRemoveResponse = z.infer<typeof fleetHostRemoveResponseSchema>;
|
|
1893
2198
|
/** Peer orchestrator reported by coordinator in diagnostics. */
|
|
1894
2199
|
declare const diagnosticsPeerSchema: z.ZodObject<{
|
|
1895
2200
|
instanceId: z.ZodString;
|
|
@@ -2337,9 +2642,9 @@ export declare const backendItemSchema: z.ZodObject<{
|
|
|
2337
2642
|
enabled: z.ZodBoolean;
|
|
2338
2643
|
healthStatus: z.ZodEnum<{
|
|
2339
2644
|
unknown: "unknown";
|
|
2645
|
+
unreachable: "unreachable";
|
|
2340
2646
|
healthy: "healthy";
|
|
2341
2647
|
degraded: "degraded";
|
|
2342
|
-
unreachable: "unreachable";
|
|
2343
2648
|
}>;
|
|
2344
2649
|
scopeCount: z.ZodNumber;
|
|
2345
2650
|
lastSyncAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2364,9 +2669,9 @@ export declare const backendsListResponseSchema: z.ZodObject<{
|
|
|
2364
2669
|
enabled: z.ZodBoolean;
|
|
2365
2670
|
healthStatus: z.ZodEnum<{
|
|
2366
2671
|
unknown: "unknown";
|
|
2672
|
+
unreachable: "unreachable";
|
|
2367
2673
|
healthy: "healthy";
|
|
2368
2674
|
degraded: "degraded";
|
|
2369
|
-
unreachable: "unreachable";
|
|
2370
2675
|
}>;
|
|
2371
2676
|
scopeCount: z.ZodNumber;
|
|
2372
2677
|
lastSyncAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2418,9 +2723,9 @@ export declare const backendGetResponseSchema: z.ZodObject<{
|
|
|
2418
2723
|
enabled: z.ZodBoolean;
|
|
2419
2724
|
healthStatus: z.ZodEnum<{
|
|
2420
2725
|
unknown: "unknown";
|
|
2726
|
+
unreachable: "unreachable";
|
|
2421
2727
|
healthy: "healthy";
|
|
2422
2728
|
degraded: "degraded";
|
|
2423
|
-
unreachable: "unreachable";
|
|
2424
2729
|
}>;
|
|
2425
2730
|
scopeCount: z.ZodNumber;
|
|
2426
2731
|
lastSyncAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2615,6 +2920,32 @@ export declare const testRelayTriggerRequestSchema: z.ZodObject<{
|
|
|
2615
2920
|
cliPublicKey: z.ZodOptional<z.ZodString>;
|
|
2616
2921
|
inlineLockFile: z.ZodOptional<z.ZodString>;
|
|
2617
2922
|
fullRepo: z.ZodOptional<z.ZodBoolean>;
|
|
2923
|
+
checkMode: z.ZodOptional<z.ZodEnum<{
|
|
2924
|
+
apply: "apply";
|
|
2925
|
+
check: "check";
|
|
2926
|
+
"check-fail-on-drift": "check-fail-on-drift";
|
|
2927
|
+
}>>;
|
|
2928
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
2929
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2930
|
+
include: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2931
|
+
kind: z.ZodLiteral<"exact">;
|
|
2932
|
+
value: z.ZodString;
|
|
2933
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2934
|
+
kind: z.ZodLiteral<"regex">;
|
|
2935
|
+
source: z.ZodString;
|
|
2936
|
+
flags: z.ZodString;
|
|
2937
|
+
}, z.core.$strip>], "kind">>;
|
|
2938
|
+
exclude: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2939
|
+
kind: z.ZodLiteral<"exact">;
|
|
2940
|
+
value: z.ZodString;
|
|
2941
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2942
|
+
kind: z.ZodLiteral<"regex">;
|
|
2943
|
+
source: z.ZodString;
|
|
2944
|
+
flags: z.ZodString;
|
|
2945
|
+
}, z.core.$strip>], "kind">>;
|
|
2946
|
+
}, z.core.$strip>>;
|
|
2947
|
+
allowEmpty: z.ZodBoolean;
|
|
2948
|
+
}, z.core.$strip>>;
|
|
2618
2949
|
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2619
2950
|
encryptedSecrets: z.ZodOptional<z.ZodString>;
|
|
2620
2951
|
encryptedSecretsKey: z.ZodOptional<z.ZodString>;
|
|
@@ -3601,6 +3932,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
3601
3932
|
component: z.ZodString;
|
|
3602
3933
|
}, z.core.$strip>], "type">;
|
|
3603
3934
|
heldRunId: z.ZodString;
|
|
3935
|
+
autoApprove: z.ZodOptional<z.ZodBoolean>;
|
|
3604
3936
|
}, z.core.$strip>, z.ZodObject<{
|
|
3605
3937
|
type: z.ZodLiteral<"dashboard.held-runs.reject">;
|
|
3606
3938
|
requestId: z.ZodString;
|
|
@@ -3720,6 +4052,123 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
3720
4052
|
component: z.ZodString;
|
|
3721
4053
|
}, z.core.$strip>], "type">;
|
|
3722
4054
|
includeAgents: z.ZodOptional<z.ZodBoolean>;
|
|
4055
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4056
|
+
type: z.ZodLiteral<"dashboard.fleet.hosts">;
|
|
4057
|
+
requestId: z.ZodString;
|
|
4058
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4059
|
+
type: z.ZodLiteral<"user">;
|
|
4060
|
+
sub: z.ZodString;
|
|
4061
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4062
|
+
type: z.ZodLiteral<"api_key">;
|
|
4063
|
+
keyId: z.ZodString;
|
|
4064
|
+
ownerSub: z.ZodString;
|
|
4065
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4066
|
+
type: z.ZodLiteral<"service_account">;
|
|
4067
|
+
id: z.ZodString;
|
|
4068
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4069
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
4070
|
+
sub: z.ZodString;
|
|
4071
|
+
reason: z.ZodString;
|
|
4072
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4073
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4074
|
+
type: z.ZodLiteral<"system">;
|
|
4075
|
+
component: z.ZodString;
|
|
4076
|
+
}, z.core.$strip>], "type">;
|
|
4077
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4078
|
+
type: z.ZodLiteral<"dashboard.fleet.host">;
|
|
4079
|
+
requestId: z.ZodString;
|
|
4080
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4081
|
+
type: z.ZodLiteral<"user">;
|
|
4082
|
+
sub: z.ZodString;
|
|
4083
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4084
|
+
type: z.ZodLiteral<"api_key">;
|
|
4085
|
+
keyId: z.ZodString;
|
|
4086
|
+
ownerSub: z.ZodString;
|
|
4087
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4088
|
+
type: z.ZodLiteral<"service_account">;
|
|
4089
|
+
id: z.ZodString;
|
|
4090
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4091
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
4092
|
+
sub: z.ZodString;
|
|
4093
|
+
reason: z.ZodString;
|
|
4094
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4095
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4096
|
+
type: z.ZodLiteral<"system">;
|
|
4097
|
+
component: z.ZodString;
|
|
4098
|
+
}, z.core.$strip>], "type">;
|
|
4099
|
+
agentId: z.ZodString;
|
|
4100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4101
|
+
type: z.ZodLiteral<"dashboard.fleet.preview">;
|
|
4102
|
+
requestId: z.ZodString;
|
|
4103
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4104
|
+
type: z.ZodLiteral<"user">;
|
|
4105
|
+
sub: z.ZodString;
|
|
4106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4107
|
+
type: z.ZodLiteral<"api_key">;
|
|
4108
|
+
keyId: z.ZodString;
|
|
4109
|
+
ownerSub: z.ZodString;
|
|
4110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4111
|
+
type: z.ZodLiteral<"service_account">;
|
|
4112
|
+
id: z.ZodString;
|
|
4113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4114
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
4115
|
+
sub: z.ZodString;
|
|
4116
|
+
reason: z.ZodString;
|
|
4117
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4118
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4119
|
+
type: z.ZodLiteral<"system">;
|
|
4120
|
+
component: z.ZodString;
|
|
4121
|
+
}, z.core.$strip>], "type">;
|
|
4122
|
+
workflowName: z.ZodString;
|
|
4123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4124
|
+
type: z.ZodLiteral<"dashboard.fleet.host.declare">;
|
|
4125
|
+
requestId: z.ZodString;
|
|
4126
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4127
|
+
type: z.ZodLiteral<"user">;
|
|
4128
|
+
sub: z.ZodString;
|
|
4129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4130
|
+
type: z.ZodLiteral<"api_key">;
|
|
4131
|
+
keyId: z.ZodString;
|
|
4132
|
+
ownerSub: z.ZodString;
|
|
4133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4134
|
+
type: z.ZodLiteral<"service_account">;
|
|
4135
|
+
id: z.ZodString;
|
|
4136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4137
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
4138
|
+
sub: z.ZodString;
|
|
4139
|
+
reason: z.ZodString;
|
|
4140
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4141
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4142
|
+
type: z.ZodLiteral<"system">;
|
|
4143
|
+
component: z.ZodString;
|
|
4144
|
+
}, z.core.$strip>], "type">;
|
|
4145
|
+
agentId: z.ZodString;
|
|
4146
|
+
labels: z.ZodArray<z.ZodString>;
|
|
4147
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
4148
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4150
|
+
type: z.ZodLiteral<"dashboard.fleet.host.remove">;
|
|
4151
|
+
requestId: z.ZodString;
|
|
4152
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4153
|
+
type: z.ZodLiteral<"user">;
|
|
4154
|
+
sub: z.ZodString;
|
|
4155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4156
|
+
type: z.ZodLiteral<"api_key">;
|
|
4157
|
+
keyId: z.ZodString;
|
|
4158
|
+
ownerSub: z.ZodString;
|
|
4159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4160
|
+
type: z.ZodLiteral<"service_account">;
|
|
4161
|
+
id: z.ZodString;
|
|
4162
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4163
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
4164
|
+
sub: z.ZodString;
|
|
4165
|
+
reason: z.ZodString;
|
|
4166
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4168
|
+
type: z.ZodLiteral<"system">;
|
|
4169
|
+
component: z.ZodString;
|
|
4170
|
+
}, z.core.$strip>], "type">;
|
|
4171
|
+
agentId: z.ZodString;
|
|
3723
4172
|
}, z.core.$strip>, z.ZodObject<{
|
|
3724
4173
|
type: z.ZodLiteral<"dashboard.scaler.capacity">;
|
|
3725
4174
|
requestId: z.ZodString;
|
|
@@ -4156,6 +4605,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4156
4605
|
"registration.disable": "registration.disable";
|
|
4157
4606
|
"registration.delete": "registration.delete";
|
|
4158
4607
|
"global_workflows.update": "global_workflows.update";
|
|
4608
|
+
"fleet.host.declare": "fleet.host.declare";
|
|
4609
|
+
"fleet.host.remove": "fleet.host.remove";
|
|
4159
4610
|
"run.detail.read": "run.detail.read";
|
|
4160
4611
|
"runs.list.read": "runs.list.read";
|
|
4161
4612
|
"runs.filters.read": "runs.filters.read";
|
|
@@ -4195,6 +4646,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4195
4646
|
"environment.history.read": "environment.history.read";
|
|
4196
4647
|
"held_run.list.read": "held_run.list.read";
|
|
4197
4648
|
"held_run.approve": "held_run.approve";
|
|
4649
|
+
"held_run.auto_approve": "held_run.auto_approve";
|
|
4198
4650
|
"held_run.reject": "held_run.reject";
|
|
4199
4651
|
"held_run.request": "held_run.request";
|
|
4200
4652
|
"held_run.expire": "held_run.expire";
|
|
@@ -4202,6 +4654,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4202
4654
|
"diagnostics.read": "diagnostics.read";
|
|
4203
4655
|
"scaler.capacity.read": "scaler.capacity.read";
|
|
4204
4656
|
"scaler.agents.read": "scaler.agents.read";
|
|
4657
|
+
"fleet.read": "fleet.read";
|
|
4205
4658
|
"backend.list.read": "backend.list.read";
|
|
4206
4659
|
"backend.get.read": "backend.get.read";
|
|
4207
4660
|
"backend.sync": "backend.sync";
|
|
@@ -4238,6 +4691,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4238
4691
|
backend: "backend";
|
|
4239
4692
|
diagnostics: "diagnostics";
|
|
4240
4693
|
scaler: "scaler";
|
|
4694
|
+
fleet: "fleet";
|
|
4241
4695
|
held_run: "held_run";
|
|
4242
4696
|
access_log: "access_log";
|
|
4243
4697
|
event_dlq: "event_dlq";
|
|
@@ -4313,6 +4767,32 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4313
4767
|
cliPublicKey: z.ZodOptional<z.ZodString>;
|
|
4314
4768
|
inlineLockFile: z.ZodOptional<z.ZodString>;
|
|
4315
4769
|
fullRepo: z.ZodOptional<z.ZodBoolean>;
|
|
4770
|
+
checkMode: z.ZodOptional<z.ZodEnum<{
|
|
4771
|
+
apply: "apply";
|
|
4772
|
+
check: "check";
|
|
4773
|
+
"check-fail-on-drift": "check-fail-on-drift";
|
|
4774
|
+
}>>;
|
|
4775
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
4776
|
+
values: z.ZodArray<z.ZodObject<{
|
|
4777
|
+
include: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4778
|
+
kind: z.ZodLiteral<"exact">;
|
|
4779
|
+
value: z.ZodString;
|
|
4780
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4781
|
+
kind: z.ZodLiteral<"regex">;
|
|
4782
|
+
source: z.ZodString;
|
|
4783
|
+
flags: z.ZodString;
|
|
4784
|
+
}, z.core.$strip>], "kind">>;
|
|
4785
|
+
exclude: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4786
|
+
kind: z.ZodLiteral<"exact">;
|
|
4787
|
+
value: z.ZodString;
|
|
4788
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4789
|
+
kind: z.ZodLiteral<"regex">;
|
|
4790
|
+
source: z.ZodString;
|
|
4791
|
+
flags: z.ZodString;
|
|
4792
|
+
}, z.core.$strip>], "kind">>;
|
|
4793
|
+
}, z.core.$strip>>;
|
|
4794
|
+
allowEmpty: z.ZodBoolean;
|
|
4795
|
+
}, z.core.$strip>>;
|
|
4316
4796
|
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4317
4797
|
encryptedSecrets: z.ZodOptional<z.ZodString>;
|
|
4318
4798
|
encryptedSecretsKey: z.ZodOptional<z.ZodString>;
|
|
@@ -4429,10 +4909,19 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4429
4909
|
}, z.core.$strip>>;
|
|
4430
4910
|
needs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4431
4911
|
upstreamName: z.ZodString;
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4912
|
+
runOn: z.ZodArray<z.ZodEnum<{
|
|
4913
|
+
skipped: "skipped";
|
|
4914
|
+
success: "success";
|
|
4915
|
+
pending: "pending";
|
|
4916
|
+
running: "running";
|
|
4917
|
+
failed: "failed";
|
|
4918
|
+
cancelled: "cancelled";
|
|
4919
|
+
cancelling: "cancelling";
|
|
4920
|
+
queued: "queued";
|
|
4921
|
+
recovering: "recovering";
|
|
4922
|
+
timed_out_stale: "timed_out_stale";
|
|
4923
|
+
drift_dropped: "drift_dropped";
|
|
4924
|
+
}>>;
|
|
4436
4925
|
}, z.core.$strip>>>>;
|
|
4437
4926
|
steps: z.ZodArray<z.ZodObject<{
|
|
4438
4927
|
stepIndex: z.ZodNumber;
|
|
@@ -4445,6 +4934,14 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4445
4934
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
4446
4935
|
stepType: z.ZodOptional<z.ZodString>;
|
|
4447
4936
|
secretsAccessed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
4937
|
+
checkOutcome: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4938
|
+
skipped: "skipped";
|
|
4939
|
+
applied: "applied";
|
|
4940
|
+
declined: "declined";
|
|
4941
|
+
"dry-run": "dry-run";
|
|
4942
|
+
no_check: "no_check";
|
|
4943
|
+
}>>>;
|
|
4944
|
+
driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4448
4945
|
}, z.core.$strip>>;
|
|
4449
4946
|
}, z.core.$strip>>;
|
|
4450
4947
|
trustContext: z.ZodOptional<z.ZodObject<{
|
|
@@ -4799,6 +5296,10 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4799
5296
|
}, z.core.$strict>]>>;
|
|
4800
5297
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4801
5298
|
}, z.core.$strip>>>;
|
|
5299
|
+
payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5300
|
+
summaryMarkdown: z.ZodString;
|
|
5301
|
+
drift: z.ZodUnknown;
|
|
5302
|
+
}, z.core.$strip>>>;
|
|
4802
5303
|
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4803
5304
|
approverUserId: z.ZodString;
|
|
4804
5305
|
decision: z.ZodEnum<{
|
|
@@ -4989,6 +5490,98 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4989
5490
|
raftLeaderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4990
5491
|
}, z.core.$strip>>>;
|
|
4991
5492
|
error: z.ZodOptional<z.ZodString>;
|
|
5493
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5494
|
+
type: z.ZodLiteral<"dashboard.fleet.hosts.response">;
|
|
5495
|
+
requestId: z.ZodString;
|
|
5496
|
+
hosts: z.ZodArray<z.ZodObject<{
|
|
5497
|
+
agentId: z.ZodString;
|
|
5498
|
+
labels: z.ZodArray<z.ZodString>;
|
|
5499
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5500
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
5501
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
5502
|
+
arch: z.ZodNullable<z.ZodString>;
|
|
5503
|
+
lifecycleClass: z.ZodEnum<{
|
|
5504
|
+
static: "static";
|
|
5505
|
+
ephemeral: "ephemeral";
|
|
5506
|
+
}>;
|
|
5507
|
+
status: z.ZodEnum<{
|
|
5508
|
+
ready: "ready";
|
|
5509
|
+
unreachable: "unreachable";
|
|
5510
|
+
stale: "stale";
|
|
5511
|
+
}>;
|
|
5512
|
+
lastSeen: z.ZodString;
|
|
5513
|
+
}, z.core.$strip>>;
|
|
5514
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5515
|
+
type: z.ZodLiteral<"dashboard.fleet.host.response">;
|
|
5516
|
+
requestId: z.ZodString;
|
|
5517
|
+
host: z.ZodNullable<z.ZodObject<{
|
|
5518
|
+
agentId: z.ZodString;
|
|
5519
|
+
labels: z.ZodArray<z.ZodString>;
|
|
5520
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5521
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
5522
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
5523
|
+
arch: z.ZodNullable<z.ZodString>;
|
|
5524
|
+
lifecycleClass: z.ZodEnum<{
|
|
5525
|
+
static: "static";
|
|
5526
|
+
ephemeral: "ephemeral";
|
|
5527
|
+
}>;
|
|
5528
|
+
status: z.ZodEnum<{
|
|
5529
|
+
ready: "ready";
|
|
5530
|
+
unreachable: "unreachable";
|
|
5531
|
+
stale: "stale";
|
|
5532
|
+
}>;
|
|
5533
|
+
lastSeen: z.ZodString;
|
|
5534
|
+
}, z.core.$strip>>;
|
|
5535
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
5536
|
+
runId: z.ZodString;
|
|
5537
|
+
workflowName: z.ZodNullable<z.ZodString>;
|
|
5538
|
+
status: z.ZodString;
|
|
5539
|
+
createdAt: z.ZodString;
|
|
5540
|
+
}, z.core.$strip>>;
|
|
5541
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5542
|
+
type: z.ZodLiteral<"dashboard.fleet.preview.response">;
|
|
5543
|
+
requestId: z.ZodString;
|
|
5544
|
+
matched: z.ZodArray<z.ZodObject<{
|
|
5545
|
+
entry: z.ZodObject<{
|
|
5546
|
+
agentId: z.ZodString;
|
|
5547
|
+
labels: z.ZodArray<z.ZodString>;
|
|
5548
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5549
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
5550
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
5551
|
+
arch: z.ZodNullable<z.ZodString>;
|
|
5552
|
+
lifecycleClass: z.ZodEnum<{
|
|
5553
|
+
static: "static";
|
|
5554
|
+
ephemeral: "ephemeral";
|
|
5555
|
+
}>;
|
|
5556
|
+
status: z.ZodEnum<{
|
|
5557
|
+
ready: "ready";
|
|
5558
|
+
unreachable: "unreachable";
|
|
5559
|
+
stale: "stale";
|
|
5560
|
+
}>;
|
|
5561
|
+
lastSeen: z.ZodString;
|
|
5562
|
+
}, z.core.$strip>;
|
|
5563
|
+
disposition: z.ZodEnum<{
|
|
5564
|
+
target: "target";
|
|
5565
|
+
"unreachable-durable": "unreachable-durable";
|
|
5566
|
+
"skipped-ephemeral": "skipped-ephemeral";
|
|
5567
|
+
}>;
|
|
5568
|
+
}, z.core.$strip>>;
|
|
5569
|
+
onUnreachable: z.ZodEnum<{
|
|
5570
|
+
skip: "skip";
|
|
5571
|
+
fail: "fail";
|
|
5572
|
+
hold: "hold";
|
|
5573
|
+
}>;
|
|
5574
|
+
estimatedChildCount: z.ZodNumber;
|
|
5575
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5576
|
+
type: z.ZodLiteral<"dashboard.fleet.host.declare.response">;
|
|
5577
|
+
requestId: z.ZodString;
|
|
5578
|
+
declared: z.ZodOptional<z.ZodBoolean>;
|
|
5579
|
+
error: z.ZodOptional<z.ZodString>;
|
|
5580
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5581
|
+
type: z.ZodLiteral<"dashboard.fleet.host.remove.response">;
|
|
5582
|
+
requestId: z.ZodString;
|
|
5583
|
+
removed: z.ZodOptional<z.ZodBoolean>;
|
|
5584
|
+
error: z.ZodOptional<z.ZodString>;
|
|
4992
5585
|
}, z.core.$strip>, z.ZodObject<{
|
|
4993
5586
|
type: z.ZodLiteral<"dashboard.scaler.capacity.response">;
|
|
4994
5587
|
requestId: z.ZodString;
|
|
@@ -5043,9 +5636,9 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
5043
5636
|
enabled: z.ZodBoolean;
|
|
5044
5637
|
healthStatus: z.ZodEnum<{
|
|
5045
5638
|
unknown: "unknown";
|
|
5639
|
+
unreachable: "unreachable";
|
|
5046
5640
|
healthy: "healthy";
|
|
5047
5641
|
degraded: "degraded";
|
|
5048
|
-
unreachable: "unreachable";
|
|
5049
5642
|
}>;
|
|
5050
5643
|
scopeCount: z.ZodNumber;
|
|
5051
5644
|
lastSyncAt: z.ZodNullable<z.ZodString>;
|
|
@@ -5070,9 +5663,9 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
5070
5663
|
enabled: z.ZodBoolean;
|
|
5071
5664
|
healthStatus: z.ZodEnum<{
|
|
5072
5665
|
unknown: "unknown";
|
|
5666
|
+
unreachable: "unreachable";
|
|
5073
5667
|
healthy: "healthy";
|
|
5074
5668
|
degraded: "degraded";
|
|
5075
|
-
unreachable: "unreachable";
|
|
5076
5669
|
}>;
|
|
5077
5670
|
scopeCount: z.ZodNumber;
|
|
5078
5671
|
lastSyncAt: z.ZodNullable<z.ZodString>;
|
|
@@ -5290,6 +5883,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
5290
5883
|
"registration.disable": "registration.disable";
|
|
5291
5884
|
"registration.delete": "registration.delete";
|
|
5292
5885
|
"global_workflows.update": "global_workflows.update";
|
|
5886
|
+
"fleet.host.declare": "fleet.host.declare";
|
|
5887
|
+
"fleet.host.remove": "fleet.host.remove";
|
|
5293
5888
|
"run.detail.read": "run.detail.read";
|
|
5294
5889
|
"runs.list.read": "runs.list.read";
|
|
5295
5890
|
"runs.filters.read": "runs.filters.read";
|
|
@@ -5329,6 +5924,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
5329
5924
|
"environment.history.read": "environment.history.read";
|
|
5330
5925
|
"held_run.list.read": "held_run.list.read";
|
|
5331
5926
|
"held_run.approve": "held_run.approve";
|
|
5927
|
+
"held_run.auto_approve": "held_run.auto_approve";
|
|
5332
5928
|
"held_run.reject": "held_run.reject";
|
|
5333
5929
|
"held_run.request": "held_run.request";
|
|
5334
5930
|
"held_run.expire": "held_run.expire";
|
|
@@ -5336,6 +5932,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
5336
5932
|
"diagnostics.read": "diagnostics.read";
|
|
5337
5933
|
"scaler.capacity.read": "scaler.capacity.read";
|
|
5338
5934
|
"scaler.agents.read": "scaler.agents.read";
|
|
5935
|
+
"fleet.read": "fleet.read";
|
|
5339
5936
|
"backend.list.read": "backend.list.read";
|
|
5340
5937
|
"backend.get.read": "backend.get.read";
|
|
5341
5938
|
"backend.sync": "backend.sync";
|
|
@@ -5362,6 +5959,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
5362
5959
|
backend: "backend";
|
|
5363
5960
|
diagnostics: "diagnostics";
|
|
5364
5961
|
scaler: "scaler";
|
|
5962
|
+
fleet: "fleet";
|
|
5365
5963
|
held_run: "held_run";
|
|
5366
5964
|
access_log: "access_log";
|
|
5367
5965
|
event_dlq: "event_dlq";
|
|
@@ -5536,10 +6134,19 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
|
|
|
5536
6134
|
}, z.core.$strip>>;
|
|
5537
6135
|
needs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
5538
6136
|
upstreamName: z.ZodString;
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
6137
|
+
runOn: z.ZodArray<z.ZodEnum<{
|
|
6138
|
+
skipped: "skipped";
|
|
6139
|
+
success: "success";
|
|
6140
|
+
pending: "pending";
|
|
6141
|
+
running: "running";
|
|
6142
|
+
failed: "failed";
|
|
6143
|
+
cancelled: "cancelled";
|
|
6144
|
+
cancelling: "cancelling";
|
|
6145
|
+
queued: "queued";
|
|
6146
|
+
recovering: "recovering";
|
|
6147
|
+
timed_out_stale: "timed_out_stale";
|
|
6148
|
+
drift_dropped: "drift_dropped";
|
|
6149
|
+
}>>;
|
|
5543
6150
|
}, z.core.$strip>>>>;
|
|
5544
6151
|
steps: z.ZodArray<z.ZodObject<{
|
|
5545
6152
|
stepIndex: z.ZodNumber;
|
|
@@ -5552,6 +6159,14 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
|
|
|
5552
6159
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
5553
6160
|
stepType: z.ZodOptional<z.ZodString>;
|
|
5554
6161
|
secretsAccessed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6162
|
+
checkOutcome: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6163
|
+
skipped: "skipped";
|
|
6164
|
+
applied: "applied";
|
|
6165
|
+
declined: "declined";
|
|
6166
|
+
"dry-run": "dry-run";
|
|
6167
|
+
no_check: "no_check";
|
|
6168
|
+
}>>>;
|
|
6169
|
+
driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5555
6170
|
}, z.core.$strip>>;
|
|
5556
6171
|
}, z.core.$strip>>;
|
|
5557
6172
|
trustContext: z.ZodOptional<z.ZodObject<{
|
|
@@ -5566,6 +6181,11 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
|
|
|
5566
6181
|
}>>;
|
|
5567
6182
|
contributorUsername: z.ZodNullable<z.ZodString>;
|
|
5568
6183
|
}, z.core.$strip>>;
|
|
6184
|
+
checkMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6185
|
+
apply: "apply";
|
|
6186
|
+
check: "check";
|
|
6187
|
+
"check-fail-on-drift": "check-fail-on-drift";
|
|
6188
|
+
}>>>;
|
|
5569
6189
|
initFailure: z.ZodOptional<z.ZodObject<{
|
|
5570
6190
|
scope: z.ZodEnum<{
|
|
5571
6191
|
run: "run";
|
|
@@ -5761,6 +6381,20 @@ declare const diagnosticsInfraOrchestratorSchema: z.ZodObject<{
|
|
|
5761
6381
|
raftTerm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5762
6382
|
raftLeaderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5763
6383
|
scalerBackends: z.ZodArray<z.ZodString>;
|
|
6384
|
+
deployment: z.ZodObject<{
|
|
6385
|
+
mode: z.ZodEnum<{
|
|
6386
|
+
unknown: "unknown";
|
|
6387
|
+
systemd: "systemd";
|
|
6388
|
+
launchd: "launchd";
|
|
6389
|
+
windows: "windows";
|
|
6390
|
+
compose: "compose";
|
|
6391
|
+
}>;
|
|
6392
|
+
containerName: z.ZodNullable<z.ZodString>;
|
|
6393
|
+
containerRuntime: z.ZodNullable<z.ZodEnum<{
|
|
6394
|
+
podman: "podman";
|
|
6395
|
+
docker: "docker";
|
|
6396
|
+
}>>;
|
|
6397
|
+
}, z.core.$strip>;
|
|
5764
6398
|
s3LogAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5765
6399
|
agentCount: z.ZodNumber;
|
|
5766
6400
|
runningJobs: z.ZodNumber;
|
|
@@ -5839,6 +6473,20 @@ export declare const diagnosticsInfrastructureResponseSchema: z.ZodObject<{
|
|
|
5839
6473
|
raftTerm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5840
6474
|
raftLeaderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5841
6475
|
scalerBackends: z.ZodArray<z.ZodString>;
|
|
6476
|
+
deployment: z.ZodObject<{
|
|
6477
|
+
mode: z.ZodEnum<{
|
|
6478
|
+
unknown: "unknown";
|
|
6479
|
+
systemd: "systemd";
|
|
6480
|
+
launchd: "launchd";
|
|
6481
|
+
windows: "windows";
|
|
6482
|
+
compose: "compose";
|
|
6483
|
+
}>;
|
|
6484
|
+
containerName: z.ZodNullable<z.ZodString>;
|
|
6485
|
+
containerRuntime: z.ZodNullable<z.ZodEnum<{
|
|
6486
|
+
podman: "podman";
|
|
6487
|
+
docker: "docker";
|
|
6488
|
+
}>>;
|
|
6489
|
+
}, z.core.$strip>;
|
|
5842
6490
|
s3LogAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5843
6491
|
agentCount: z.ZodNumber;
|
|
5844
6492
|
runningJobs: z.ZodNumber;
|