@fungi.computer/puffball 0.3.0 → 0.5.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/app-backend-binding-vocabulary.d.ts +10 -0
- package/dist/app-backend-binding-vocabulary.js +10 -0
- package/dist/app-declaration.d.ts +1 -1
- package/dist/app-vocabulary.d.ts +1 -1
- package/dist/app-vocabulary.js +1 -0
- package/dist/internal/app-release-schema.d.ts +1 -3
- package/docs/api/app-backend-binding-vocabulary.md +8 -0
- package/docs/api/app-backend-bindings.md +5 -5
- package/docs/api/index.md +1 -0
- package/package.json +1 -1
|
@@ -138,6 +138,11 @@ export declare const appBackendBindingKinds: {
|
|
|
138
138
|
readonly requires: readonly ["workflow.run", "workflow.arm"];
|
|
139
139
|
readonly effect: "write";
|
|
140
140
|
};
|
|
141
|
+
readonly resumeSchedule: {
|
|
142
|
+
readonly cap: "app.workflow.run";
|
|
143
|
+
readonly requires: readonly ["workflow.run", "workflow.arm"];
|
|
144
|
+
readonly effect: "write";
|
|
145
|
+
};
|
|
141
146
|
readonly schedules: {
|
|
142
147
|
readonly cap: "app.workflow.read";
|
|
143
148
|
readonly requires: readonly ["workflow.run"];
|
|
@@ -306,6 +311,11 @@ export declare const appBackendBindingKinds: {
|
|
|
306
311
|
readonly requires: readonly ["agent.manage"];
|
|
307
312
|
readonly effect: "write";
|
|
308
313
|
};
|
|
314
|
+
readonly resumeSchedule: {
|
|
315
|
+
readonly cap: "agent.manage";
|
|
316
|
+
readonly requires: readonly ["agent.manage"];
|
|
317
|
+
readonly effect: "write";
|
|
318
|
+
};
|
|
309
319
|
readonly deleteSchedule: {
|
|
310
320
|
readonly cap: "agent.manage";
|
|
311
321
|
readonly requires: readonly ["agent.manage"];
|
|
@@ -127,6 +127,11 @@ export const appBackendBindingKinds = {
|
|
|
127
127
|
requires: ["workflow.run", "workflow.arm"],
|
|
128
128
|
effect: "write",
|
|
129
129
|
},
|
|
130
|
+
resumeSchedule: {
|
|
131
|
+
cap: "app.workflow.run",
|
|
132
|
+
requires: ["workflow.run", "workflow.arm"],
|
|
133
|
+
effect: "write",
|
|
134
|
+
},
|
|
130
135
|
schedules: {
|
|
131
136
|
cap: "app.workflow.read",
|
|
132
137
|
requires: ["workflow.run"],
|
|
@@ -279,6 +284,11 @@ export const appBackendBindingKinds = {
|
|
|
279
284
|
requires: ["agent.manage"],
|
|
280
285
|
effect: "write",
|
|
281
286
|
},
|
|
287
|
+
resumeSchedule: {
|
|
288
|
+
cap: "agent.manage",
|
|
289
|
+
requires: ["agent.manage"],
|
|
290
|
+
effect: "write",
|
|
291
|
+
},
|
|
282
292
|
deleteSchedule: {
|
|
283
293
|
cap: "agent.manage",
|
|
284
294
|
requires: ["agent.manage"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { type AppDeclaration, type AppDeclaredCommand } from "./app-vocabulary.js";
|
|
3
3
|
export declare const appRoleSchema: Schema.Literals<readonly ["dashboard", "inbox", "files", "media", "sessions", "terminal"]>;
|
|
4
|
-
export declare const appCapabilityIdSchema: Schema.Literals<readonly ["approvals", "agent.list", "agent.manage", "agent.rename", "agent.avatar", "agent.toolPolicy", "agent.read", "agent.send", "computer.list", "computer.readFile", "computer.writeFile", "computer.execute", "llm.generation", "media.generation", "games:servers", "git.repository", "apps.open", "apps.call", "app.storage", "app.events.emit", "team.workbenchHost", "marketplace.browse", "marketplace.purchase", "workflow.run", "workflow.publish", "workflow.arm", "world", "channels.read", "channels.personal.manage"]>;
|
|
4
|
+
export declare const appCapabilityIdSchema: Schema.Literals<readonly ["approvals", "agent.list", "agent.manage", "agent.rename", "agent.avatar", "agent.toolPolicy", "agent.read", "agent.send", "computer.list", "computer.readFile", "computer.writeFile", "computer.execute", "llm.generation", "media.generation", "media.share", "games:servers", "git.repository", "apps.open", "apps.call", "app.storage", "app.events.emit", "team.workbenchHost", "marketplace.browse", "marketplace.purchase", "workflow.run", "workflow.publish", "workflow.arm", "world", "channels.read", "channels.personal.manage"]>;
|
|
5
5
|
export declare const appHandlerSchema: Schema.Literals<readonly ["file.open"]>;
|
|
6
6
|
/**
|
|
7
7
|
* One declared command: a Whistle definition's identity and projections.
|
package/dist/app-vocabulary.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export declare function resolveAppRoles(choices: ReadonlyMap<AppRole, string>, c
|
|
|
58
58
|
* Host capabilities an App may request. A request is never authority; the
|
|
59
59
|
* Team's installation grants decide. Extend this list here.
|
|
60
60
|
*/
|
|
61
|
-
export declare const appCapabilityIds: readonly ["approvals", "agent.list", "agent.manage", "agent.rename", "agent.avatar", "agent.toolPolicy", "agent.read", "agent.send", "computer.list", "computer.readFile", "computer.writeFile", "computer.execute", "llm.generation", "media.generation", "games:servers", "git.repository", "apps.open", "apps.call", "app.storage", "app.events.emit", "team.workbenchHost", "marketplace.browse", "marketplace.purchase", "workflow.run", "workflow.publish", "workflow.arm", "world", "channels.read", "channels.personal.manage"];
|
|
61
|
+
export declare const appCapabilityIds: readonly ["approvals", "agent.list", "agent.manage", "agent.rename", "agent.avatar", "agent.toolPolicy", "agent.read", "agent.send", "computer.list", "computer.readFile", "computer.writeFile", "computer.execute", "llm.generation", "media.generation", "media.share", "games:servers", "git.repository", "apps.open", "apps.call", "app.storage", "app.events.emit", "team.workbenchHost", "marketplace.browse", "marketplace.purchase", "workflow.run", "workflow.publish", "workflow.arm", "world", "channels.read", "channels.personal.manage"];
|
|
62
62
|
/** One requestable host capability id. */
|
|
63
63
|
export type AppCapabilityId = (typeof appCapabilityIds)[number];
|
|
64
64
|
/** Backend requests are narrower than the App capabilities a Team approves. */
|
package/dist/app-vocabulary.js
CHANGED
|
@@ -1517,9 +1517,7 @@ export declare const decodeReleaseLifecycleStoreResult: (input: unknown, options
|
|
|
1517
1517
|
help?: Readonly<{
|
|
1518
1518
|
order?: number | undefined;
|
|
1519
1519
|
}> | undefined;
|
|
1520
|
-
menu
|
|
1521
|
-
/** Canonical Effect Schema for a verified immutable artifact snapshot. */
|
|
1522
|
-
?: Readonly<{
|
|
1520
|
+
menu?: Readonly<{
|
|
1523
1521
|
order?: number | undefined;
|
|
1524
1522
|
}> | undefined;
|
|
1525
1523
|
palette?: Readonly<{
|
|
@@ -179,6 +179,10 @@ The runtime-neutral registry shared by declarations, admission and Exec.
|
|
|
179
179
|
| `WORKFLOWS.operations.pauseSchedule.cap` | `"app.workflow.run"` | `"app.workflow.run"` | - |
|
|
180
180
|
| `WORKFLOWS.operations.pauseSchedule.requires` | readonly \[`"workflow.run"`, `"workflow.arm"`\] | - | - |
|
|
181
181
|
| `WORKFLOWS.operations.pauseSchedule.effect` | `"write"` | `"write"` | - |
|
|
182
|
+
| `WORKFLOWS.operations.resumeSchedule` | `object` | - | - |
|
|
183
|
+
| `WORKFLOWS.operations.resumeSchedule.cap` | `"app.workflow.run"` | `"app.workflow.run"` | - |
|
|
184
|
+
| `WORKFLOWS.operations.resumeSchedule.requires` | readonly \[`"workflow.run"`, `"workflow.arm"`\] | - | - |
|
|
185
|
+
| `WORKFLOWS.operations.resumeSchedule.effect` | `"write"` | `"write"` | - |
|
|
182
186
|
| `WORKFLOWS.operations.schedules` | `object` | - | - |
|
|
183
187
|
| `WORKFLOWS.operations.schedules.cap` | `"app.workflow.read"` | `"app.workflow.read"` | - |
|
|
184
188
|
| `WORKFLOWS.operations.schedules.requires` | readonly \[`"workflow.run"`\] | - | - |
|
|
@@ -306,6 +310,10 @@ The runtime-neutral registry shared by declarations, admission and Exec.
|
|
|
306
310
|
| `AGENTS.operations.pauseSchedule.cap` | `"agent.manage"` | `"agent.manage"` | - |
|
|
307
311
|
| `AGENTS.operations.pauseSchedule.requires` | readonly \[`"agent.manage"`\] | - | - |
|
|
308
312
|
| `AGENTS.operations.pauseSchedule.effect` | `"write"` | `"write"` | - |
|
|
313
|
+
| `AGENTS.operations.resumeSchedule` | `object` | - | - |
|
|
314
|
+
| `AGENTS.operations.resumeSchedule.cap` | `"agent.manage"` | `"agent.manage"` | - |
|
|
315
|
+
| `AGENTS.operations.resumeSchedule.requires` | readonly \[`"agent.manage"`\] | - | - |
|
|
316
|
+
| `AGENTS.operations.resumeSchedule.effect` | `"write"` | `"write"` | - |
|
|
309
317
|
| `AGENTS.operations.deleteSchedule` | `object` | - | - |
|
|
310
318
|
| `AGENTS.operations.deleteSchedule.cap` | `"agent.manage"` | `"agent.manage"` | - |
|
|
311
319
|
| `AGENTS.operations.deleteSchedule.requires` | readonly \[`"agent.manage"`\] | - | - |
|
|
@@ -102,11 +102,11 @@ ceiling.
|
|
|
102
102
|
|
|
103
103
|
#### Parameters
|
|
104
104
|
|
|
105
|
-
| Parameter | Type
|
|
106
|
-
| ----------- |
|
|
107
|
-
| `operation` | [`AppBackendBindingOperation`](app-backend-binding-vocabulary.md#appbackendbindingoperation)
|
|
108
|
-
| `method` | \| `Pick`\<`Readonly`\<\{ `description`: `string`; `input`: \{ \[`key`: `string`\]: \| `null` \| `string` \| `number` \| `false` \| `true` \| \{ \[`index`: `number`\]: AppApiJsonValue; `length`: `number`; \} \| AppApiJsonObject; \}; `output`: \{ \[`key`: `string`\]: \| `null` \| `string` \| `number` \| `false` \| `true` \| \{ \[`index`: `number`\]: AppApiJsonValue; `length`: `number`; \} \| AppApiJsonObject; \}; `effect`: `"write"` \| `"external"` \| `"read"`; `requires`: readonly ( \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"llm.generation"` \| `"media.generation"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`)[]; `pending?`: `true`; `hidden?`: `true`; `present?`: `Readonly`\<\{ `verb`: `string`; \}\>; \}\>, `"requires"` \| `"effect"`\> \| `undefined` |
|
|
109
|
-
| `ceiling` | `"write"` \| `"read"`
|
|
105
|
+
| Parameter | Type |
|
|
106
|
+
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
107
|
+
| `operation` | [`AppBackendBindingOperation`](app-backend-binding-vocabulary.md#appbackendbindingoperation) |
|
|
108
|
+
| `method` | \| `Pick`\<`Readonly`\<\{ `description`: `string`; `input`: \{ \[`key`: `string`\]: \| `null` \| `string` \| `number` \| `false` \| `true` \| \{ \[`index`: `number`\]: AppApiJsonValue; `length`: `number`; \} \| AppApiJsonObject; \}; `output`: \{ \[`key`: `string`\]: \| `null` \| `string` \| `number` \| `false` \| `true` \| \{ \[`index`: `number`\]: AppApiJsonValue; `length`: `number`; \} \| AppApiJsonObject; \}; `effect`: `"write"` \| `"external"` \| `"read"`; `requires`: readonly ( \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`)[]; `pending?`: `true`; `hidden?`: `true`; `present?`: `Readonly`\<\{ `verb`: `string`; \}\>; \}\>, `"requires"` \| `"effect"`\> \| `undefined` |
|
|
109
|
+
| `ceiling` | `"write"` \| `"read"` |
|
|
110
110
|
|
|
111
111
|
#### Returns
|
|
112
112
|
|
package/docs/api/index.md
CHANGED