@camstack/addon-agent-ui 1.2.193 → 1.2.194
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/addon.js +26 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -14790,6 +14790,14 @@ var KeychainAuditEntrySchema = object({
|
|
|
14790
14790
|
ref: string().nullable(),
|
|
14791
14791
|
detail: string().nullable()
|
|
14792
14792
|
});
|
|
14793
|
+
var KEYCHAIN_RESET_CONFIRMATION = "RESET KEYCHAIN";
|
|
14794
|
+
/**
|
|
14795
|
+
* Secrets the HUB itself holds (owner `system`) that no settings form shows:
|
|
14796
|
+
* `jwt-signing-key` — the session signing key (D797). It is always "in use",
|
|
14797
|
+
* never an orphan; it is generated on a fresh hub and replaced only through
|
|
14798
|
+
* {@link keychainAdminCapability.methods.setSystemSecret}.
|
|
14799
|
+
*/
|
|
14800
|
+
var SystemHeldSecretNameSchema = _enum(["jwt-signing-key"]);
|
|
14793
14801
|
method(object({}), KeychainStatusSchema, { auth: "admin" }), method(object({}), array(KeychainAdminSecretSchema).readonly(), { auth: "admin" }), method(object({ limit: number().int().min(1).max(500).optional() }), array(KeychainAuditEntrySchema).readonly(), { auth: "admin" }), method(object({ ref: string().min(1) }), object({
|
|
14794
14802
|
value: string(),
|
|
14795
14803
|
version: number().int()
|
|
@@ -14797,6 +14805,16 @@ method(object({}), KeychainStatusSchema, { auth: "admin" }), method(object({}),
|
|
|
14797
14805
|
kind: "mutation",
|
|
14798
14806
|
auth: "admin",
|
|
14799
14807
|
caller: "required"
|
|
14808
|
+
}), method(object({
|
|
14809
|
+
name: SystemHeldSecretNameSchema,
|
|
14810
|
+
value: string().min(16)
|
|
14811
|
+
}), object({
|
|
14812
|
+
ref: string(),
|
|
14813
|
+
version: number().int()
|
|
14814
|
+
}), {
|
|
14815
|
+
kind: "mutation",
|
|
14816
|
+
auth: "admin",
|
|
14817
|
+
caller: "required"
|
|
14800
14818
|
}), method(object({ refs: array(string().min(1)).max(1e3) }), object({
|
|
14801
14819
|
deleted: array(string()).readonly(),
|
|
14802
14820
|
kept: array(object({
|
|
@@ -14826,7 +14844,7 @@ method(object({}), KeychainStatusSchema, { auth: "admin" }), method(object({}),
|
|
|
14826
14844
|
kind: "mutation",
|
|
14827
14845
|
auth: "admin",
|
|
14828
14846
|
caller: "required"
|
|
14829
|
-
}), method(object({ confirm: literal(
|
|
14847
|
+
}), method(object({ confirm: literal(KEYCHAIN_RESET_CONFIRMATION) }), object({
|
|
14830
14848
|
archivedCollection: string().nullable(),
|
|
14831
14849
|
archived: number().int()
|
|
14832
14850
|
}), {
|
|
@@ -41102,6 +41120,12 @@ Object.freeze({
|
|
|
41102
41120
|
addonId: null,
|
|
41103
41121
|
access: "create"
|
|
41104
41122
|
},
|
|
41123
|
+
"keychainAdmin.setSystemSecret": {
|
|
41124
|
+
capName: "keychain-admin",
|
|
41125
|
+
capScope: "system",
|
|
41126
|
+
addonId: null,
|
|
41127
|
+
access: "create"
|
|
41128
|
+
},
|
|
41105
41129
|
"keychainAdmin.status": {
|
|
41106
41130
|
capName: "keychain-admin",
|
|
41107
41131
|
capScope: "system",
|
|
@@ -50961,7 +50985,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
50961
50985
|
capability: adminUiCapability,
|
|
50962
50986
|
provider: {
|
|
50963
50987
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
50964
|
-
getVersion: async () => ({ version: "1.2.
|
|
50988
|
+
getVersion: async () => ({ version: "1.2.194" })
|
|
50965
50989
|
}
|
|
50966
50990
|
}];
|
|
50967
50991
|
}
|