@fungi.computer/puffball 0.0.1 → 0.0.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.
@@ -65,17 +65,20 @@ export declare const appBackendBindingKinds: {
65
65
  readonly requires: readonly ["git.repository", "computer.execute"];
66
66
  readonly effect: "write";
67
67
  };
68
- /** Read one build job's current status; the host re-checks the caller is the owner. */
68
+ /** Read one build job's current status; the host re-checks the caller
69
+ * is the owner. An operation is granted only through approved
70
+ * capabilities, so it needs the ones its build was admitted with. */
69
71
  readonly buildStatus: {
70
72
  readonly cap: "app.build";
71
- readonly requires: readonly [];
73
+ readonly requires: readonly ["git.repository", "computer.execute"];
72
74
  readonly effect: "read";
73
75
  };
74
76
  /** Install a Release at an installation id, or switch a live one onto
75
- * it; the host re-checks the caller is the owner. */
77
+ * it; the host re-checks the caller is the owner. It completes the
78
+ * build-and-install loop, under the capabilities a build needs. */
76
79
  readonly select: {
77
80
  readonly cap: "app.select";
78
- readonly requires: readonly [];
81
+ readonly requires: readonly ["git.repository", "computer.execute"];
79
82
  readonly effect: "write";
80
83
  };
81
84
  readonly catalog: {
@@ -83,10 +86,11 @@ export declare const appBackendBindingKinds: {
83
86
  readonly requires: readonly ["team.workbenchHost"];
84
87
  readonly effect: "read";
85
88
  };
86
- /** Fork a platform App's published source into its own Team-owned App. */
89
+ /** Fork a platform App's published source into its own Team-owned App,
90
+ * as a repository in the calling installation's Git. */
87
91
  readonly fork: {
88
92
  readonly cap: "app.fork";
89
- readonly requires: readonly [];
93
+ readonly requires: readonly ["git.repository"];
90
94
  readonly effect: "write";
91
95
  };
92
96
  };
@@ -54,17 +54,20 @@ export const appBackendBindingKinds = {
54
54
  requires: ["git.repository", "computer.execute"],
55
55
  effect: "write",
56
56
  },
57
- /** Read one build job's current status; the host re-checks the caller is the owner. */
57
+ /** Read one build job's current status; the host re-checks the caller
58
+ * is the owner. An operation is granted only through approved
59
+ * capabilities, so it needs the ones its build was admitted with. */
58
60
  buildStatus: {
59
61
  cap: "app.build",
60
- requires: [],
62
+ requires: ["git.repository", "computer.execute"],
61
63
  effect: "read",
62
64
  },
63
65
  /** Install a Release at an installation id, or switch a live one onto
64
- * it; the host re-checks the caller is the owner. */
66
+ * it; the host re-checks the caller is the owner. It completes the
67
+ * build-and-install loop, under the capabilities a build needs. */
65
68
  select: {
66
69
  cap: "app.select",
67
- requires: [],
70
+ requires: ["git.repository", "computer.execute"],
68
71
  effect: "write",
69
72
  },
70
73
  catalog: {
@@ -72,10 +75,11 @@ export const appBackendBindingKinds = {
72
75
  requires: ["team.workbenchHost"],
73
76
  effect: "read",
74
77
  },
75
- /** Fork a platform App's published source into its own Team-owned App. */
78
+ /** Fork a platform App's published source into its own Team-owned App,
79
+ * as a repository in the calling installation's Git. */
76
80
  fork: {
77
81
  cap: "app.fork",
78
- requires: [],
82
+ requires: ["git.repository"],
79
83
  effect: "write",
80
84
  },
81
85
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fungi.computer/puffball",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "author": "Levi <levi@technomancy.dev>",
5
5
  "description": "Immutable App/Release catalog with verified public website delivery",
6
6
  "type": "module",