@fungi.computer/computer 0.19.2 → 0.20.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.
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* The one idle window: a Computer with no operation in flight, no open
|
|
3
|
-
* terminal, no command Fungi started that is still running and no traffic the
|
|
4
|
-
* host sees to its VM is stopped this long after its last activity, freeing its
|
|
5
|
-
* host slot. Its files are saved first and it starts again on its next use.
|
|
6
|
-
* An Agent that is only thinking, with no command running, does not hold it.
|
|
7
|
-
*/
|
|
8
|
-
export declare const computerContainerSleepAfterMs: number;
|
|
1
|
+
export { computerContainerSleepAfterMs } from "@fungi.computer/agar/computer-contracts";
|
|
9
2
|
/**
|
|
10
3
|
* The platform's own inactivity kill, a backstop well above the idle window: it
|
|
11
4
|
* saves nothing and cannot see what the Hub counts, so the Hub's save-then-stop
|
package/dist/container-policy.js
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
|
|
3
|
-
* The one idle window: a Computer with no operation in flight, no open
|
|
4
|
-
* terminal, no command Fungi started that is still running and no traffic the
|
|
5
|
-
* host sees to its VM is stopped this long after its last activity, freeing its
|
|
6
|
-
* host slot. Its files are saved first and it starts again on its next use.
|
|
7
|
-
* An Agent that is only thinking, with no command running, does not hold it.
|
|
8
|
-
*/
|
|
9
|
-
export const computerContainerSleepAfterMs = 10 * 60 * 1_000;
|
|
2
|
+
export { computerContainerSleepAfterMs } from "@fungi.computer/agar/computer-contracts";
|
|
10
3
|
/**
|
|
11
4
|
* The platform's own inactivity kill, a backstop well above the idle window: it
|
|
12
5
|
* saves nothing and cannot see what the Hub counts, so the Hub's save-then-stop
|
package/dist/port-access.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export type PortAccessPrincipal = Readonly<{
|
|
|
6
6
|
teamId: string;
|
|
7
7
|
}> | Readonly<{
|
|
8
8
|
ownerId: string;
|
|
9
|
+
}> | Readonly<{
|
|
10
|
+
keyId: string;
|
|
9
11
|
}>;
|
|
10
12
|
/** Visibility belongs to an existing exposed port, never a second catalog. */
|
|
11
13
|
export type PortVisibility = "private" | "unlisted" | "public";
|
package/dist/port-access.js
CHANGED
|
@@ -8,6 +8,7 @@ const visibilitySchema = z.enum(["private", "unlisted", "public"]);
|
|
|
8
8
|
const principalSchema = z.union([
|
|
9
9
|
z.strictObject({ userId: z.string().min(1), teamId: z.string().min(1) }),
|
|
10
10
|
z.strictObject({ ownerId: z.string().min(1) }),
|
|
11
|
+
z.strictObject({ keyId: z.string().min(1) }),
|
|
11
12
|
]);
|
|
12
13
|
/** A stored session row: a share holds no principal, a member session does. */
|
|
13
14
|
const storedSessionSchema = z.union([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/computer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Cloudflare Computer host for one durable Fungi Computer",
|
|
6
6
|
"type": "module",
|
|
@@ -68,14 +68,15 @@
|
|
|
68
68
|
"LICENSE"
|
|
69
69
|
],
|
|
70
70
|
"dependencies": {
|
|
71
|
+
"@fungi.computer/agar": "0.31.0",
|
|
71
72
|
"@fungi.computer/cairn": "0.1.1",
|
|
72
73
|
"@fungi.computer/capnweb": "0.12.0-fungi.0",
|
|
73
74
|
"@fungi.computer/cloudflare-computer": "0.2.1-fungi.4",
|
|
74
75
|
"@fungi.computer/cordyceps": "0.4.3",
|
|
75
|
-
"@fungi.computer/knapsack": "0.4.
|
|
76
|
+
"@fungi.computer/knapsack": "0.4.42",
|
|
76
77
|
"@fungi.computer/seam": "0.2.9",
|
|
77
78
|
"@fungi.computer/watchdog": "0.1.7",
|
|
78
|
-
"@fungi.computer/computer-contract": "0.6.
|
|
79
|
+
"@fungi.computer/computer-contract": "0.6.19",
|
|
79
80
|
"effect": "4.0.2",
|
|
80
81
|
"just-bash": "3.4.2",
|
|
81
82
|
"zod": "4.4.3",
|