@fungi.computer/oyster 0.28.0 → 0.28.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.
- package/dist/apps/gate.js +10 -7
- package/dist/apps/installation.d.ts +23 -2
- package/dist/apps/installation.js +66 -11
- package/dist/apps/operations.d.ts +5 -0
- package/dist/apps/operations.js +49 -10
- package/dist/apps/permissions.d.ts +23 -7
- package/dist/apps/permissions.js +5 -1
- package/dist/embed-metafiles.js +1 -1
- package/dist/embed-scripts.js +2 -2
- package/dist/host.js +7 -2
- package/dist/installation-migration.d.ts +5 -0
- package/dist/installation-migration.js +78 -0
- package/dist/installation-operations.d.ts +8 -0
- package/dist/installation-operations.js +2 -0
- package/dist/page-script.js +3 -3
- package/dist/standalone/workflow-host.d.ts +5 -0
- package/dist/workers.js +2 -0
- package/docs/api/apps.md +87 -73
- package/docs/api/git.md +3 -3
- package/docs/api/host.md +6 -0
- package/docs/api/mcp.md +16 -16
- package/docs/api/workers.md +54 -44
- package/package.json +11 -11
package/docs/api/git.md
CHANGED
|
@@ -217,9 +217,9 @@ storage.
|
|
|
217
217
|
|
|
218
218
|
#### Parameters
|
|
219
219
|
|
|
220
|
-
| Parameter | Type
|
|
221
|
-
| --------- |
|
|
222
|
-
| `ports` | `Readonly`\<\{ `currentInstallation`: `Promise`\< \| `Readonly`\<\{ `installationId`: `string`; `instanceId`: [`InstanceId`](index.md#instanceid) \| `null`; `appId`: `AppId`; `release`: \{ `releaseId`: `Schema.refine`\<`ReleaseId`, `Schema.String`\>; `appId`: `Schema.refine`\<`AppId`, `Schema.String`\>; `artifact`: `Schema.Struct`\<\{ `artifactRef`: `Schema.refine`\<`ArtifactRef`, `Schema.String`\>; `artifactDigest`: `Schema.refine`\<`Sha256Digest`, `Schema.String`\>; `provenance`: `Schema.Struct`\<\{ `sourceRevision`: ...; `sourceTreeDigest`: ...; `buildRecipeDigest`: ...; \}\>; \}\>; \}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ...; `capabilityApproved`: `true`; `operations`: readonly ...[]; `resources`: ... \| ...; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: ... \| ... \| ...; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \}\> \| `null`\>; `declaration`: `Promise`\< \| `Readonly`\<\{ `api?`: `AppApi`; `displayName?`: `string`; `capabilities`: readonly `AppCapabilityId`[]; `calls?`: readonly `Readonly`\<\{ `appId`: ...; `methods`: ...; \}\>[]; `guidance?`: `string`; `handlers`: readonly `AppHandler`[]; `receives?`: readonly `"git.push"`[]; `icon?`: `string`; `roles`: readonly `AppRole`[]; `storage?`: readonly `AppStorageKey`[]; `commands?`: readonly `AppDeclaredCommand`[]; `gills?`: readonly `AppDeclaredGill`[]; `backend?`: `Readonly`\<\{ `bindings`: readonly ...[]; `sync?`: `Readonly`\<\{ `method`: ...; \}\>; \}\>; \}\> \| `null`\>; \}\> |
|
|
220
|
+
| Parameter | Type |
|
|
221
|
+
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
222
|
+
| `ports` | `Readonly`\<\{ `currentInstallation`: `Promise`\< \| `Readonly`\<\{ `installationId`: `string`; `instanceId`: [`InstanceId`](index.md#instanceid) \| `null`; `appId`: `AppId`; `release`: \{ `releaseId`: `Schema.refine`\<`ReleaseId`, `Schema.String`\>; `appId`: `Schema.refine`\<`AppId`, `Schema.String`\>; `artifact`: `Schema.Struct`\<\{ `artifactRef`: `Schema.refine`\<`ArtifactRef`, `Schema.String`\>; `artifactDigest`: `Schema.refine`\<`Sha256Digest`, `Schema.String`\>; `provenance`: `Schema.Struct`\<\{ `sourceRevision`: ...; `sourceTreeDigest`: ...; `buildRecipeDigest`: ...; \}\>; \}\>; \}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ... \| ...; `capabilityApproved`: `true`; `operations`: readonly ...[]; `fingerprints`: `Readonly`\<...\>; `resources`: ... \| ...; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: ... \| ... \| ...; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \}\> \| `null`\>; `declaration`: `Promise`\< \| `Readonly`\<\{ `api?`: `AppApi`; `displayName?`: `string`; `capabilities`: readonly `AppCapabilityId`[]; `calls?`: readonly `Readonly`\<\{ `appId`: ...; `methods`: ...; \}\>[]; `guidance?`: `string`; `handlers`: readonly `AppHandler`[]; `receives?`: readonly `"git.push"`[]; `icon?`: `string`; `roles`: readonly `AppRole`[]; `storage?`: readonly `AppStorageKey`[]; `commands?`: readonly `AppDeclaredCommand`[]; `gills?`: readonly `AppDeclaredGill`[]; `backend?`: `Readonly`\<\{ `bindings`: readonly ...[]; `sync?`: `Readonly`\<\{ `method`: ...; \}\>; \}\>; \}\> \| `null`\>; \}\> |
|
|
223
223
|
|
|
224
224
|
#### Returns
|
|
225
225
|
|
package/docs/api/host.md
CHANGED
|
@@ -624,6 +624,7 @@ type InstallationOperations = Readonly<{
|
|
|
624
624
|
capability: ...;
|
|
625
625
|
capabilityApproved: ...;
|
|
626
626
|
operations: ...;
|
|
627
|
+
fingerprints: ...;
|
|
627
628
|
resources: ...;
|
|
628
629
|
}>[];
|
|
629
630
|
approval: | Readonly<{
|
|
@@ -780,6 +781,7 @@ type InstallationOperations = Readonly<{
|
|
|
780
781
|
capability: ...;
|
|
781
782
|
capabilityApproved: ...;
|
|
782
783
|
operations: ...;
|
|
784
|
+
fingerprints: ...;
|
|
783
785
|
resources: ...;
|
|
784
786
|
}>[];
|
|
785
787
|
approval: | Readonly<{
|
|
@@ -937,6 +939,7 @@ type InstallationOperations = Readonly<{
|
|
|
937
939
|
capability: ...;
|
|
938
940
|
capabilityApproved: ...;
|
|
939
941
|
operations: ...;
|
|
942
|
+
fingerprints: ...;
|
|
940
943
|
resources: ...;
|
|
941
944
|
}>[];
|
|
942
945
|
approval: | Readonly<{
|
|
@@ -1031,6 +1034,7 @@ type InstallationOperations = Readonly<{
|
|
|
1031
1034
|
capability: ...;
|
|
1032
1035
|
capabilityApproved: ...;
|
|
1033
1036
|
operations: ...;
|
|
1037
|
+
fingerprints: ...;
|
|
1034
1038
|
resources: ...;
|
|
1035
1039
|
}>[];
|
|
1036
1040
|
approval: | Readonly<{
|
|
@@ -1213,6 +1217,7 @@ type InstallationOperations = Readonly<{
|
|
|
1213
1217
|
| ...;
|
|
1214
1218
|
capabilityApproved: true;
|
|
1215
1219
|
operations: readonly ...[];
|
|
1220
|
+
fingerprints: Readonly<...>;
|
|
1216
1221
|
resources: ... | ...;
|
|
1217
1222
|
}>[];
|
|
1218
1223
|
approval: | Readonly<{
|
|
@@ -1249,6 +1254,7 @@ type InstallationOperations = Readonly<{
|
|
|
1249
1254
|
capability: ...;
|
|
1250
1255
|
capabilityApproved: ...;
|
|
1251
1256
|
operations: ...;
|
|
1257
|
+
fingerprints: ...;
|
|
1252
1258
|
resources: ...;
|
|
1253
1259
|
}>[];
|
|
1254
1260
|
approval: | Readonly<{
|
package/docs/api/mcp.md
CHANGED
|
@@ -379,15 +379,15 @@ Derive the current principal's admitted App modules and grants.
|
|
|
379
379
|
|
|
380
380
|
#### Parameters
|
|
381
381
|
|
|
382
|
-
| Parameter | Type
|
|
383
|
-
| --------------- |
|
|
384
|
-
| `host` | `Pick`\<[`OysterHost`](host.md#oysterhost), \| `"installations"` \| `"instances"` \| `"artifacts"` \| `"guestLimits"` \| `"backgroundOriginKey"` \| `"computerId"` \| `"capabilities"` \| `"appToolPolicy"` \| `"keys"` \| `"approvals"`\>
|
|
385
|
-
| `surfaces` | [`AppSurfaceCache`](#appsurfacecache)
|
|
386
|
-
| `principal` | [`TenantPrincipal`](tenant.md#tenantprincipal)
|
|
387
|
-
| `installations` | readonly `Readonly`\<\{ `installationId`: `string`; `instanceId`: [`InstanceId`](index.md#instanceid) \| `null`; `appId`: `AppId`; `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"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"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: ...; `id`: ...; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \}\>[] |
|
|
388
|
-
| `access` | [`OysterCallerAccess`](#oystercalleraccess)
|
|
389
|
-
| `sessionId` | `string` \| `null`
|
|
390
|
-
| `mode` | `"approval"` \| `"direct"`
|
|
382
|
+
| Parameter | Type |
|
|
383
|
+
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
384
|
+
| `host` | `Pick`\<[`OysterHost`](host.md#oysterhost), \| `"installations"` \| `"instances"` \| `"artifacts"` \| `"guestLimits"` \| `"backgroundOriginKey"` \| `"computerId"` \| `"capabilities"` \| `"appToolPolicy"` \| `"keys"` \| `"approvals"`\> |
|
|
385
|
+
| `surfaces` | [`AppSurfaceCache`](#appsurfacecache) |
|
|
386
|
+
| `principal` | [`TenantPrincipal`](tenant.md#tenantprincipal) |
|
|
387
|
+
| `installations` | readonly `Readonly`\<\{ `installationId`: `string`; `instanceId`: [`InstanceId`](index.md#instanceid) \| `null`; `appId`: `AppId`; `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"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"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: ...; `id`: ...; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \}\>[] |
|
|
388
|
+
| `access` | [`OysterCallerAccess`](#oystercalleraccess) |
|
|
389
|
+
| `sessionId` | `string` \| `null` |
|
|
390
|
+
| `mode` | `"approval"` \| `"direct"` |
|
|
391
391
|
|
|
392
392
|
#### Returns
|
|
393
393
|
|
|
@@ -434,13 +434,13 @@ installation authority or the caller's own grants.
|
|
|
434
434
|
|
|
435
435
|
#### Parameters
|
|
436
436
|
|
|
437
|
-
| Parameter | Type
|
|
438
|
-
| ------------------------- |
|
|
439
|
-
| `host` | `Pick`\<[`OysterHost`](host.md#oysterhost), \| `"installations"` \| `"instances"` \| `"artifacts"` \| `"guestLimits"` \| `"backgroundOriginKey"` \| `"computerId"` \| `"capabilities"` \| `"appToolPolicy"` \| `"keys"` \| `"approvals"`\>
|
|
440
|
-
| `principal` | [`TenantPrincipal`](tenant.md#tenantprincipal)
|
|
441
|
-
| `access` | [`OysterCallerAccess`](#oystercalleraccess)
|
|
442
|
-
| `surfaces` | [`AppSurfaceCache`](#appsurfacecache)
|
|
443
|
-
| `preloadedInstallations?` | readonly `Readonly`\<\{ `installationId`: `string`; `instanceId`: [`InstanceId`](index.md#instanceid) \| `null`; `appId`: `AppId`; `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"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"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `resources`: `"tenant-scope"` \| readonly `Readonly`\<...\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \}\>[] |
|
|
437
|
+
| Parameter | Type |
|
|
438
|
+
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
439
|
+
| `host` | `Pick`\<[`OysterHost`](host.md#oysterhost), \| `"installations"` \| `"instances"` \| `"artifacts"` \| `"guestLimits"` \| `"backgroundOriginKey"` \| `"computerId"` \| `"capabilities"` \| `"appToolPolicy"` \| `"keys"` \| `"approvals"`\> |
|
|
440
|
+
| `principal` | [`TenantPrincipal`](tenant.md#tenantprincipal) |
|
|
441
|
+
| `access` | [`OysterCallerAccess`](#oystercalleraccess) |
|
|
442
|
+
| `surfaces` | [`AppSurfaceCache`](#appsurfacecache) |
|
|
443
|
+
| `preloadedInstallations?` | readonly `Readonly`\<\{ `installationId`: `string`; `instanceId`: [`InstanceId`](index.md#instanceid) \| `null`; `appId`: `AppId`; `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"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"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: `"tenant-scope"` \| readonly `Readonly`\<...\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \}\>[] |
|
|
444
444
|
|
|
445
445
|
#### Returns
|
|
446
446
|
|
package/docs/api/workers.md
CHANGED
|
@@ -630,6 +630,7 @@ installationOperation(input): Promise<
|
|
|
630
630
|
capability: ...;
|
|
631
631
|
capabilityApproved: ...;
|
|
632
632
|
operations: ...;
|
|
633
|
+
fingerprints: ...;
|
|
633
634
|
resources: ...;
|
|
634
635
|
}>[];
|
|
635
636
|
approval: | Readonly<{
|
|
@@ -730,6 +731,7 @@ installationOperation(input): Promise<
|
|
|
730
731
|
capability: ...;
|
|
731
732
|
capabilityApproved: ...;
|
|
732
733
|
operations: ...;
|
|
734
|
+
fingerprints: ...;
|
|
733
735
|
resources: ...;
|
|
734
736
|
}>[];
|
|
735
737
|
approval: | Readonly<{
|
|
@@ -840,9 +842,9 @@ command for the caller's tenant scope.
|
|
|
840
842
|
|
|
841
843
|
###### Parameters
|
|
842
844
|
|
|
843
|
-
| Parameter | Type
|
|
844
|
-
| --------- |
|
|
845
|
-
| `input` | \| \{ `action`: `"admit"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `input`: \{ `requestId`: `string`; `installationId`: `string`; `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `actor`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `intent`: `"install-or-select"` \| `"install-or-remint"` \| `"create-only"`; `origin`: `"workflow"` \| `"owner-direct"`; \}; \} \| \{ `action`: `"read"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `requestId`: `string`; `installationId`: `string`; \} \| \{ `action`: `"await"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `requestId`: `string`; `installationId`: `string`; `waitMs`: `number`; \} \| \{ `action`: `"load"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `requestId`: `string`; \} \| \{ `action`: `"plan"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `requestId`: `string`; `installation`: \{ `installationId`: `string`; `instanceId`: [`InstanceId`](index.md#instanceid) \| `null`; `appId`: `AppId`; `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"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"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: ...; `id`: ...; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \}; `hasBackend`: `boolean`; \} \| \{ `action`: `"commit"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `requestId`: `string`; `uiCheck`: \| \{ `kind`: `"passed"`; \} \| \{ `kind`: `"failed"`; `code`: `"ui_mount_failed"`; `diagnostics?`: \{ `failedPredicate`: \| `"unexpected_candidate_request"` \| `"response_status"` \| `"request_failed"` \| `"page_error"` \| `"candidate_not_mounted"`; `errorName?`: \| `"Error"` \| `"TypeError"` \| `"RangeError"` \| `"SyntaxError"` \| `"AbortError"` \| `"TimeoutError"` \| `"Other"`; `finalUrlPath`: `string`; `consoleErrors`: `string`[]; `pageErrors`: `string`[]; `failedRequests`: `object`[]; `droppedCount`: `number`; \}; \} \| \{ `kind`: `"not_checked"`; `code`: \| `"boot_runner_unavailable"` \| `"boot_browser_binding_missing"` \| `"boot_clone_unavailable"` \| `"boot_timeout"` \| `"boot_cleanup_failed"` \| `"ui_check_not_run_on_host"`; \} \| `null`; \} |
|
|
845
|
+
| Parameter | Type |
|
|
846
|
+
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
847
|
+
| `input` | \| \{ `action`: `"admit"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `input`: \{ `requestId`: `string`; `installationId`: `string`; `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `actor`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `intent`: `"install-or-select"` \| `"install-or-remint"` \| `"create-only"`; `origin`: `"workflow"` \| `"owner-direct"`; \}; \} \| \{ `action`: `"read"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `requestId`: `string`; `installationId`: `string`; \} \| \{ `action`: `"await"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `requestId`: `string`; `installationId`: `string`; `waitMs`: `number`; \} \| \{ `action`: `"load"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `requestId`: `string`; \} \| \{ `action`: `"plan"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `requestId`: `string`; `installation`: \{ `installationId`: `string`; `instanceId`: [`InstanceId`](index.md#instanceid) \| `null`; `appId`: `AppId`; `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"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"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: ...; `id`: ...; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \}; `hasBackend`: `boolean`; \} \| \{ `action`: `"commit"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `requestId`: `string`; `uiCheck`: \| \{ `kind`: `"passed"`; \} \| \{ `kind`: `"failed"`; `code`: `"ui_mount_failed"`; `diagnostics?`: \{ `failedPredicate`: \| `"unexpected_candidate_request"` \| `"response_status"` \| `"request_failed"` \| `"page_error"` \| `"candidate_not_mounted"`; `errorName?`: \| `"Error"` \| `"TypeError"` \| `"RangeError"` \| `"SyntaxError"` \| `"AbortError"` \| `"TimeoutError"` \| `"Other"`; `finalUrlPath`: `string`; `consoleErrors`: `string`[]; `pageErrors`: `string`[]; `failedRequests`: `object`[]; `droppedCount`: `number`; \}; \} \| \{ `kind`: `"not_checked"`; `code`: \| `"boot_runner_unavailable"` \| `"boot_browser_binding_missing"` \| `"boot_clone_unavailable"` \| `"boot_timeout"` \| `"boot_cleanup_failed"` \| `"ui_check_not_run_on_host"`; \} \| `null`; \} |
|
|
846
848
|
|
|
847
849
|
###### Returns
|
|
848
850
|
|
|
@@ -888,24 +890,25 @@ command for the caller's tenant scope.
|
|
|
888
890
|
\}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{
|
|
889
891
|
`authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`;
|
|
890
892
|
`approvedGrants`: readonly `Readonly`\<\{ `capability`: ...;
|
|
891
|
-
`capabilityApproved`: ...; `operations`: ...; `
|
|
892
|
-
`approval`: \| `Readonly`\<\{ `by`: ...; `at`: ...;
|
|
893
|
-
\}\> \| `null`; \}; `status`: `"enabled"` \|
|
|
894
|
-
`null`; \} \| \{ `requestId`: `string`;
|
|
895
|
-
`
|
|
896
|
-
`AppId`; `artifact`: \{ `artifactRef`:
|
|
897
|
-
`Sha256Digest`; `provenance`: \{
|
|
898
|
-
`sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \};
|
|
899
|
-
\}; `state`: `"pending"`; \} \| `null`; \} \| \{ `kind`: `"command"`; `command`:
|
|
900
|
-
\| \{ `admission`: \{ `requestId`: `string`; `installationId`: `string`;
|
|
901
|
-
`release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{
|
|
902
|
-
`artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{
|
|
893
|
+
`capabilityApproved`: ...; `operations`: ...; `fingerprints`: ...; `resources`:
|
|
894
|
+
...; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: ...; `at`: ...;
|
|
895
|
+
`authorityVersion`: ...; \}\> \| `null`; \}; `status`: `"enabled"` \|
|
|
896
|
+
`"disabled"` \| `"deleted"`; \} \| `null`; \} \| \{ `requestId`: `string`;
|
|
897
|
+
`requestedInstallationId`: `string`; `installationId`: `string`; `release`: \{
|
|
898
|
+
`releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`:
|
|
899
|
+
`ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{
|
|
903
900
|
`sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`;
|
|
904
|
-
`buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `
|
|
905
|
-
`
|
|
906
|
-
`string`;
|
|
907
|
-
`
|
|
908
|
-
`
|
|
901
|
+
`buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `state`: `"pending"`; \} \|
|
|
902
|
+
`null`; \} \| \{ `kind`: `"command"`; `command`: \| \{ `admission`: \{
|
|
903
|
+
`requestId`: `string`; `installationId`: `string`; `release`: \{ `releaseId`:
|
|
904
|
+
`ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`;
|
|
905
|
+
`artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`:
|
|
906
|
+
`SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`:
|
|
907
|
+
`Sha256Digest`; \}; \}; \}; `actor`: \| \{ `kind`: `"member"`; `memberId`:
|
|
908
|
+
`string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`:
|
|
909
|
+
`"team-key"`; `keyId`: `string`; \}; `intent`: `"install-or-select"` \|
|
|
910
|
+
`"install-or-remint"` \| `"create-only"`; `origin`: `"workflow"` \|
|
|
911
|
+
`"owner-direct"`; \}; `scope`: \{ `tenantId`: `string` &
|
|
909
912
|
`Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `installationId`:
|
|
910
913
|
`string`; `instanceId`: [`InstanceId`](index.md#instanceid); `generation`:
|
|
911
914
|
`string`; `baseline`: \| \{ `installationId`: `string`; `instanceId`:
|
|
@@ -917,20 +920,21 @@ command for the caller's tenant scope.
|
|
|
917
920
|
`"floating"`; `authority`: \{ `authorityVersion`: `number`;
|
|
918
921
|
`declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly
|
|
919
922
|
`Readonly`\<\{ `capability`: ...; `capabilityApproved`: ...; `operations`: ...;
|
|
920
|
-
`resources`: ...; \}\>[]; `approval`: \| `Readonly`\<\{
|
|
921
|
-
`authorityVersion`: ...; \}\> \| `null`; \}; `status`:
|
|
922
|
-
`"disabled"` \| `"deleted"`; \} \| `null`; `acceptedAt`:
|
|
923
|
-
`"fresh"` \| `"replacement"` \| `"reminted"`; `plan`: \|
|
|
924
|
-
`installationId`: `string`; `instanceId`:
|
|
925
|
-
`null`; `appId`: `AppId`; `release`: \{
|
|
926
|
-
`AppId`; `artifact`: \{ `artifactRef`:
|
|
927
|
-
`
|
|
928
|
-
`
|
|
929
|
-
|
|
930
|
-
`
|
|
931
|
-
`
|
|
932
|
-
`
|
|
933
|
-
|
|
923
|
+
`fingerprints`: ...; `resources`: ...; \}\>[]; `approval`: \| `Readonly`\<\{
|
|
924
|
+
`by`: ...; `at`: ...; `authorityVersion`: ...; \}\> \| `null`; \}; `status`:
|
|
925
|
+
`"enabled"` \| `"disabled"` \| `"deleted"`; \} \| `null`; `acceptedAt`:
|
|
926
|
+
`number`; `creation`: `"fresh"` \| `"replacement"` \| `"reminted"`; `plan`: \|
|
|
927
|
+
\{ `installation`: \{ `installationId`: `string`; `instanceId`:
|
|
928
|
+
[`InstanceId`](index.md#instanceid) \| `null`; `appId`: `AppId`; `release`: \{
|
|
929
|
+
`releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`:
|
|
930
|
+
`ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{
|
|
931
|
+
`sourceRevision`: ...; `sourceTreeDigest`: ...; `buildRecipeDigest`: ...; \};
|
|
932
|
+
\}; \}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{
|
|
933
|
+
`authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`;
|
|
934
|
+
`approvedGrants`: readonly `Readonly`\<...\>[]; `approval`: `Readonly`\<...\> \|
|
|
935
|
+
`null`; \}; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \};
|
|
936
|
+
`hasBackend`: `boolean`; `prepared`: `boolean`; `uiCheck?`: \| \{ `kind`:
|
|
937
|
+
`"passed"`; \} \| \{ `kind`: `"failed"`; `code`: `"ui_mount_failed"`;
|
|
934
938
|
`diagnostics?`: \{ `failedPredicate`: ...; `errorName?`: ...; `finalUrlPath`:
|
|
935
939
|
...; `consoleErrors`: ...; `pageErrors`: ...; `failedRequests`: ...;
|
|
936
940
|
`droppedCount`: ...; \}; \} \| \{ `kind`: `"not_checked"`; `code`: \|
|
|
@@ -1224,6 +1228,7 @@ list(): Readonly<{
|
|
|
1224
1228
|
| "channels.personal.manage";
|
|
1225
1229
|
capabilityApproved: true;
|
|
1226
1230
|
operations: readonly string[];
|
|
1231
|
+
fingerprints: Readonly<Record<string, string>>;
|
|
1227
1232
|
resources: | "tenant-scope"
|
|
1228
1233
|
| readonly Readonly<{
|
|
1229
1234
|
kind: ...;
|
|
@@ -1274,7 +1279,8 @@ Every installation record.
|
|
|
1274
1279
|
`"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \|
|
|
1275
1280
|
`"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
1276
1281
|
`"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`:
|
|
1277
|
-
readonly `string`[]; `
|
|
1282
|
+
readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`,
|
|
1283
|
+
`string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{
|
|
1278
1284
|
`kind`: ...; `id`: ...; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \|
|
|
1279
1285
|
\{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`;
|
|
1280
1286
|
`agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`:
|
|
@@ -1340,6 +1346,7 @@ get(installationId):
|
|
|
1340
1346
|
| "channels.personal.manage";
|
|
1341
1347
|
capabilityApproved: true;
|
|
1342
1348
|
operations: readonly string[];
|
|
1349
|
+
fingerprints: Readonly<Record<string, string>>;
|
|
1343
1350
|
resources: | "tenant-scope"
|
|
1344
1351
|
| readonly Readonly<{
|
|
1345
1352
|
kind: ...;
|
|
@@ -1397,7 +1404,8 @@ One installation record, or `null`.
|
|
|
1397
1404
|
`"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \|
|
|
1398
1405
|
`"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
1399
1406
|
`"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`:
|
|
1400
|
-
readonly `string`[]; `
|
|
1407
|
+
readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`,
|
|
1408
|
+
`string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{
|
|
1401
1409
|
`kind`: ...; `id`: ...; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \|
|
|
1402
1410
|
\{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`;
|
|
1403
1411
|
`agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`:
|
|
@@ -2362,6 +2370,7 @@ run(): Promise<
|
|
|
2362
2370
|
| "channels.personal.manage";
|
|
2363
2371
|
capabilityApproved: true;
|
|
2364
2372
|
operations: readonly string[];
|
|
2373
|
+
fingerprints: Readonly<Record<string, string>>;
|
|
2365
2374
|
resources: "tenant-scope" | readonly Readonly<...>[];
|
|
2366
2375
|
}>[];
|
|
2367
2376
|
approval: | Readonly<{
|
|
@@ -2455,14 +2464,15 @@ Execute the retained command these props name, in its tenant scope.
|
|
|
2455
2464
|
`"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \|
|
|
2456
2465
|
`"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
2457
2466
|
`"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`:
|
|
2458
|
-
readonly `string`[]; `
|
|
2459
|
-
`
|
|
2460
|
-
|
|
2461
|
-
`string`; \} \| \{ `kind`: `"
|
|
2462
|
-
`
|
|
2463
|
-
`
|
|
2464
|
-
`"
|
|
2465
|
-
`
|
|
2467
|
+
readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`,
|
|
2468
|
+
`string`\>\>; `resources`: `"tenant-scope"` \| readonly `Readonly`\<...\>[];
|
|
2469
|
+
\}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`;
|
|
2470
|
+
`memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{
|
|
2471
|
+
`kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`:
|
|
2472
|
+
`number`; \}\> \| `null`; \}; `status`: `"enabled"` \| `"disabled"` \|
|
|
2473
|
+
`"deleted"`; \}; `creation`: `"fresh"` \| `"replacement"` \| `"reminted"`;
|
|
2474
|
+
`uiCheck`: \| \{ `kind`: `"passed"`; \} \| \{ `kind`: `"failed"`; `code`:
|
|
2475
|
+
`"ui_mount_failed"`; `diagnostics?`: \{ `failedPredicate`: \|
|
|
2466
2476
|
`"unexpected_candidate_request"` \| `"response_status"` \| `"request_failed"` \|
|
|
2467
2477
|
`"page_error"` \| `"candidate_not_mounted"`; `errorName?`: \| `"Error"` \|
|
|
2468
2478
|
`"TypeError"` \| `"RangeError"` \| `"SyntaxError"` \| `"AbortError"` \|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/oyster",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.2",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Oyster by Fungi: open-source Apps for people and AI agents. Try with one command or run on your own Cloudflare account.",
|
|
6
6
|
"homepage": "https://docs.fungi.computer/oyster",
|
|
@@ -346,37 +346,37 @@
|
|
|
346
346
|
"dependencies": {
|
|
347
347
|
"@cfworker/json-schema": "4.1.1",
|
|
348
348
|
"@earendil-works/pi-ai": "1.3.0",
|
|
349
|
-
"@fungi.computer/agar": "0.
|
|
349
|
+
"@fungi.computer/agar": "0.15.0",
|
|
350
350
|
"@fungi.computer/bird-dog": "0.3.6",
|
|
351
|
-
"@fungi.computer/braid": "0.4.
|
|
351
|
+
"@fungi.computer/braid": "0.4.16",
|
|
352
352
|
"@fungi.computer/burrow": "0.2.1",
|
|
353
353
|
"@fungi.computer/cairn": "0.1.0",
|
|
354
354
|
"@fungi.computer/capnweb": "0.12.0-fungi.0",
|
|
355
|
-
"@fungi.computer/caps": "0.11.
|
|
355
|
+
"@fungi.computer/caps": "0.11.5",
|
|
356
356
|
"@fungi.computer/carrier": "0.2.4",
|
|
357
357
|
"@fungi.computer/computer": "0.12.1",
|
|
358
358
|
"@fungi.computer/computer-contract": "0.4.0",
|
|
359
|
-
"@fungi.computer/darkroom": "0.
|
|
359
|
+
"@fungi.computer/darkroom": "0.9.0",
|
|
360
360
|
"@fungi.computer/ear-tag": "0.1.0",
|
|
361
361
|
"@fungi.computer/forage": "0.3.8",
|
|
362
362
|
"@fungi.computer/gills": "0.3.0",
|
|
363
363
|
"@fungi.computer/knapsack": "0.4.12",
|
|
364
364
|
"@fungi.computer/lantern": "0.4.2",
|
|
365
365
|
"@fungi.computer/mycelium": "0.3.11",
|
|
366
|
-
"@fungi.computer/nacre": "0.6.
|
|
367
|
-
"@fungi.computer/parakeet": "0.11.
|
|
366
|
+
"@fungi.computer/nacre": "0.6.3",
|
|
367
|
+
"@fungi.computer/parakeet": "0.11.29",
|
|
368
368
|
"@fungi.computer/puffball": "0.8.0",
|
|
369
369
|
"@fungi.computer/seam": "0.2.5",
|
|
370
|
-
"@fungi.computer/shiitake": "0.
|
|
371
|
-
"@fungi.computer/shiitake-extensions": "0.9.
|
|
370
|
+
"@fungi.computer/shiitake": "0.17.0",
|
|
371
|
+
"@fungi.computer/shiitake-extensions": "0.9.3",
|
|
372
372
|
"@fungi.computer/sigils": "0.3.2",
|
|
373
373
|
"@fungi.computer/sprite": "0.2.2",
|
|
374
374
|
"@fungi.computer/sprite-zdog": "0.3.2",
|
|
375
375
|
"@fungi.computer/veil": "0.7.3",
|
|
376
376
|
"@fungi.computer/watchdog": "0.1.3",
|
|
377
377
|
"@fungi.computer/whistle": "0.3.0",
|
|
378
|
-
"@fungi.computer/workflows-wire": "0.4.
|
|
379
|
-
"@fungi.computer/zookeeper": "0.0.
|
|
378
|
+
"@fungi.computer/workflows-wire": "0.4.16",
|
|
379
|
+
"@fungi.computer/zookeeper": "0.0.28",
|
|
380
380
|
"@modelcontextprotocol/server": "2.0.0",
|
|
381
381
|
"@pnpm/lockfile.fs": "1100.2.13",
|
|
382
382
|
"@pnpm/lockfile.pruner": "1100.0.27",
|