@fungi.computer/oyster 0.48.0 → 0.49.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/README.md +7 -3
- package/dist/app-region.js +16 -5
- package/dist/build/candidate-cli.mjs +1 -1
- package/dist/build/snapshot-program-scripts.js +1 -1
- package/dist/computer-control-port.d.ts +17 -0
- package/dist/embed-metafiles.js +1 -1
- package/dist/install-preview.d.ts +19 -0
- package/dist/install-preview.js +41 -0
- package/dist/install-release-cli.js +3 -20
- package/dist/mcp.d.ts +61 -0
- package/dist/mcp.js +54 -0
- package/dist/pack.d.ts +21 -18
- package/dist/pack.js +22 -10
- package/dist/standalone/app-set.d.ts +20 -1
- package/dist/standalone/app-set.js +119 -60
- package/dist/standalone/computer-control.js +31 -0
- package/dist/standalone/install-apps-cli.js +25 -3
- package/dist/standalone/registry.d.ts +1 -1
- package/docs/api/mcp.md +74 -46
- package/docs/api/pack.md +123 -2
- package/docs/api/workers.md +16 -16
- package/package.json +3 -3
|
@@ -14,6 +14,23 @@ export type ComputerControlPort = Readonly<{
|
|
|
14
14
|
state(computerId: string, context: InvocationContext): Promise<z.output<typeof computerStateSchema>>;
|
|
15
15
|
/** Start one inventoried hosted Computer through the host's admission. */
|
|
16
16
|
start(computerId: string, context: InvocationContext): Promise<z.output<typeof computerStateSchema>>;
|
|
17
|
+
/** Stop one Computer now; its files are kept. Only the signed-in owner may. */
|
|
18
|
+
stop(computerId: string, context: InvocationContext): Promise<{
|
|
19
|
+
kind: "stopped";
|
|
20
|
+
} | {
|
|
21
|
+
kind: "denied" | "busy" | "uncertain";
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* Delete one Computer and erase its Workspace. The caller has already matched
|
|
25
|
+
* the person's typed handle to the Computer's name. Only the signed-in owner
|
|
26
|
+
* may; a host with no delete path answers "unsupported". "uncertain" means
|
|
27
|
+
* retry: a delete cut short finishes on the next attempt.
|
|
28
|
+
*/
|
|
29
|
+
delete(computerId: string, context: InvocationContext): Promise<{
|
|
30
|
+
kind: "deleted";
|
|
31
|
+
} | {
|
|
32
|
+
kind: "denied" | "unsupported" | "uncertain";
|
|
33
|
+
}>;
|
|
17
34
|
/** Create or replay a durable receipt tied to this request identity. */
|
|
18
35
|
create(input: z.output<typeof computerCreateRequestSchema>, context: InvocationContext): Promise<{
|
|
19
36
|
kind: "created";
|