@seekrit/cli 2.2.1 → 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 +17 -6
- package/package.json +5 -5
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`);
|
|
@@ -12901,7 +12912,7 @@ function collect$5(value, acc) {
|
|
|
12901
12912
|
* release-please-config.json), so the pin follows the crate without anyone
|
|
12902
12913
|
* remembering to move it.
|
|
12903
12914
|
*/
|
|
12904
|
-
const PROXY_VERSION = "0.
|
|
12915
|
+
const PROXY_VERSION = "0.15.0";
|
|
12905
12916
|
const BIN = "seekrit-proxy";
|
|
12906
12917
|
/**
|
|
12907
12918
|
* Host → Rust target triple.
|
|
@@ -12937,7 +12948,7 @@ function versionPrefix(version) {
|
|
|
12937
12948
|
return version.startsWith("v") ? version : `v${version}`;
|
|
12938
12949
|
}
|
|
12939
12950
|
function resolveVersion(explicit) {
|
|
12940
|
-
return explicit ?? process.env.SEEKRIT_PROXY_VERSION ?? "0.
|
|
12951
|
+
return explicit ?? process.env.SEEKRIT_PROXY_VERSION ?? "0.15.0";
|
|
12941
12952
|
}
|
|
12942
12953
|
function resolveBaseUrl(explicit) {
|
|
12943
12954
|
return (explicit ?? process.env.SEEKRIT_PROXY_BASE_URL ?? "https://proxy.seekrit.dev").replace(/\/+$/, "");
|
|
@@ -14920,10 +14931,10 @@ Next:
|
|
|
14920
14931
|
});
|
|
14921
14932
|
console.log(path);
|
|
14922
14933
|
const { target } = detectTarget();
|
|
14923
|
-
process.stderr.write(`seekrit-proxy ${versionPrefix(options.proxyVersion ?? "0.
|
|
14934
|
+
process.stderr.write(`seekrit-proxy ${versionPrefix(options.proxyVersion ?? "0.15.0")} (${target})\n`);
|
|
14924
14935
|
});
|
|
14925
14936
|
proxy.command("where").description("show which binary `seekrit proxy run` would use, without fetching it").option("--proxy-version <version>", `version to report (default: ${PROXY_VERSION})`).option("--json", "machine-readable output").action((options) => {
|
|
14926
|
-
const version = options.proxyVersion ?? process.env.SEEKRIT_PROXY_VERSION ?? "0.
|
|
14937
|
+
const version = options.proxyVersion ?? process.env.SEEKRIT_PROXY_VERSION ?? "0.15.0";
|
|
14927
14938
|
const override = process.env.SEEKRIT_PROXY_BIN;
|
|
14928
14939
|
const { target, exe } = detectTarget();
|
|
14929
14940
|
const path = override ?? proxyBinaryPath(version, target, exe);
|
|
@@ -14982,7 +14993,7 @@ Next:
|
|
|
14982
14993
|
process.stdout.write(renderComposeSnippet(plan, {
|
|
14983
14994
|
service: options.service,
|
|
14984
14995
|
workload: options.workload,
|
|
14985
|
-
image: options.image ?? `seekritdev/proxy:0.
|
|
14996
|
+
image: options.image ?? `seekritdev/proxy:0.15.0`,
|
|
14986
14997
|
publish: Boolean(options.publish)
|
|
14987
14998
|
}));
|
|
14988
14999
|
});
|
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,9 +43,9 @@
|
|
|
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
49
|
"@seekrit/api-client": "0.0.1",
|
|
50
50
|
"@seekrit/core": "0.0.1",
|
|
51
51
|
"@seekrit/crypto": "0.0.1"
|