@fungi.computer/oyster 0.15.0 → 0.16.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/dist/agents.d.ts +8 -0
- package/dist/agents.js +6 -0
- package/dist/apps/permissions.js +8 -1
- package/dist/auth.d.ts +2 -0
- package/dist/auth.js +9 -8
- package/dist/boot-host-script.js +1 -1
- package/dist/build/candidate-cli.mjs +4 -0
- package/dist/computer.d.ts +5 -0
- package/dist/computer.js +1 -0
- package/dist/embed-metafiles.js +2 -2
- package/dist/embed-scripts.js +2 -2
- package/dist/hello-app-script.js +1 -1
- package/dist/host-page-assets.js +1 -1
- package/dist/host-page.d.ts +5 -1
- package/dist/host-page.js +23 -23
- package/dist/host.js +6 -1
- package/dist/page/app-access.js +23 -1
- package/dist/page/app-rights.d.ts +8 -0
- package/dist/page/app-rights.js +13 -0
- package/dist/page/computer-handles.d.ts +15 -0
- package/dist/page/computer-handles.js +4 -1
- package/dist/page/mount.d.ts +5 -0
- package/dist/page/mount.js +4 -0
- package/dist/page-script.js +3 -3
- package/dist/standalone/agents.js +10 -0
- package/dist/standalone/cloudflare-account.d.ts +10 -0
- package/dist/standalone/cloudflare-account.js +17 -0
- package/dist/standalone/computer.d.ts +2 -2
- package/dist/standalone/computer.js +16 -1
- package/dist/standalone/media.d.ts +2 -0
- package/dist/standalone/media.js +17 -1
- package/dist/standalone/sign-in-link.d.ts +1 -1
- package/dist/standalone/sign-in-link.js +9 -18
- package/dist/starter-agent.d.ts +59 -0
- package/dist/starter-agent.js +85 -0
- package/docs/api/agents.md +6 -0
- package/docs/api/auth.md +10 -0
- package/docs/api/computer.md +4 -0
- package/docs/api/page/mount.md +2 -0
- package/docs/api/workers-git.md +14 -9
- package/docs/api/workers.md +8 -3
- package/package.json +25 -21
|
@@ -19898,6 +19898,10 @@ var gillResponseSchema = Union2([
|
|
|
19898
19898
|
title: rowLabelSchemaV1,
|
|
19899
19899
|
state: Literal2("empty"),
|
|
19900
19900
|
rows: Tuple([]),
|
|
19901
|
+
/** One line naming the first action, in the App's own words. */
|
|
19902
|
+
emptyText: optional2(String4.pipe(check(isMinLength(1)), check(isMaxLength(120)))),
|
|
19903
|
+
/** The host supplies the button; the App only says it belongs. */
|
|
19904
|
+
action: optional2(Struct({ kind: Literal2("open") })),
|
|
19901
19905
|
next: optional2(String4.pipe(check(isMaxLength(1024))))
|
|
19902
19906
|
}),
|
|
19903
19907
|
Struct({
|
package/dist/computer.d.ts
CHANGED
|
@@ -43,6 +43,11 @@ export declare const computerSlots: {
|
|
|
43
43
|
readonly method: "POST";
|
|
44
44
|
readonly path: "processes/kill";
|
|
45
45
|
};
|
|
46
|
+
readonly logs: {
|
|
47
|
+
readonly kind: "json";
|
|
48
|
+
readonly method: "GET";
|
|
49
|
+
readonly path: "processes/logs";
|
|
50
|
+
};
|
|
46
51
|
};
|
|
47
52
|
};
|
|
48
53
|
readonly terminal: {
|
package/dist/computer.js
CHANGED
|
@@ -20,6 +20,7 @@ export const computerSlots = {
|
|
|
20
20
|
start: { kind: "json", method: "POST", path: "processes/start" },
|
|
21
21
|
list: { kind: "json", method: "GET", path: "processes" },
|
|
22
22
|
kill: { kind: "json", method: "POST", path: "processes/kill" },
|
|
23
|
+
logs: { kind: "json", method: "GET", path: "processes/logs" },
|
|
23
24
|
},
|
|
24
25
|
},
|
|
25
26
|
terminal: {
|