@seekrit/cli 2.3.0 → 2.4.0
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/index.js +12 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -2158,6 +2158,7 @@ const AUDIT_ACTIONS = [
|
|
|
2158
2158
|
"org.member_added",
|
|
2159
2159
|
"org.member_role_changed",
|
|
2160
2160
|
"app.access_granted",
|
|
2161
|
+
"app.access_revoked",
|
|
2161
2162
|
"org.member_removed",
|
|
2162
2163
|
"org.member_invited",
|
|
2163
2164
|
"org.invite_revoked",
|
|
@@ -5783,7 +5784,7 @@ async function createAgentTaskToken() {
|
|
|
5783
5784
|
};
|
|
5784
5785
|
}
|
|
5785
5786
|
// package.json
|
|
5786
|
-
var version = "2.
|
|
5787
|
+
var version = "2.4.0";
|
|
5787
5788
|
// ../../packages/api-client/src/index.ts
|
|
5788
5789
|
/**
|
|
5789
5790
|
* The proposer's note travels as a header, not a body field: an unprotected
|
|
@@ -5919,6 +5920,9 @@ var SeekritClient = class {
|
|
|
5919
5920
|
listMembers(orgId) {
|
|
5920
5921
|
return this.request("GET", `/v1/orgs/${orgId}/members`);
|
|
5921
5922
|
}
|
|
5923
|
+
getMemberAccess(orgId) {
|
|
5924
|
+
return this.request("GET", `/v1/orgs/${orgId}/members/access`);
|
|
5925
|
+
}
|
|
5922
5926
|
updateMemberRole(orgId, userId, role) {
|
|
5923
5927
|
return this.request("PATCH", `/v1/orgs/${orgId}/members/${userId}`, { role });
|
|
5924
5928
|
}
|
|
@@ -5931,6 +5935,13 @@ var SeekritClient = class {
|
|
|
5931
5935
|
grants
|
|
5932
5936
|
});
|
|
5933
5937
|
}
|
|
5938
|
+
/**
|
|
5939
|
+
* Stop auto-granting this app's future environments to a member. Keys they
|
|
5940
|
+
* already hold stay; revoke those per environment with `revokeEnvKey`.
|
|
5941
|
+
*/
|
|
5942
|
+
revokeAppAccess(orgId, appId, userId) {
|
|
5943
|
+
return this.request("DELETE", `/v1/orgs/${orgId}/apps/${appId}/access/${userId}`);
|
|
5944
|
+
}
|
|
5934
5945
|
accessRecipients(orgId, target) {
|
|
5935
5946
|
const path = "appId" in target ? `apps/${target.appId}` : `groups/${target.groupId}`;
|
|
5936
5947
|
return this.request("GET", `/v1/orgs/${orgId}/${path}/access-recipients`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seekrit/cli",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.4.0",
|
|
4
|
+
"description": "CLI for seekrit (https://seekrit.dev), a zero-knowledge secrets manager and credential broker for AI agents — inject decrypted secrets into any command.",
|
|
5
5
|
"homepage": "https://seekrit.dev/docs/guides/cli",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"seekrit",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"zod": "^4.6.7"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@types/node": "^26.6.
|
|
47
|
-
"tsdown": "^0.23.
|
|
48
|
-
"vitest": "^5.0
|
|
46
|
+
"@types/node": "^26.6.6",
|
|
47
|
+
"tsdown": "^0.23.5",
|
|
48
|
+
"vitest": "^5.1.0",
|
|
49
|
+
"@seekrit/api-client": "0.0.1",
|
|
49
50
|
"@seekrit/core": "0.0.1",
|
|
50
|
-
"@seekrit/crypto": "0.0.1"
|
|
51
|
-
"@seekrit/api-client": "0.0.1"
|
|
51
|
+
"@seekrit/crypto": "0.0.1"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsdown",
|