@themoltnet/pi-runtime 0.6.1 → 0.6.2
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.d.ts +3 -0
- package/dist/index.js +18 -11
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -617,6 +617,9 @@ export declare interface GateInput {
|
|
|
617
617
|
analyze: (command: string) => CommandAnalysis;
|
|
618
618
|
}
|
|
619
619
|
|
|
620
|
+
/** Commands guaranteed by the base Gondolin snapshot. */
|
|
621
|
+
export declare const GONDOLIN_BASE_EXECUTABLES: readonly string[];
|
|
622
|
+
|
|
620
623
|
export declare const GONDOLIN_TOOL_NAMES: readonly ["read", "write", "edit", "bash", "ls", "find", "grep"];
|
|
621
624
|
|
|
622
625
|
export declare interface GondolinTemplateDefinition {
|
package/dist/index.js
CHANGED
|
@@ -3967,17 +3967,24 @@ Type$1.Object({
|
|
|
3967
3967
|
* The cache key is a hash of the full config. When any input changes,
|
|
3968
3968
|
* a new snapshot is built automatically.
|
|
3969
3969
|
*/
|
|
3970
|
+
/** Alpine packages whose commands are guaranteed in every snapshot. */
|
|
3971
|
+
var BASE_ALPINE_PACKAGE_EXECUTABLES = {
|
|
3972
|
+
curl: "curl",
|
|
3973
|
+
file: "file",
|
|
3974
|
+
git: "git",
|
|
3975
|
+
jq: "jq",
|
|
3976
|
+
ripgrep: "rg",
|
|
3977
|
+
tar: "tar",
|
|
3978
|
+
xz: "xz"
|
|
3979
|
+
};
|
|
3970
3980
|
/** Alpine packages required by every snapshot. */
|
|
3971
|
-
var BASE_ALPINE_PACKAGES = [
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
"
|
|
3976
|
-
"
|
|
3977
|
-
|
|
3978
|
-
"tar",
|
|
3979
|
-
"xz"
|
|
3980
|
-
];
|
|
3981
|
+
var BASE_ALPINE_PACKAGES = ["ca-certificates", ...Object.keys(BASE_ALPINE_PACKAGE_EXECUTABLES)];
|
|
3982
|
+
/** Commands guaranteed by the base Gondolin snapshot. */
|
|
3983
|
+
var GONDOLIN_BASE_EXECUTABLES = Object.freeze([
|
|
3984
|
+
...Object.values(BASE_ALPINE_PACKAGE_EXECUTABLES),
|
|
3985
|
+
"gh",
|
|
3986
|
+
"moltnet"
|
|
3987
|
+
].sort());
|
|
3981
3988
|
/** gh CLI version installed in every snapshot. */
|
|
3982
3989
|
var GH_VERSION = "2.74.0";
|
|
3983
3990
|
/** MoltNet CLI version — downloaded as a binary, no Node needed. */
|
|
@@ -8537,4 +8544,4 @@ function describeToolErrorMessage(result) {
|
|
|
8537
8544
|
}
|
|
8538
8545
|
}
|
|
8539
8546
|
//#endregion
|
|
8540
|
-
export { GONDOLIN_TOOL_NAMES, HOST_EXEC_DEFAULT_BASE_ENV, MOLTNET_TOOL_NAMES, PI_EXECUTOR_MANIFEST_VERSION, PI_RUNTIME_DEFINITION_VERSION, activateAgentEnv, buildAgentSession, buildPiExecutorManifest, buildRuntimeKernel, buildWorkspaceMountInstructions, createGondolinBashOps, createGondolinEditOps, createGondolinFindOps, createGondolinLsOps, createGondolinReadOps, createGondolinToolDefinitions, createGondolinWriteOps, createMoltNetTools, createPiOtelExtension, createPiRetryTriage, createPiTaskExecutor, createSubagentTool, createToolPolicyExtension, decideForEvent, decideToolCall, defineGondolinTemplate, definePiExtension, definePiRuntime, definePiTool, enabledPiToolNames, ensureSnapshot, executeGondolinGrep, executePiTask, filterModelVisibleTools, findMainWorktree, injectRuntimeContext as injectTaskContext, isKernelTool, isResolvedPathInsideRoot, isToolVisible, loadCredentials, materializePiExtensions, materializePiTools, normalizeRetryTriageResult, redactRetryTriageSecrets, resolveSessionToolPolicy, resolveTaskWorktreePath, resumeVm, toGuestPath };
|
|
8547
|
+
export { GONDOLIN_BASE_EXECUTABLES, GONDOLIN_TOOL_NAMES, HOST_EXEC_DEFAULT_BASE_ENV, MOLTNET_TOOL_NAMES, PI_EXECUTOR_MANIFEST_VERSION, PI_RUNTIME_DEFINITION_VERSION, activateAgentEnv, buildAgentSession, buildPiExecutorManifest, buildRuntimeKernel, buildWorkspaceMountInstructions, createGondolinBashOps, createGondolinEditOps, createGondolinFindOps, createGondolinLsOps, createGondolinReadOps, createGondolinToolDefinitions, createGondolinWriteOps, createMoltNetTools, createPiOtelExtension, createPiRetryTriage, createPiTaskExecutor, createSubagentTool, createToolPolicyExtension, decideForEvent, decideToolCall, defineGondolinTemplate, definePiExtension, definePiRuntime, definePiTool, enabledPiToolNames, ensureSnapshot, executeGondolinGrep, executePiTask, filterModelVisibleTools, findMainWorktree, injectRuntimeContext as injectTaskContext, isKernelTool, isResolvedPathInsideRoot, isToolVisible, loadCredentials, materializePiExtensions, materializePiTools, normalizeRetryTriageResult, redactRetryTriageSecrets, resolveSessionToolPolicy, resolveTaskWorktreePath, resumeVm, toGuestPath };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@themoltnet/pi-runtime",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
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/
|
|
34
|
+
"@themoltnet/sdk": "0.129.0",
|
|
35
35
|
"@themoltnet/shell-command-analyzer": "0.3.0",
|
|
36
|
-
"@themoltnet/
|
|
36
|
+
"@themoltnet/agent-runtime": "0.40.1"
|
|
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",
|
|
54
53
|
"@moltnet/models": "0.1.0",
|
|
55
|
-
"@moltnet/tasks": "0.1.0"
|
|
54
|
+
"@moltnet/tasks": "0.1.0",
|
|
55
|
+
"@moltnet/crypto-service": "0.1.0"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=22"
|