@fungi.computer/oyster 0.35.1 → 0.36.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/boot-host-script.js +1 -1
- package/dist/build/candidate-cli.mjs +5 -0
- package/dist/cloudflare.js +1 -0
- package/dist/embed-metafiles.js +2 -2
- package/dist/embed-scripts.js +1 -1
- package/dist/host.d.ts +3 -1
- package/dist/host.js +8 -8
- package/dist/internal/delivery.js +1 -1
- package/dist/invocation.d.ts +27 -5
- package/dist/invocation.js +9 -7
- package/dist/mcp.d.ts +3 -3
- package/dist/mcp.js +1 -1
- package/dist/page-script.js +2 -2
- package/dist/standalone/workflow-git-capture.d.ts +1 -1
- package/dist/standalone/workflow-git-capture.js +1 -1
- package/dist/standalone/workflow-host.d.ts +9 -2
- package/dist/standalone/workflow-host.js +21 -3
- package/dist/standalone/workflow-node-capture.d.ts +1 -1
- package/dist/standalone/workflow-node-capture.js +1 -1
- package/dist/standalone/workflow-trigger-host.d.ts +1 -1
- package/dist/testing/capabilities.js +2 -0
- package/dist/testing/worker.js +1 -0
- package/dist/workers-git.js +2 -1
- package/dist/workers.js +5 -0
- package/docs/api/host.md +1 -0
- package/docs/api/invocation.md +135 -97
- package/docs/api/mcp.md +5 -5
- package/docs/api/workers-git.md +180 -179
- package/docs/api/workers.md +217 -215
- package/package.json +17 -17
|
@@ -20154,6 +20154,10 @@ var appApiReservedMethodNames = Object.freeze({
|
|
|
20154
20154
|
]
|
|
20155
20155
|
});
|
|
20156
20156
|
var identity2 = string5().check(_minLength(1), _maxLength(256));
|
|
20157
|
+
var appCallerScopeSchema = discriminatedUnion("kind", [
|
|
20158
|
+
strictObject({ kind: literal2("team"), teamId: identity2 }),
|
|
20159
|
+
strictObject({ kind: literal2("standalone"), tenant: identity2 })
|
|
20160
|
+
]);
|
|
20157
20161
|
var memberActor = object2({ kind: literal2("member"), memberId: identity2 });
|
|
20158
20162
|
var agentActor = object2({ kind: literal2("agent"), agentId: identity2 });
|
|
20159
20163
|
var keyActor = object2({ kind: literal2("team-key"), keyId: identity2 });
|
|
@@ -20177,6 +20181,7 @@ var backgroundOrigin = _lazy(() => strictObject({
|
|
|
20177
20181
|
seal: string5().check(_regex(/^[A-Za-z0-9_-]{43}$/u))
|
|
20178
20182
|
}));
|
|
20179
20183
|
var appMethodCallerSchema = object2({
|
|
20184
|
+
scope: appCallerScopeSchema,
|
|
20180
20185
|
computerId: nullable2(identity2),
|
|
20181
20186
|
actor: hostActorSchema,
|
|
20182
20187
|
/** Host-attested enqueue eligibility for this ordinary write; absent otherwise. */
|
package/dist/cloudflare.js
CHANGED
|
@@ -466,6 +466,7 @@ export function createCloudflareAppTestCopies(ctx, loader, ports, limits) {
|
|
|
466
466
|
throw new AppInstanceError("invalid_invocation_facts");
|
|
467
467
|
// Attribution is not a live call frame: no Computer, workflow or durable lane.
|
|
468
468
|
const context = parseAppMethodCallContext({
|
|
469
|
+
scope: decoded.scope,
|
|
469
470
|
actor: decoded.actor,
|
|
470
471
|
role: "owner",
|
|
471
472
|
computerId: null,
|