@whittlelabs/sifter 0.42.4 → 0.42.5
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 +13 -13
- package/bin.js.map +2 -2
- package/package.json +1 -1
package/bin.js
CHANGED
|
@@ -58705,41 +58705,41 @@ var require_client = __commonJS({
|
|
|
58705
58705
|
}
|
|
58706
58706
|
// ── Organizations ───────────────────────────────────────────────
|
|
58707
58707
|
async listOrganizations() {
|
|
58708
|
-
const { organizations } = await this.request("GET", "/api/
|
|
58708
|
+
const { organizations } = await this.request("GET", "/api/orgs");
|
|
58709
58709
|
return organizations;
|
|
58710
58710
|
}
|
|
58711
58711
|
async getOrganization(orgId) {
|
|
58712
|
-
return this.request("GET", `/api/
|
|
58712
|
+
return this.request("GET", `/api/orgs/${orgId}`);
|
|
58713
58713
|
}
|
|
58714
58714
|
async createOrganization(name2, description) {
|
|
58715
|
-
return this.request("POST", "/api/
|
|
58715
|
+
return this.request("POST", "/api/orgs", { name: name2, description });
|
|
58716
58716
|
}
|
|
58717
58717
|
async updateOrganization(orgId, updates) {
|
|
58718
|
-
return this.request("PATCH", `/api/
|
|
58718
|
+
return this.request("PATCH", `/api/orgs/${orgId}`, updates);
|
|
58719
58719
|
}
|
|
58720
58720
|
async deleteOrganization(orgId) {
|
|
58721
|
-
await this.request("DELETE", `/api/
|
|
58721
|
+
await this.request("DELETE", `/api/orgs/${orgId}`);
|
|
58722
58722
|
}
|
|
58723
58723
|
async listMembers(orgId) {
|
|
58724
|
-
return this.request("GET", `/api/
|
|
58724
|
+
return this.request("GET", `/api/orgs/${orgId}/members`);
|
|
58725
58725
|
}
|
|
58726
58726
|
async removeMember(orgId, userId) {
|
|
58727
|
-
await this.request("DELETE", `/api/
|
|
58727
|
+
await this.request("DELETE", `/api/orgs/${orgId}/members/${userId}`);
|
|
58728
58728
|
}
|
|
58729
58729
|
async listTeams(orgId) {
|
|
58730
|
-
return this.request("GET", `/api/
|
|
58730
|
+
return this.request("GET", `/api/orgs/${orgId}/teams`);
|
|
58731
58731
|
}
|
|
58732
58732
|
async createTeam(orgId, name2, description) {
|
|
58733
|
-
return this.request("POST", `/api/
|
|
58733
|
+
return this.request("POST", `/api/orgs/${orgId}/teams`, { name: name2, description });
|
|
58734
58734
|
}
|
|
58735
58735
|
async listTeamMembers(orgId, teamId) {
|
|
58736
|
-
return this.request("GET", `/api/
|
|
58736
|
+
return this.request("GET", `/api/orgs/${orgId}/teams/${teamId}/members`);
|
|
58737
58737
|
}
|
|
58738
58738
|
async addTeamMember(orgId, teamId, userId) {
|
|
58739
|
-
return this.request("POST", `/api/
|
|
58739
|
+
return this.request("POST", `/api/orgs/${orgId}/teams/${teamId}/members`, { userId });
|
|
58740
58740
|
}
|
|
58741
58741
|
async createInvitation(orgId, email, roleGrants) {
|
|
58742
|
-
return this.request("POST", `/api/
|
|
58742
|
+
return this.request("POST", `/api/orgs/${orgId}/invitations`, { email, roleGrants });
|
|
58743
58743
|
}
|
|
58744
58744
|
async getInvitation(token) {
|
|
58745
58745
|
return this.request("GET", `/api/invitations/${token}`);
|
|
@@ -76002,7 +76002,7 @@ var import_path = require("path");
|
|
|
76002
76002
|
var import_promises = require("fs/promises");
|
|
76003
76003
|
var import_yaml = __toESM(require_dist5());
|
|
76004
76004
|
var import_shuttle = __toESM(require_dist8());
|
|
76005
|
-
var buildVersion = true ? "0.42.
|
|
76005
|
+
var buildVersion = true ? "0.42.5" : pkg.version;
|
|
76006
76006
|
var AGENT_EXECUTORS = ["claude-code", "codex", "copilot"];
|
|
76007
76007
|
var sifterBrand = {
|
|
76008
76008
|
product: {
|