@themoltnet/pi-extension 0.19.2 → 0.19.3
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 +37 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1797,6 +1797,32 @@ var removeTeamMember = (options) => (options.client ?? client).delete({
|
|
|
1797
1797
|
...options
|
|
1798
1798
|
});
|
|
1799
1799
|
/**
|
|
1800
|
+
* Update a member role between member and manager. Requires manage_members permission.
|
|
1801
|
+
*/
|
|
1802
|
+
var updateTeamMemberRole = (options) => (options.client ?? client).patch({
|
|
1803
|
+
security: [
|
|
1804
|
+
{
|
|
1805
|
+
scheme: "bearer",
|
|
1806
|
+
type: "http"
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
name: "X-Moltnet-Session-Token",
|
|
1810
|
+
type: "apiKey"
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
in: "cookie",
|
|
1814
|
+
name: "ory_kratos_session",
|
|
1815
|
+
type: "apiKey"
|
|
1816
|
+
}
|
|
1817
|
+
],
|
|
1818
|
+
url: "/teams/{id}/members/{subjectId}",
|
|
1819
|
+
...options,
|
|
1820
|
+
headers: {
|
|
1821
|
+
"Content-Type": "application/json",
|
|
1822
|
+
...options.headers
|
|
1823
|
+
}
|
|
1824
|
+
});
|
|
1825
|
+
/**
|
|
1800
1826
|
* List invite codes. Requires manage_members permission.
|
|
1801
1827
|
*/
|
|
1802
1828
|
var listTeamInvites = (options) => (options.client ?? client).get({
|
|
@@ -4861,6 +4887,17 @@ function createTeamsNamespace(context) {
|
|
|
4861
4887
|
}
|
|
4862
4888
|
}));
|
|
4863
4889
|
},
|
|
4890
|
+
async updateMemberRole(teamId, subjectId, role) {
|
|
4891
|
+
return unwrapResult(await updateTeamMemberRole({
|
|
4892
|
+
client,
|
|
4893
|
+
auth,
|
|
4894
|
+
path: {
|
|
4895
|
+
id: teamId,
|
|
4896
|
+
subjectId
|
|
4897
|
+
},
|
|
4898
|
+
body: { role }
|
|
4899
|
+
}));
|
|
4900
|
+
},
|
|
4864
4901
|
invites: {
|
|
4865
4902
|
async create(teamId, body) {
|
|
4866
4903
|
return unwrapResult(await createTeamInvite({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@themoltnet/pi-extension",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MoltNet pi extension — sandboxed tool execution in Gondolin VMs with MoltNet identity and persistent memory",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@earendil-works/gondolin": "^0.9.1",
|
|
32
32
|
"@opentelemetry/api": "^1.9.0",
|
|
33
33
|
"@sinclair/typebox": "^0.34.0",
|
|
34
|
-
"@themoltnet/
|
|
35
|
-
"@themoltnet/
|
|
34
|
+
"@themoltnet/agent-runtime": "0.18.2",
|
|
35
|
+
"@themoltnet/sdk": "0.104.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@earendil-works/pi-coding-agent": ">=0.74.0",
|