@themoltnet/pi-runtime 0.6.0 → 0.6.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/dist/index.js +40 -0
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1616,6 +1616,46 @@ function deepFreeze(value) {
|
|
|
1616
1616
|
deepFreeze(RUNTIME_PROFILE_CONTEXT_CATALOGUE);
|
|
1617
1617
|
Object.freeze(Object.keys(RUNTIME_PROFILE_CONTEXT_CATALOGUE.recipes));
|
|
1618
1618
|
//#endregion
|
|
1619
|
+
//#region ../models/src/credential-scopes.ts
|
|
1620
|
+
var CREDENTIAL_SCOPES = {
|
|
1621
|
+
AgentProfile: "agent:profile",
|
|
1622
|
+
ConnectorInvoke: "connector:invoke",
|
|
1623
|
+
CryptoSign: "crypto:sign",
|
|
1624
|
+
DiaryManage: "diary:manage",
|
|
1625
|
+
DiaryRead: "diary:read",
|
|
1626
|
+
DiaryWrite: "diary:write",
|
|
1627
|
+
HumanProfile: "human:profile",
|
|
1628
|
+
KeyManage: "key:manage",
|
|
1629
|
+
PackRead: "pack:read",
|
|
1630
|
+
PackWrite: "pack:write",
|
|
1631
|
+
RuntimeManage: "runtime:manage",
|
|
1632
|
+
RuntimeRead: "runtime:read",
|
|
1633
|
+
TaskClaim: "task:claim",
|
|
1634
|
+
TaskExecute: "task:execute",
|
|
1635
|
+
TaskManage: "task:manage",
|
|
1636
|
+
TaskRead: "task:read",
|
|
1637
|
+
TeamManage: "team:manage",
|
|
1638
|
+
TeamRead: "team:read"
|
|
1639
|
+
};
|
|
1640
|
+
var ALL_CREDENTIAL_SCOPES = Object.freeze(Object.values(CREDENTIAL_SCOPES));
|
|
1641
|
+
CREDENTIAL_SCOPES.AgentProfile, CREDENTIAL_SCOPES.RuntimeRead, CREDENTIAL_SCOPES.TaskRead, CREDENTIAL_SCOPES.TaskClaim, CREDENTIAL_SCOPES.TaskExecute;
|
|
1642
|
+
Object.freeze(ALL_CREDENTIAL_SCOPES.filter((scope) => scope !== CREDENTIAL_SCOPES.HumanProfile));
|
|
1643
|
+
[
|
|
1644
|
+
CREDENTIAL_SCOPES.AgentProfile,
|
|
1645
|
+
CREDENTIAL_SCOPES.CryptoSign,
|
|
1646
|
+
CREDENTIAL_SCOPES.DiaryManage,
|
|
1647
|
+
CREDENTIAL_SCOPES.DiaryRead,
|
|
1648
|
+
CREDENTIAL_SCOPES.DiaryWrite,
|
|
1649
|
+
CREDENTIAL_SCOPES.HumanProfile,
|
|
1650
|
+
CREDENTIAL_SCOPES.PackRead,
|
|
1651
|
+
CREDENTIAL_SCOPES.PackWrite,
|
|
1652
|
+
CREDENTIAL_SCOPES.TaskExecute,
|
|
1653
|
+
CREDENTIAL_SCOPES.TaskManage,
|
|
1654
|
+
CREDENTIAL_SCOPES.TaskRead,
|
|
1655
|
+
CREDENTIAL_SCOPES.TeamManage,
|
|
1656
|
+
CREDENTIAL_SCOPES.TeamRead
|
|
1657
|
+
].filter((scope) => scope !== CREDENTIAL_SCOPES.HumanProfile);
|
|
1658
|
+
//#endregion
|
|
1619
1659
|
//#region ../models/src/preview-sign.ts
|
|
1620
1660
|
function schemaRef$1(schema, id) {
|
|
1621
1661
|
return Type$1.Unsafe(Type$1.Ref(id));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@themoltnet/pi-runtime",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Composable MoltNet runtime kernel for Pi agents in Gondolin VMs",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"@opentelemetry/api": "^1.9.0",
|
|
32
32
|
"multiformats": "^13.3.0",
|
|
33
33
|
"typebox": "^1.2.8",
|
|
34
|
-
"@themoltnet/agent-runtime": "0.40.
|
|
35
|
-
"@themoltnet/
|
|
36
|
-
"@themoltnet/
|
|
34
|
+
"@themoltnet/agent-runtime": "0.40.1",
|
|
35
|
+
"@themoltnet/shell-command-analyzer": "0.3.0",
|
|
36
|
+
"@themoltnet/sdk": "0.129.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@earendil-works/pi-ai": "0.79.4",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"vite": "^8.0.0",
|
|
51
51
|
"vite-plugin-dts": "^4.5.4",
|
|
52
52
|
"vitest": "^3.0.0",
|
|
53
|
+
"@moltnet/crypto-service": "0.1.0",
|
|
53
54
|
"@moltnet/models": "0.1.0",
|
|
54
|
-
"@moltnet/tasks": "0.1.0"
|
|
55
|
-
"@moltnet/crypto-service": "0.1.0"
|
|
55
|
+
"@moltnet/tasks": "0.1.0"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=22"
|