@fungi.computer/oyster 0.31.2 → 0.33.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/README.md +59 -0
- package/dist/agent-computer-source.d.ts +1 -0
- package/dist/agent-computer-source.js +1 -0
- package/dist/app-test-copies.d.ts +87 -0
- package/dist/app-test-copies.js +170 -0
- package/dist/app-test-copy-page.d.ts +4 -0
- package/dist/app-test-copy-page.js +89 -0
- package/dist/apps/installation.js +19 -14
- package/dist/browser/operations.d.ts +1 -1
- package/dist/cloudflare.d.ts +68 -3
- package/dist/cloudflare.js +214 -3
- package/dist/embed-metafiles.js +2 -2
- package/dist/embed-scripts.js +2 -2
- package/dist/host.d.ts +16 -0
- package/dist/host.js +309 -1
- package/dist/installation-operations.d.ts +247 -8
- package/dist/installation-operations.js +145 -7
- package/dist/installation-recovery-page.d.ts +24 -0
- package/dist/installation-recovery-page.js +168 -0
- package/dist/older-oyster-store.d.ts +1 -1
- package/dist/older-oyster-store.js +2 -4
- package/dist/page/mount.d.ts +2 -101
- package/dist/page/mount.js +1 -22
- package/dist/page-config.d.ts +102 -0
- package/dist/page-config.js +24 -0
- package/dist/page-script.js +1 -1
- package/dist/platform-skills.generated.d.ts +11 -0
- package/dist/platform-skills.generated.js +16 -0
- package/dist/recovery-style.d.ts +5 -0
- package/dist/recovery-style.js +32 -0
- package/dist/standalone/agents.d.ts +1 -1
- package/dist/standalone/agents.js +1 -0
- package/dist/standalone/computer-skill-source.d.ts +13 -2
- package/dist/standalone/computer-skill-source.js +80 -6
- package/dist/standalone/workflow-host.d.ts +4 -4
- package/dist/standalone/workflows.d.ts +9 -9
- package/dist/storage-frame.d.ts +3 -3
- package/dist/upgrade/old-worker-http.d.ts +2 -0
- package/dist/upgrade/old-worker-http.js +22 -0
- package/dist/upgrade/old-worker-readonly.d.ts +14 -0
- package/dist/upgrade/old-worker-readonly.js +22 -0
- package/dist/upgrade/old-worker-sql.d.ts +10 -0
- package/dist/upgrade/old-worker-sql.js +68 -0
- package/dist/upgrade/old-worker-stream.d.ts +12 -0
- package/dist/upgrade/old-worker-stream.js +54 -0
- package/dist/upgrade/private-stage.d.ts +23 -0
- package/dist/upgrade/private-stage.js +109 -0
- package/dist/upgrade/standalone-001.d.ts +16 -0
- package/dist/upgrade/standalone-001.js +31 -0
- package/dist/upgrade/standalone-01.d.ts +37 -0
- package/dist/upgrade/standalone-01.js +55 -0
- package/dist/upgrade/standalone-02.d.ts +37 -0
- package/dist/upgrade/standalone-02.js +55 -0
- package/dist/workers.d.ts +16 -2
- package/dist/workers.js +117 -7
- package/docs/api/README.md +8 -3
- package/docs/api/apps.md +33 -33
- package/docs/api/cloudflare.md +57 -0
- package/docs/api/host.md +223 -14
- package/docs/api/page/mount.md +10 -78
- package/docs/api/workers-git.md +246 -1
- package/docs/api/workers.md +352 -14
- package/package.json +23 -10
package/docs/api/workers.md
CHANGED
|
@@ -493,6 +493,62 @@ it.
|
|
|
493
493
|
|
|
494
494
|
```ts
|
|
495
495
|
installationOperation(input): Promise<
|
|
496
|
+
| {
|
|
497
|
+
kind: "recovery";
|
|
498
|
+
recovery: | {
|
|
499
|
+
authorityVersion: number;
|
|
500
|
+
storeGeneration: string;
|
|
501
|
+
release: {
|
|
502
|
+
releaseId: ReleaseId;
|
|
503
|
+
appId: AppId;
|
|
504
|
+
artifact: {
|
|
505
|
+
artifactRef: ArtifactRef;
|
|
506
|
+
artifactDigest: Sha256Digest;
|
|
507
|
+
provenance: {
|
|
508
|
+
sourceRevision: SourceRevision;
|
|
509
|
+
sourceTreeDigest: Sha256Digest;
|
|
510
|
+
buildRecipeDigest: Sha256Digest;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
uiCheck: | {
|
|
515
|
+
kind: "passed";
|
|
516
|
+
}
|
|
517
|
+
| {
|
|
518
|
+
kind: "failed";
|
|
519
|
+
code: "ui_mount_failed";
|
|
520
|
+
diagnostics?: {
|
|
521
|
+
failedPredicate: | "unexpected_candidate_request"
|
|
522
|
+
| "response_status"
|
|
523
|
+
| "request_failed"
|
|
524
|
+
| "page_error"
|
|
525
|
+
| "candidate_not_mounted";
|
|
526
|
+
errorName?: | "Error"
|
|
527
|
+
| "TypeError"
|
|
528
|
+
| "RangeError"
|
|
529
|
+
| "SyntaxError"
|
|
530
|
+
| "AbortError"
|
|
531
|
+
| "TimeoutError"
|
|
532
|
+
| "Other";
|
|
533
|
+
finalUrlPath: string;
|
|
534
|
+
consoleErrors: string[];
|
|
535
|
+
pageErrors: string[];
|
|
536
|
+
failedRequests: object[];
|
|
537
|
+
droppedCount: number;
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
| {
|
|
541
|
+
kind: "not_checked";
|
|
542
|
+
code: | "boot_runner_unavailable"
|
|
543
|
+
| "boot_browser_binding_missing"
|
|
544
|
+
| "boot_clone_unavailable"
|
|
545
|
+
| "boot_timeout"
|
|
546
|
+
| "boot_cleanup_failed"
|
|
547
|
+
| "ui_check_not_run_on_host";
|
|
548
|
+
};
|
|
549
|
+
}
|
|
550
|
+
| null;
|
|
551
|
+
}
|
|
496
552
|
| {
|
|
497
553
|
kind: "refused";
|
|
498
554
|
code: | "request_conflict"
|
|
@@ -668,7 +724,7 @@ installationOperation(input): Promise<
|
|
|
668
724
|
| {
|
|
669
725
|
kind: "command";
|
|
670
726
|
command: | {
|
|
671
|
-
admission: {
|
|
727
|
+
admission: | {
|
|
672
728
|
requestId: string;
|
|
673
729
|
installationId: string;
|
|
674
730
|
release: {
|
|
@@ -698,7 +754,40 @@ installationOperation(input): Promise<
|
|
|
698
754
|
};
|
|
699
755
|
intent: "install-or-select" | "install-or-remint" | "create-only";
|
|
700
756
|
origin: "workflow" | "owner-direct";
|
|
701
|
-
|
|
757
|
+
}
|
|
758
|
+
| {
|
|
759
|
+
authorityVersion: number;
|
|
760
|
+
storeGeneration: string;
|
|
761
|
+
requestId: string;
|
|
762
|
+
installationId: string;
|
|
763
|
+
actor: | {
|
|
764
|
+
kind: "member";
|
|
765
|
+
memberId: string;
|
|
766
|
+
}
|
|
767
|
+
| {
|
|
768
|
+
kind: "agent";
|
|
769
|
+
agentId: string;
|
|
770
|
+
}
|
|
771
|
+
| {
|
|
772
|
+
kind: "team-key";
|
|
773
|
+
keyId: string;
|
|
774
|
+
};
|
|
775
|
+
intent: "rollback";
|
|
776
|
+
origin: "owner-direct";
|
|
777
|
+
release: {
|
|
778
|
+
releaseId: ReleaseId;
|
|
779
|
+
appId: AppId;
|
|
780
|
+
artifact: {
|
|
781
|
+
artifactRef: ArtifactRef;
|
|
782
|
+
artifactDigest: Sha256Digest;
|
|
783
|
+
provenance: {
|
|
784
|
+
sourceRevision: SourceRevision;
|
|
785
|
+
sourceTreeDigest: Sha256Digest;
|
|
786
|
+
buildRecipeDigest: Sha256Digest;
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
};
|
|
702
791
|
scope: {
|
|
703
792
|
tenantId: string & Brand<"OysterTenantId">;
|
|
704
793
|
origin: string;
|
|
@@ -842,19 +931,35 @@ command for the caller's tenant scope.
|
|
|
842
931
|
|
|
843
932
|
###### Parameters
|
|
844
933
|
|
|
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`; \} |
|
|
934
|
+
| Parameter | Type |
|
|
935
|
+
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
936
|
+
| `input` | \| \{ `action`: `"recovery"`; `scope`: \{ `tenantId`: `string` & `Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `installationId`: `string`; \} \| \{ `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"`; \} \| \{ `authorityVersion`: `number`; `storeGeneration`: `string`; `requestId`: `string`; `installationId`: `string`; `actor`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `intent`: `"rollback"`; `origin`: `"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`; \} |
|
|
848
937
|
|
|
849
938
|
###### Returns
|
|
850
939
|
|
|
851
|
-
`Promise`\< \| \{ `kind`: `"
|
|
852
|
-
`
|
|
853
|
-
`
|
|
854
|
-
`
|
|
855
|
-
`
|
|
856
|
-
\{ `
|
|
857
|
-
|
|
940
|
+
`Promise`\< \| \{ `kind`: `"recovery"`; `recovery`: \| \{ `authorityVersion`:
|
|
941
|
+
`number`; `storeGeneration`: `string`; `release`: \{ `releaseId`: `ReleaseId`;
|
|
942
|
+
`appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`:
|
|
943
|
+
`Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`;
|
|
944
|
+
`sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \};
|
|
945
|
+
\}; `uiCheck`: \| \{ `kind`: `"passed"`; \} \| \{ `kind`: `"failed"`; `code`:
|
|
946
|
+
`"ui_mount_failed"`; `diagnostics?`: \{ `failedPredicate`: \|
|
|
947
|
+
`"unexpected_candidate_request"` \| `"response_status"` \| `"request_failed"` \|
|
|
948
|
+
`"page_error"` \| `"candidate_not_mounted"`; `errorName?`: \| `"Error"` \|
|
|
949
|
+
`"TypeError"` \| `"RangeError"` \| `"SyntaxError"` \| `"AbortError"` \|
|
|
950
|
+
`"TimeoutError"` \| `"Other"`; `finalUrlPath`: `string`; `consoleErrors`:
|
|
951
|
+
`string`[]; `pageErrors`: `string`[]; `failedRequests`: `object`[];
|
|
952
|
+
`droppedCount`: `number`; \}; \} \| \{ `kind`: `"not_checked"`; `code`: \|
|
|
953
|
+
`"boot_runner_unavailable"` \| `"boot_browser_binding_missing"` \|
|
|
954
|
+
`"boot_clone_unavailable"` \| `"boot_timeout"` \| `"boot_cleanup_failed"` \|
|
|
955
|
+
`"ui_check_not_run_on_host"`; \}; \} \| `null`; \} \| \{ `kind`: `"refused"`;
|
|
956
|
+
`code`: \| `"request_conflict"` \| `"unavailable"` \| `"stale_authority"` \|
|
|
957
|
+
`"needs_consent"` \| `"stored_operation_invalid"`; \} \| \{ `kind`:
|
|
958
|
+
`"operation"`; `operation`: \| \{ `requestId`: `string`;
|
|
959
|
+
`requestedInstallationId`: `string`; `installationId`: `string`; `release`: \{
|
|
960
|
+
`releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`:
|
|
961
|
+
`ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{
|
|
962
|
+
`sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`;
|
|
858
963
|
`buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `state`: `"refused"`; `status`:
|
|
859
964
|
`number`; `code`: `string`; \} \| \{ `requestId`: `string`;
|
|
860
965
|
`requestedInstallationId`: `string`; `installationId`: `string`; `release`: \{
|
|
@@ -899,7 +1004,7 @@ command for the caller's tenant scope.
|
|
|
899
1004
|
`ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{
|
|
900
1005
|
`sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`;
|
|
901
1006
|
`buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `state`: `"pending"`; \} \|
|
|
902
|
-
`null`; \} \| \{ `kind`: `"command"`; `command`: \| \{ `admission`: \{
|
|
1007
|
+
`null`; \} \| \{ `kind`: `"command"`; `command`: \| \{ `admission`: \| \{
|
|
903
1008
|
`requestId`: `string`; `installationId`: `string`; `release`: \{ `releaseId`:
|
|
904
1009
|
`ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`;
|
|
905
1010
|
`artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`:
|
|
@@ -908,7 +1013,15 @@ command for the caller's tenant scope.
|
|
|
908
1013
|
`string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`:
|
|
909
1014
|
`"team-key"`; `keyId`: `string`; \}; `intent`: `"install-or-select"` \|
|
|
910
1015
|
`"install-or-remint"` \| `"create-only"`; `origin`: `"workflow"` \|
|
|
911
|
-
`"owner-direct"`; \}
|
|
1016
|
+
`"owner-direct"`; \} \| \{ `authorityVersion`: `number`; `storeGeneration`:
|
|
1017
|
+
`string`; `requestId`: `string`; `installationId`: `string`; `actor`: \| \{
|
|
1018
|
+
`kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`:
|
|
1019
|
+
`string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `intent`:
|
|
1020
|
+
`"rollback"`; `origin`: `"owner-direct"`; `release`: \{ `releaseId`:
|
|
1021
|
+
`ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`;
|
|
1022
|
+
`artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`:
|
|
1023
|
+
`SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`:
|
|
1024
|
+
`Sha256Digest`; \}; \}; \}; \}; `scope`: \{ `tenantId`: `string` &
|
|
912
1025
|
`Brand`\<`"OysterTenantId"`\>; `origin`: `string`; \}; `installationId`:
|
|
913
1026
|
`string`; `instanceId`: [`InstanceId`](index.md#instanceid); `generation`:
|
|
914
1027
|
`string`; `baseline`: \| \{ `installationId`: `string`; `instanceId`:
|
|
@@ -1598,6 +1711,231 @@ DurableObject<Env>.constructor
|
|
|
1598
1711
|
|
|
1599
1712
|
#### Methods
|
|
1600
1713
|
|
|
1714
|
+
##### openTestCopy()
|
|
1715
|
+
|
|
1716
|
+
```ts
|
|
1717
|
+
openTestCopy(
|
|
1718
|
+
authority,
|
|
1719
|
+
requestId,
|
|
1720
|
+
tenantId?
|
|
1721
|
+
): Promise<InstanceResult<{
|
|
1722
|
+
selection: {
|
|
1723
|
+
instanceId: InstanceId;
|
|
1724
|
+
owner: {
|
|
1725
|
+
kind: "installation" | "deployment";
|
|
1726
|
+
id: string;
|
|
1727
|
+
};
|
|
1728
|
+
appId: AppId;
|
|
1729
|
+
releaseId: ReleaseId;
|
|
1730
|
+
authorityVersion: number;
|
|
1731
|
+
};
|
|
1732
|
+
storeGeneration: string;
|
|
1733
|
+
copyId: string;
|
|
1734
|
+
expiresAt: number;
|
|
1735
|
+
}>>;
|
|
1736
|
+
```
|
|
1737
|
+
|
|
1738
|
+
Open only under the existing Instance serialization and pinned tenant.
|
|
1739
|
+
|
|
1740
|
+
###### Parameters
|
|
1741
|
+
|
|
1742
|
+
| Parameter | Type | Default value |
|
|
1743
|
+
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
|
|
1744
|
+
| `authority` | \{ `selection`: \{ `instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`; `releaseId`: `ReleaseId`; `authorityVersion`: `number`; \}; `storeGeneration`: `string`; \} | `undefined` |
|
|
1745
|
+
| `authority.selection` | \{ `instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`; `releaseId`: `ReleaseId`; `authorityVersion`: `number`; \} | `...` |
|
|
1746
|
+
| `authority.selection.instanceId` | [`InstanceId`](index.md#instanceid) | `instanceIdSchema` |
|
|
1747
|
+
| `authority.selection.owner` | \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \} | `ownerSchema` |
|
|
1748
|
+
| `authority.selection.owner.kind` | `"installation"` \| `"deployment"` | `...` |
|
|
1749
|
+
| `authority.selection.owner.id` | `string` | `Schema.NonEmptyString` |
|
|
1750
|
+
| `authority.selection.appId` | `AppId` | `appIdSchema` |
|
|
1751
|
+
| `authority.selection.releaseId` | `ReleaseId` | `releaseIdSchema` |
|
|
1752
|
+
| `authority.selection.authorityVersion` | `number` | `...` |
|
|
1753
|
+
| `authority.storeGeneration` | `string` | `...` |
|
|
1754
|
+
| `requestId` | `string` | `undefined` |
|
|
1755
|
+
| `tenantId` | `string` & `Brand`\<`"OysterTenantId"`\> | `defaultTenant` |
|
|
1756
|
+
|
|
1757
|
+
###### Returns
|
|
1758
|
+
|
|
1759
|
+
`Promise`\<[`InstanceResult`](host.md#instanceresult)\<\{ `selection`: \{
|
|
1760
|
+
`instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`:
|
|
1761
|
+
`"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`;
|
|
1762
|
+
`releaseId`: `ReleaseId`; `authorityVersion`: `number`; \}; `storeGeneration`:
|
|
1763
|
+
`string`; `copyId`: `string`; `expiresAt`: `number`; \}\>\>
|
|
1764
|
+
|
|
1765
|
+
##### inspectTestCopy()
|
|
1766
|
+
|
|
1767
|
+
```ts
|
|
1768
|
+
inspectTestCopy(authority, tenantId?): Promise<InstanceResult<
|
|
1769
|
+
| {
|
|
1770
|
+
selection: {
|
|
1771
|
+
instanceId: InstanceId;
|
|
1772
|
+
owner: {
|
|
1773
|
+
kind: "installation" | "deployment";
|
|
1774
|
+
id: string;
|
|
1775
|
+
};
|
|
1776
|
+
appId: AppId;
|
|
1777
|
+
releaseId: ReleaseId;
|
|
1778
|
+
authorityVersion: number;
|
|
1779
|
+
};
|
|
1780
|
+
storeGeneration: string;
|
|
1781
|
+
copyId: string;
|
|
1782
|
+
expiresAt: number;
|
|
1783
|
+
}
|
|
1784
|
+
| null>>;
|
|
1785
|
+
```
|
|
1786
|
+
|
|
1787
|
+
Observation rechecks both applied selection and current registry incarnation.
|
|
1788
|
+
|
|
1789
|
+
###### Parameters
|
|
1790
|
+
|
|
1791
|
+
| Parameter | Type | Default value |
|
|
1792
|
+
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
|
|
1793
|
+
| `authority` | \{ `selection`: \{ `instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`; `releaseId`: `ReleaseId`; `authorityVersion`: `number`; \}; `storeGeneration`: `string`; \} | `undefined` |
|
|
1794
|
+
| `authority.selection` | \{ `instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`; `releaseId`: `ReleaseId`; `authorityVersion`: `number`; \} | `...` |
|
|
1795
|
+
| `authority.selection.instanceId` | [`InstanceId`](index.md#instanceid) | `instanceIdSchema` |
|
|
1796
|
+
| `authority.selection.owner` | \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \} | `ownerSchema` |
|
|
1797
|
+
| `authority.selection.owner.kind` | `"installation"` \| `"deployment"` | `...` |
|
|
1798
|
+
| `authority.selection.owner.id` | `string` | `Schema.NonEmptyString` |
|
|
1799
|
+
| `authority.selection.appId` | `AppId` | `appIdSchema` |
|
|
1800
|
+
| `authority.selection.releaseId` | `ReleaseId` | `releaseIdSchema` |
|
|
1801
|
+
| `authority.selection.authorityVersion` | `number` | `...` |
|
|
1802
|
+
| `authority.storeGeneration` | `string` | `...` |
|
|
1803
|
+
| `tenantId` | `string` & `Brand`\<`"OysterTenantId"`\> | `defaultTenant` |
|
|
1804
|
+
|
|
1805
|
+
###### Returns
|
|
1806
|
+
|
|
1807
|
+
`Promise`\<[`InstanceResult`](host.md#instanceresult)\< \| \{ `selection`: \{
|
|
1808
|
+
`instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`:
|
|
1809
|
+
`"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`;
|
|
1810
|
+
`releaseId`: `ReleaseId`; `authorityVersion`: `number`; \}; `storeGeneration`:
|
|
1811
|
+
`string`; `copyId`: `string`; `expiresAt`: `number`; \} \| `null`\>\>
|
|
1812
|
+
|
|
1813
|
+
##### discardTestCopy()
|
|
1814
|
+
|
|
1815
|
+
```ts
|
|
1816
|
+
discardTestCopy(
|
|
1817
|
+
authority,
|
|
1818
|
+
copyId,
|
|
1819
|
+
tenantId?
|
|
1820
|
+
): Promise<InstanceResult<boolean>>;
|
|
1821
|
+
```
|
|
1822
|
+
|
|
1823
|
+
A delayed discard cannot target a later sibling.
|
|
1824
|
+
|
|
1825
|
+
###### Parameters
|
|
1826
|
+
|
|
1827
|
+
| Parameter | Type | Default value |
|
|
1828
|
+
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
|
|
1829
|
+
| `authority` | \{ `selection`: \{ `instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`; `releaseId`: `ReleaseId`; `authorityVersion`: `number`; \}; `storeGeneration`: `string`; \} | `undefined` |
|
|
1830
|
+
| `authority.selection` | \{ `instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`; `releaseId`: `ReleaseId`; `authorityVersion`: `number`; \} | `...` |
|
|
1831
|
+
| `authority.selection.instanceId` | [`InstanceId`](index.md#instanceid) | `instanceIdSchema` |
|
|
1832
|
+
| `authority.selection.owner` | \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \} | `ownerSchema` |
|
|
1833
|
+
| `authority.selection.owner.kind` | `"installation"` \| `"deployment"` | `...` |
|
|
1834
|
+
| `authority.selection.owner.id` | `string` | `Schema.NonEmptyString` |
|
|
1835
|
+
| `authority.selection.appId` | `AppId` | `appIdSchema` |
|
|
1836
|
+
| `authority.selection.releaseId` | `ReleaseId` | `releaseIdSchema` |
|
|
1837
|
+
| `authority.selection.authorityVersion` | `number` | `...` |
|
|
1838
|
+
| `authority.storeGeneration` | `string` | `...` |
|
|
1839
|
+
| `copyId` | `string` | `undefined` |
|
|
1840
|
+
| `tenantId` | `string` & `Brand`\<`"OysterTenantId"`\> | `defaultTenant` |
|
|
1841
|
+
|
|
1842
|
+
###### Returns
|
|
1843
|
+
|
|
1844
|
+
`Promise`\<[`InstanceResult`](host.md#instanceresult)\<`boolean`\>\>
|
|
1845
|
+
|
|
1846
|
+
##### testCopyBackend()
|
|
1847
|
+
|
|
1848
|
+
```ts
|
|
1849
|
+
testCopyBackend(
|
|
1850
|
+
authority,
|
|
1851
|
+
copyId,
|
|
1852
|
+
request,
|
|
1853
|
+
limits?,
|
|
1854
|
+
tenantId?
|
|
1855
|
+
): Promise<Response>;
|
|
1856
|
+
```
|
|
1857
|
+
|
|
1858
|
+
Uses the ordinary invocation facade, without live bindings or host context.
|
|
1859
|
+
|
|
1860
|
+
###### Parameters
|
|
1861
|
+
|
|
1862
|
+
| Parameter | Type | Default value |
|
|
1863
|
+
| --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
|
|
1864
|
+
| `authority` | \{ `selection`: \{ `instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`; `releaseId`: `ReleaseId`; `authorityVersion`: `number`; \}; `storeGeneration`: `string`; \} | `undefined` |
|
|
1865
|
+
| `authority.selection` | \{ `instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`; `releaseId`: `ReleaseId`; `authorityVersion`: `number`; \} | `...` |
|
|
1866
|
+
| `authority.selection.instanceId` | [`InstanceId`](index.md#instanceid) | `instanceIdSchema` |
|
|
1867
|
+
| `authority.selection.owner` | \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \} | `ownerSchema` |
|
|
1868
|
+
| `authority.selection.owner.kind?` | `"installation"` \| `"deployment"` | `...` |
|
|
1869
|
+
| `authority.selection.owner.id?` | `string` | `Schema.NonEmptyString` |
|
|
1870
|
+
| `authority.selection.appId?` | `AppId` | `appIdSchema` |
|
|
1871
|
+
| `authority.selection.releaseId?` | `ReleaseId` | `releaseIdSchema` |
|
|
1872
|
+
| `authority.selection.authorityVersion?` | `number` | `...` |
|
|
1873
|
+
| `authority.storeGeneration?` | `string` | `...` |
|
|
1874
|
+
| `copyId?` | `string` | `undefined` |
|
|
1875
|
+
| `request?` | `Request` | `undefined` |
|
|
1876
|
+
| `limits?` | `Readonly`\<\{ `cpuMs`: `number`; `subRequests`: `number`; \}\> | `undefined` |
|
|
1877
|
+
| `tenantId?` | `string` & `Brand`\<`"OysterTenantId"`\> | `defaultTenant` |
|
|
1878
|
+
|
|
1879
|
+
###### Returns
|
|
1880
|
+
|
|
1881
|
+
`Promise`\<`Response`\>
|
|
1882
|
+
|
|
1883
|
+
##### callTestCopy()
|
|
1884
|
+
|
|
1885
|
+
```ts
|
|
1886
|
+
callTestCopy(
|
|
1887
|
+
authority,
|
|
1888
|
+
copyId,
|
|
1889
|
+
name,
|
|
1890
|
+
input,
|
|
1891
|
+
caller,
|
|
1892
|
+
limits?,
|
|
1893
|
+
tenantId?
|
|
1894
|
+
): Promise<InstanceResult<unknown>>;
|
|
1895
|
+
```
|
|
1896
|
+
|
|
1897
|
+
Declared methods share copy isolation, never a live invocation frame or binding
|
|
1898
|
+
env.
|
|
1899
|
+
|
|
1900
|
+
###### Parameters
|
|
1901
|
+
|
|
1902
|
+
| Parameter | Type | Default value |
|
|
1903
|
+
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
|
|
1904
|
+
| `authority` | \{ `selection`: \{ `instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`; `releaseId`: `ReleaseId`; `authorityVersion`: `number`; \}; `storeGeneration`: `string`; \} | `undefined` |
|
|
1905
|
+
| `authority.selection` | \{ `instanceId`: [`InstanceId`](index.md#instanceid); `owner`: \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \}; `appId`: `AppId`; `releaseId`: `ReleaseId`; `authorityVersion`: `number`; \} | `...` |
|
|
1906
|
+
| `authority.selection.instanceId` | [`InstanceId`](index.md#instanceid) | `instanceIdSchema` |
|
|
1907
|
+
| `authority.selection.owner` | \{ `kind`: `"installation"` \| `"deployment"`; `id`: `string`; \} | `ownerSchema` |
|
|
1908
|
+
| `authority.selection.owner.kind` | `"installation"` \| `"deployment"` | `...` |
|
|
1909
|
+
| `authority.selection.owner.id` | `string` | `Schema.NonEmptyString` |
|
|
1910
|
+
| `authority.selection.appId?` | `AppId` | `appIdSchema` |
|
|
1911
|
+
| `authority.selection.releaseId?` | `ReleaseId` | `releaseIdSchema` |
|
|
1912
|
+
| `authority.selection.authorityVersion?` | `number` | `...` |
|
|
1913
|
+
| `authority.storeGeneration?` | `string` | `...` |
|
|
1914
|
+
| `copyId?` | `string` | `undefined` |
|
|
1915
|
+
| `name?` | `string` | `undefined` |
|
|
1916
|
+
| `input?` | `Json` | `undefined` |
|
|
1917
|
+
| `caller?` | \{ `computerId`: `string` \| `null`; `actor`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `backgroundLane?`: `string`; `backgroundOrigin?`: \{ `method`: `string`; `seal`: `string`; \}; `role?`: `"member"` \| `"owner"` \| `"admin"`; `soleMember?`: `true`; `workflow?`: \{ `workflowId`: `string`; `runId`: `string`; `nodeId`: `string`; `armedBy`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; \}; `idempotencyKey?`: `string`; \} | `undefined` |
|
|
1918
|
+
| `caller.computerId?` | `string` \| `null` | `undefined` |
|
|
1919
|
+
| `caller.actor?` | \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \} | `undefined` |
|
|
1920
|
+
| `caller.backgroundLane?` | `string` | `undefined` |
|
|
1921
|
+
| `caller.backgroundOrigin?` | \{ `method`: `string`; `seal`: `string`; \} | `undefined` |
|
|
1922
|
+
| `caller.backgroundOrigin.method?` | `string` | `undefined` |
|
|
1923
|
+
| `caller.backgroundOrigin.seal?` | `string` | `undefined` |
|
|
1924
|
+
| `caller.role?` | `"member"` \| `"owner"` \| `"admin"` | `undefined` |
|
|
1925
|
+
| `caller.soleMember?` | `true` | `undefined` |
|
|
1926
|
+
| `caller.workflow?` | \{ `workflowId`: `string`; `runId`: `string`; `nodeId`: `string`; `armedBy`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; \} | `undefined` |
|
|
1927
|
+
| `caller.workflow.workflowId?` | `string` | `undefined` |
|
|
1928
|
+
| `caller.workflow.runId?` | `string` | `undefined` |
|
|
1929
|
+
| `caller.workflow.nodeId?` | `string` | `undefined` |
|
|
1930
|
+
| `caller.workflow.armedBy?` | \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \} | `undefined` |
|
|
1931
|
+
| `caller.idempotencyKey?` | `string` | `undefined` |
|
|
1932
|
+
| `limits?` | `Readonly`\<\{ `cpuMs`: `number`; `subRequests`: `number`; \}\> | `undefined` |
|
|
1933
|
+
| `tenantId?` | `string` & `Brand`\<`"OysterTenantId"`\> | `defaultTenant` |
|
|
1934
|
+
|
|
1935
|
+
###### Returns
|
|
1936
|
+
|
|
1937
|
+
`Promise`\<[`InstanceResult`](host.md#instanceresult)\<`unknown`\>\>
|
|
1938
|
+
|
|
1601
1939
|
##### bindingCall()
|
|
1602
1940
|
|
|
1603
1941
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/oyster",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
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",
|
|
@@ -130,6 +130,18 @@
|
|
|
130
130
|
"types": "./dist/standalone/worker.d.ts",
|
|
131
131
|
"import": "./dist/standalone/worker.js"
|
|
132
132
|
},
|
|
133
|
+
"./upgrade/standalone-001": {
|
|
134
|
+
"types": "./dist/upgrade/standalone-001.d.ts",
|
|
135
|
+
"import": "./dist/upgrade/standalone-001.js"
|
|
136
|
+
},
|
|
137
|
+
"./upgrade/standalone-01": {
|
|
138
|
+
"types": "./dist/upgrade/standalone-01.d.ts",
|
|
139
|
+
"import": "./dist/upgrade/standalone-01.js"
|
|
140
|
+
},
|
|
141
|
+
"./upgrade/standalone-02": {
|
|
142
|
+
"types": "./dist/upgrade/standalone-02.d.ts",
|
|
143
|
+
"import": "./dist/upgrade/standalone-02.js"
|
|
144
|
+
},
|
|
133
145
|
"./standalone/app-set": {
|
|
134
146
|
"types": "./dist/standalone/app-set.d.ts",
|
|
135
147
|
"import": "./dist/standalone/app-set.js"
|
|
@@ -346,9 +358,9 @@
|
|
|
346
358
|
"dependencies": {
|
|
347
359
|
"@cfworker/json-schema": "4.1.1",
|
|
348
360
|
"@earendil-works/pi-ai": "1.3.0",
|
|
349
|
-
"@fungi.computer/agar": "0.18.
|
|
361
|
+
"@fungi.computer/agar": "0.18.1",
|
|
350
362
|
"@fungi.computer/bird-dog": "0.3.6",
|
|
351
|
-
"@fungi.computer/braid": "0.4.
|
|
363
|
+
"@fungi.computer/braid": "0.4.20",
|
|
352
364
|
"@fungi.computer/burrow": "0.2.1",
|
|
353
365
|
"@fungi.computer/cairn": "0.1.0",
|
|
354
366
|
"@fungi.computer/capnweb": "0.12.0-fungi.0",
|
|
@@ -356,28 +368,29 @@
|
|
|
356
368
|
"@fungi.computer/carrier": "0.2.4",
|
|
357
369
|
"@fungi.computer/computer": "0.13.0",
|
|
358
370
|
"@fungi.computer/computer-contract": "0.5.0",
|
|
359
|
-
"@fungi.computer/darkroom": "0.11.
|
|
371
|
+
"@fungi.computer/darkroom": "0.11.1",
|
|
360
372
|
"@fungi.computer/ear-tag": "0.1.0",
|
|
361
373
|
"@fungi.computer/forage": "0.3.9",
|
|
362
374
|
"@fungi.computer/gills": "0.3.0",
|
|
363
375
|
"@fungi.computer/knapsack": "0.4.13",
|
|
364
376
|
"@fungi.computer/lantern": "0.4.2",
|
|
365
377
|
"@fungi.computer/mycelium": "0.4.0",
|
|
366
|
-
"@fungi.computer/nacre": "0.6.
|
|
367
|
-
"@fungi.computer/parakeet": "0.
|
|
378
|
+
"@fungi.computer/nacre": "0.6.7",
|
|
379
|
+
"@fungi.computer/parakeet": "0.12.1",
|
|
368
380
|
"@fungi.computer/puffball": "0.9.0",
|
|
369
381
|
"@fungi.computer/seam": "0.2.5",
|
|
370
|
-
"@fungi.computer/shiitake": "0.18.
|
|
371
|
-
"@fungi.computer/shiitake-extensions": "0.
|
|
382
|
+
"@fungi.computer/shiitake": "0.18.3",
|
|
383
|
+
"@fungi.computer/shiitake-extensions": "0.11.1",
|
|
372
384
|
"@fungi.computer/sigils": "0.3.2",
|
|
373
385
|
"@fungi.computer/sprite": "0.2.2",
|
|
374
386
|
"@fungi.computer/sprite-zdog": "0.3.2",
|
|
375
387
|
"@fungi.computer/veil": "0.7.4",
|
|
376
388
|
"@fungi.computer/watchdog": "0.1.3",
|
|
377
389
|
"@fungi.computer/whistle": "0.3.0",
|
|
378
|
-
"@fungi.computer/workflows-wire": "0.4.
|
|
379
|
-
"@fungi.computer/zookeeper": "0.0.
|
|
390
|
+
"@fungi.computer/workflows-wire": "0.4.20",
|
|
391
|
+
"@fungi.computer/zookeeper": "0.0.33",
|
|
380
392
|
"@modelcontextprotocol/server": "2.0.0",
|
|
393
|
+
"@msgpack/msgpack": "3.1.3",
|
|
381
394
|
"@pnpm/lockfile.fs": "1100.2.13",
|
|
382
395
|
"@pnpm/lockfile.pruner": "1100.0.27",
|
|
383
396
|
"effect": "4.0.2",
|