@themoltnet/agent-daemon 0.60.0 → 0.62.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/README.md +81 -9
- package/dist/cli.js +2013 -959
- package/dist/pi.js +16 -1
- package/package.json +9 -10
package/dist/pi.js
CHANGED
|
@@ -174,6 +174,21 @@ var cryptoService = {
|
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
176
|
//#endregion
|
|
177
|
+
//#region ../../libs/crypto-service/src/enrollment-proof.ts
|
|
178
|
+
/** Domain-separated identity proof for one human-approved enrollment token. */
|
|
179
|
+
function enrollmentProofMessage(input) {
|
|
180
|
+
const { grant } = input;
|
|
181
|
+
return JSON.stringify([
|
|
182
|
+
"moltnet:pkce-team-enrollment:v1",
|
|
183
|
+
createHash("sha256").update(input.accessToken).digest("hex"),
|
|
184
|
+
grant.agentId,
|
|
185
|
+
grant.teamId,
|
|
186
|
+
grant.operation,
|
|
187
|
+
[...new Set(grant.scopes)].sort(),
|
|
188
|
+
grant.idempotencyKey
|
|
189
|
+
]);
|
|
190
|
+
}
|
|
191
|
+
//#endregion
|
|
177
192
|
//#region ../../libs/crypto-service/src/executor-attestation.ts
|
|
178
193
|
ed.etc.sha512Sync = (...m) => {
|
|
179
194
|
const hash = createHash("sha512");
|
|
@@ -619,4 +634,4 @@ var defaultPiRuntimeDefinition = definePiRuntime({
|
|
|
619
634
|
});
|
|
620
635
|
var defaultPiDaemonAdapter = createPiDaemonAdapter(defaultPiRuntimeDefinition);
|
|
621
636
|
//#endregion
|
|
622
|
-
export { PI_KERNEL_TOOL_NAMES,
|
|
637
|
+
export { PI_KERNEL_TOOL_NAMES, enrollmentProofMessage as a, createPiDaemonAdapter, defaultPiDaemonAdapter, defaultPiRuntimeDefinition, compileExecutionPlan as i, createExecutionPlanSnapshot as n, cryptoService as o, parseCredentialRequirements as r, runtimeExecutionOffer as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@themoltnet/agent-daemon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.62.0",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Universal MoltNet agent daemon host with a built-in Pi/Gondolin runtime and support for trusted operator-owned runtime modules. CLI: moltnet-agent.",
|
|
@@ -75,20 +75,19 @@
|
|
|
75
75
|
"@opentelemetry/sdk-trace-base": "^2.5.1",
|
|
76
76
|
"@opentelemetry/sdk-trace-node": "^2.5.1",
|
|
77
77
|
"@opentelemetry/semantic-conventions": "^1.39.0",
|
|
78
|
-
"@peculiar/x509": "^2.0.0",
|
|
79
78
|
"fastify": "^5.8.5",
|
|
80
79
|
"fastify-plugin": "^5.1.0",
|
|
80
|
+
"jose": "^6.1.3",
|
|
81
81
|
"multiformats": "^13.3.0",
|
|
82
82
|
"pino": "^10.3.1",
|
|
83
83
|
"pino-opentelemetry-transport": "^3.0.0",
|
|
84
84
|
"pino-pretty": "^13.1.3",
|
|
85
85
|
"proper-lockfile": "4.1.2",
|
|
86
|
-
"reflect-metadata": "^0.2.2",
|
|
87
86
|
"typebox": "^1.2.8",
|
|
88
|
-
"@themoltnet/agent-runtime": "1.
|
|
87
|
+
"@themoltnet/agent-runtime": "1.2.0",
|
|
88
|
+
"@themoltnet/pi-runtime": "0.18.2",
|
|
89
89
|
"@themoltnet/os-keyring": "0.3.0",
|
|
90
|
-
"@themoltnet/sdk": "0.
|
|
91
|
-
"@themoltnet/pi-runtime": "0.18.1"
|
|
90
|
+
"@themoltnet/sdk": "0.144.0"
|
|
92
91
|
},
|
|
93
92
|
"devDependencies": {
|
|
94
93
|
"@fastify/swagger": "^9.6.1",
|
|
@@ -103,12 +102,12 @@
|
|
|
103
102
|
"@moltnet/bootstrap": "0.1.0",
|
|
104
103
|
"@moltnet/crypto-service": "0.1.0",
|
|
105
104
|
"@moltnet/execution-integrations": "0.1.0",
|
|
106
|
-
"@moltnet/
|
|
105
|
+
"@moltnet/models": "0.1.0",
|
|
106
|
+
"@moltnet/observability": "0.1.0",
|
|
107
107
|
"@moltnet/loopback-companion": "0.1.0",
|
|
108
|
+
"@moltnet/execution-plan": "0.1.0",
|
|
108
109
|
"@moltnet/runtime-profiles": "0.1.0",
|
|
109
|
-
"@moltnet/
|
|
110
|
-
"@moltnet/tasks": "0.1.0",
|
|
111
|
-
"@moltnet/models": "0.1.0"
|
|
110
|
+
"@moltnet/tasks": "0.1.0"
|
|
112
111
|
},
|
|
113
112
|
"nx": {
|
|
114
113
|
"projectType": "application",
|