@whittlelabs/sifter 0.38.0 → 0.38.1
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/bin.js +2 -13
- package/bin.js.map +2 -2
- package/package.json +1 -1
package/bin.js
CHANGED
|
@@ -12732,7 +12732,7 @@ var require_client = __commonJS({
|
|
|
12732
12732
|
ttlSeconds: request.ttlSeconds
|
|
12733
12733
|
});
|
|
12734
12734
|
}
|
|
12735
|
-
// ──
|
|
12735
|
+
// ── Hosted Sifter ───────────────────────────────────────────────
|
|
12736
12736
|
/**
|
|
12737
12737
|
* Reveal a person's model-provider key for one hosted dispatch, with the
|
|
12738
12738
|
* provider it is for (ADR-0127). Service-token only; requires
|
|
@@ -12745,17 +12745,6 @@ var require_client = __commonJS({
|
|
|
12745
12745
|
async revealModelCredential(userId, options = {}) {
|
|
12746
12746
|
return this.request("POST", `/api/users/${encodeURIComponent(userId)}/model-credential`, options.provider ? { provider: options.provider } : {});
|
|
12747
12747
|
}
|
|
12748
|
-
/**
|
|
12749
|
-
* Read a user's hosted-Sifter opt-in status. Returns `{enabled:
|
|
12750
|
-
* false}` for users who never opted in (no row) and users who
|
|
12751
|
-
* opted in then disabled. Service-to-service only; requires the
|
|
12752
|
-
* `keep:managed-sifter-enrollments:read` scope, which is distinct
|
|
12753
|
-
* from `keep:managed-sifter-key-material:read` so a service identity
|
|
12754
|
-
* can hold one without the other.
|
|
12755
|
-
*/
|
|
12756
|
-
async getManagedSifterStatus(userId) {
|
|
12757
|
-
return this.request("GET", `/api/users/${encodeURIComponent(userId)}/managed-sifter-status`);
|
|
12758
|
-
}
|
|
12759
12748
|
// ── GitHub OAuth token ──────────────────────────────────────────
|
|
12760
12749
|
/**
|
|
12761
12750
|
* Reveal a user's decrypted GitHub OAuth token for a service-to-service
|
|
@@ -29414,7 +29403,7 @@ var import_path = require("path");
|
|
|
29414
29403
|
var import_promises = require("fs/promises");
|
|
29415
29404
|
var import_yaml = __toESM(require_dist3());
|
|
29416
29405
|
var import_shuttle = __toESM(require_dist5());
|
|
29417
|
-
var buildVersion = true ? "0.38.
|
|
29406
|
+
var buildVersion = true ? "0.38.1" : pkg.version;
|
|
29418
29407
|
var AGENT_EXECUTORS = ["claude-code", "codex", "copilot"];
|
|
29419
29408
|
var sifterBrand = {
|
|
29420
29409
|
product: {
|