@fungi.computer/oyster 0.8.2 → 0.10.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 +34 -17
- package/dist/agents.d.ts +16 -1
- package/dist/agents.js +63 -3
- package/dist/apps/catalog.d.ts +11 -0
- package/dist/apps/catalog.js +1 -0
- package/dist/apps/gate.d.ts +2 -2
- package/dist/apps/installation.d.ts +7 -7
- package/dist/apps/permissions.d.ts +5 -5
- package/dist/boot-host-script.js +1 -1
- package/dist/build/candidate-cli.mjs +1 -0
- package/dist/computer-control-port.d.ts +20 -1
- package/dist/host.js +11 -4
- package/dist/installation-client.d.ts +6 -5
- package/dist/installation-client.js +21 -17
- package/dist/installation-execution.js +41 -8
- package/dist/installation-operations.d.ts +30 -8
- package/dist/installation-operations.js +122 -24
- package/dist/instance-refusal.d.ts +4 -2
- package/dist/instance-refusal.js +5 -1
- package/dist/mcp.d.ts +132 -2
- package/dist/mcp.js +63 -1
- package/dist/page/mount.d.ts +8 -1
- package/dist/page/mount.js +72 -6
- package/dist/page-script.js +3 -3
- package/dist/standalone/agent-computers.d.ts +12 -1
- package/dist/standalone/agent-computers.js +35 -0
- package/dist/standalone/agent-connections.d.ts +47 -0
- package/dist/standalone/agent-connections.js +170 -0
- package/dist/standalone/agent-model-choice.d.ts +7 -3
- package/dist/standalone/agent-model-choice.js +33 -4
- package/dist/standalone/agents.d.ts +70 -9
- package/dist/standalone/agents.js +187 -110
- package/dist/standalone/app-set.js +6 -7
- package/dist/standalone/browser.d.ts +4 -3
- package/dist/standalone/browser.js +4 -3
- package/dist/standalone/computer-control.js +55 -1
- package/dist/standalone/computer-fleet.d.ts +29 -2
- package/dist/standalone/computer-fleet.js +51 -23
- package/dist/standalone/computer.d.ts +20 -1
- package/dist/standalone/computer.js +63 -1
- package/dist/standalone/model-key-vault.d.ts +50 -0
- package/dist/standalone/model-key-vault.js +147 -0
- package/dist/standalone/registry.d.ts +23 -0
- package/dist/standalone/registry.js +39 -0
- package/dist/standalone/web.d.ts +10 -0
- package/dist/standalone/web.js +34 -0
- package/dist/standalone/worker-routes.d.ts +3 -1
- package/dist/standalone/worker-routes.js +1 -0
- package/dist/standalone/worker.js +9 -1
- package/dist/standalone/workflow-host.d.ts +5 -5
- package/dist/standalone/workflow-trigger-host.d.ts +1 -1
- package/dist/web/index.d.ts +3 -0
- package/dist/web/index.js +3 -0
- package/dist/web/search-contract.d.ts +19 -0
- package/dist/web/search-contract.js +14 -0
- package/dist/web/search.d.ts +25 -0
- package/dist/web/search.js +123 -0
- package/dist/web/source.d.ts +46 -0
- package/dist/web/source.js +335 -0
- package/dist/workers-git.js +2 -1
- package/docs/api/agents.md +81 -3
- package/docs/api/apps.md +160 -142
- package/docs/api/build-contract.md +27 -21
- package/docs/api/build.md +55 -54
- package/docs/api/git.md +3 -3
- package/docs/api/host.md +226 -60
- package/docs/api/mcp.md +83 -44
- package/docs/api/page/mount.md +6 -1
- package/docs/api/workers-git.md +6 -6
- package/docs/api/workers.md +53 -47
- package/docs/site/agent-quickstart.mdx +4 -2
- package/package.json +27 -22
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 ...[]; `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
|
@@ -811,6 +811,163 @@ type InstallationOperations = Readonly<{
|
|
|
811
811
|
state: "pending";
|
|
812
812
|
}
|
|
813
813
|
| null>;
|
|
814
|
+
awaitSettled: Promise<
|
|
815
|
+
| {
|
|
816
|
+
requestId: string;
|
|
817
|
+
requestedInstallationId: string;
|
|
818
|
+
installationId: string;
|
|
819
|
+
release: {
|
|
820
|
+
releaseId: Schema.refine<ReleaseId, Schema.String>;
|
|
821
|
+
appId: Schema.refine<AppId, Schema.String>;
|
|
822
|
+
artifact: Schema.Struct<{
|
|
823
|
+
artifactRef: Schema.refine<ArtifactRef, Schema.String>;
|
|
824
|
+
artifactDigest: Schema.refine<Sha256Digest, Schema.String>;
|
|
825
|
+
provenance: Schema.Struct<{
|
|
826
|
+
sourceRevision: Schema.refine<..., ...>;
|
|
827
|
+
sourceTreeDigest: Schema.refine<..., ...>;
|
|
828
|
+
buildRecipeDigest: Schema.refine<..., ...>;
|
|
829
|
+
}>;
|
|
830
|
+
}>;
|
|
831
|
+
};
|
|
832
|
+
state: "refused";
|
|
833
|
+
status: number;
|
|
834
|
+
code: string;
|
|
835
|
+
}
|
|
836
|
+
| {
|
|
837
|
+
requestId: string;
|
|
838
|
+
requestedInstallationId: string;
|
|
839
|
+
installationId: string;
|
|
840
|
+
release: {
|
|
841
|
+
releaseId: Schema.refine<ReleaseId, Schema.String>;
|
|
842
|
+
appId: Schema.refine<AppId, Schema.String>;
|
|
843
|
+
artifact: Schema.Struct<{
|
|
844
|
+
artifactRef: Schema.refine<ArtifactRef, Schema.String>;
|
|
845
|
+
artifactDigest: Schema.refine<Sha256Digest, Schema.String>;
|
|
846
|
+
provenance: Schema.Struct<{
|
|
847
|
+
sourceRevision: Schema.refine<..., ...>;
|
|
848
|
+
sourceTreeDigest: Schema.refine<..., ...>;
|
|
849
|
+
buildRecipeDigest: Schema.refine<..., ...>;
|
|
850
|
+
}>;
|
|
851
|
+
}>;
|
|
852
|
+
};
|
|
853
|
+
state: "unconfirmed";
|
|
854
|
+
outcome: "cancelled" | "outcome_unknown" | "interrupted";
|
|
855
|
+
}
|
|
856
|
+
| {
|
|
857
|
+
requestId: string;
|
|
858
|
+
requestedInstallationId: string;
|
|
859
|
+
installationId: string;
|
|
860
|
+
release: {
|
|
861
|
+
releaseId: Schema.refine<ReleaseId, Schema.String>;
|
|
862
|
+
appId: Schema.refine<AppId, Schema.String>;
|
|
863
|
+
artifact: Schema.Struct<{
|
|
864
|
+
artifactRef: Schema.refine<ArtifactRef, Schema.String>;
|
|
865
|
+
artifactDigest: Schema.refine<Sha256Digest, Schema.String>;
|
|
866
|
+
provenance: Schema.Struct<{
|
|
867
|
+
sourceRevision: Schema.refine<..., ...>;
|
|
868
|
+
sourceTreeDigest: Schema.refine<..., ...>;
|
|
869
|
+
buildRecipeDigest: Schema.refine<..., ...>;
|
|
870
|
+
}>;
|
|
871
|
+
}>;
|
|
872
|
+
};
|
|
873
|
+
state: "succeeded";
|
|
874
|
+
reference: {
|
|
875
|
+
generation: string;
|
|
876
|
+
instanceId: InstanceId;
|
|
877
|
+
authorityVersion: number;
|
|
878
|
+
status: "enabled" | "disabled" | "deleted";
|
|
879
|
+
};
|
|
880
|
+
creation: "fresh" | "replacement" | "reminted";
|
|
881
|
+
uiCheck: | {
|
|
882
|
+
kind: "passed";
|
|
883
|
+
}
|
|
884
|
+
| {
|
|
885
|
+
kind: "failed";
|
|
886
|
+
code: "ui_mount_failed";
|
|
887
|
+
diagnostics?: {
|
|
888
|
+
failedPredicate: | "unexpected_candidate_request"
|
|
889
|
+
| "response_status"
|
|
890
|
+
| "request_failed"
|
|
891
|
+
| "page_error"
|
|
892
|
+
| "candidate_not_mounted";
|
|
893
|
+
errorName?: | "Error"
|
|
894
|
+
| "TypeError"
|
|
895
|
+
| "RangeError"
|
|
896
|
+
| "SyntaxError"
|
|
897
|
+
| "AbortError"
|
|
898
|
+
| "TimeoutError"
|
|
899
|
+
| "Other";
|
|
900
|
+
finalUrlPath: string;
|
|
901
|
+
consoleErrors: string[];
|
|
902
|
+
pageErrors: string[];
|
|
903
|
+
failedRequests: object[];
|
|
904
|
+
droppedCount: number;
|
|
905
|
+
};
|
|
906
|
+
}
|
|
907
|
+
| {
|
|
908
|
+
kind: "not_checked";
|
|
909
|
+
code: | "boot_runner_unavailable"
|
|
910
|
+
| "boot_browser_binding_missing"
|
|
911
|
+
| "boot_clone_unavailable"
|
|
912
|
+
| "boot_timeout"
|
|
913
|
+
| "boot_cleanup_failed"
|
|
914
|
+
| "ui_check_not_run_on_host";
|
|
915
|
+
}
|
|
916
|
+
| null;
|
|
917
|
+
installation: | {
|
|
918
|
+
installationId: string;
|
|
919
|
+
instanceId: InstanceId | null;
|
|
920
|
+
appId: AppId;
|
|
921
|
+
release: {
|
|
922
|
+
releaseId: Schema.refine<ReleaseId, Schema.String>;
|
|
923
|
+
appId: Schema.refine<AppId, Schema.String>;
|
|
924
|
+
artifact: Schema.Struct<{
|
|
925
|
+
artifactRef: Schema.refine<..., ...>;
|
|
926
|
+
artifactDigest: Schema.refine<..., ...>;
|
|
927
|
+
provenance: Schema.Struct<...>;
|
|
928
|
+
}>;
|
|
929
|
+
};
|
|
930
|
+
releasePin: "pinned" | "floating";
|
|
931
|
+
authority: {
|
|
932
|
+
authorityVersion: number;
|
|
933
|
+
declaredOperationsDigest: Sha256Digest;
|
|
934
|
+
approvedGrants: readonly Readonly<{
|
|
935
|
+
capability: ...;
|
|
936
|
+
capabilityApproved: ...;
|
|
937
|
+
operations: ...;
|
|
938
|
+
resources: ...;
|
|
939
|
+
}>[];
|
|
940
|
+
approval: | Readonly<{
|
|
941
|
+
by: ...;
|
|
942
|
+
at: ...;
|
|
943
|
+
authorityVersion: ...;
|
|
944
|
+
}>
|
|
945
|
+
| null;
|
|
946
|
+
};
|
|
947
|
+
status: "enabled" | "disabled" | "deleted";
|
|
948
|
+
}
|
|
949
|
+
| null;
|
|
950
|
+
}
|
|
951
|
+
| {
|
|
952
|
+
requestId: string;
|
|
953
|
+
requestedInstallationId: string;
|
|
954
|
+
installationId: string;
|
|
955
|
+
release: {
|
|
956
|
+
releaseId: Schema.refine<ReleaseId, Schema.String>;
|
|
957
|
+
appId: Schema.refine<AppId, Schema.String>;
|
|
958
|
+
artifact: Schema.Struct<{
|
|
959
|
+
artifactRef: Schema.refine<ArtifactRef, Schema.String>;
|
|
960
|
+
artifactDigest: Schema.refine<Sha256Digest, Schema.String>;
|
|
961
|
+
provenance: Schema.Struct<{
|
|
962
|
+
sourceRevision: Schema.refine<..., ...>;
|
|
963
|
+
sourceTreeDigest: Schema.refine<..., ...>;
|
|
964
|
+
buildRecipeDigest: Schema.refine<..., ...>;
|
|
965
|
+
}>;
|
|
966
|
+
}>;
|
|
967
|
+
};
|
|
968
|
+
state: "pending";
|
|
969
|
+
}
|
|
970
|
+
| null>;
|
|
814
971
|
load: Promise<
|
|
815
972
|
| {
|
|
816
973
|
admission: {
|
|
@@ -1049,6 +1206,7 @@ type InstallationOperations = Readonly<{
|
|
|
1049
1206
|
| ...
|
|
1050
1207
|
| ...
|
|
1051
1208
|
| ...
|
|
1209
|
+
| ...
|
|
1052
1210
|
| ...;
|
|
1053
1211
|
capabilityApproved: true;
|
|
1054
1212
|
operations: readonly ...[];
|
|
@@ -1498,6 +1656,7 @@ function verifyRelease(
|
|
|
1498
1656
|
| "agent.send"
|
|
1499
1657
|
| "llm.generation"
|
|
1500
1658
|
| "media.generation"
|
|
1659
|
+
| "media.share"
|
|
1501
1660
|
| "games:servers"
|
|
1502
1661
|
| "git.repository"
|
|
1503
1662
|
| "apps.open"
|
|
@@ -1566,6 +1725,7 @@ function verifyRelease(
|
|
|
1566
1725
|
| "agent.send"
|
|
1567
1726
|
| "llm.generation"
|
|
1568
1727
|
| "media.generation"
|
|
1728
|
+
| "media.share"
|
|
1569
1729
|
| "games:servers"
|
|
1570
1730
|
| "git.repository"
|
|
1571
1731
|
| "apps.open"
|
|
@@ -1627,6 +1787,7 @@ function verifyRelease(
|
|
|
1627
1787
|
| "agent.send"
|
|
1628
1788
|
| "llm.generation"
|
|
1629
1789
|
| "media.generation"
|
|
1790
|
+
| "media.share"
|
|
1630
1791
|
| "games:servers"
|
|
1631
1792
|
| "git.repository"
|
|
1632
1793
|
| "apps.open"
|
|
@@ -1713,6 +1874,7 @@ function verifyRelease(
|
|
|
1713
1874
|
| "agent.send"
|
|
1714
1875
|
| "llm.generation"
|
|
1715
1876
|
| "media.generation"
|
|
1877
|
+
| "media.share"
|
|
1716
1878
|
| "games:servers"
|
|
1717
1879
|
| "git.repository"
|
|
1718
1880
|
| "apps.open"
|
|
@@ -1813,29 +1975,30 @@ standalone HTML.
|
|
|
1813
1975
|
`"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \|
|
|
1814
1976
|
`"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"`
|
|
1815
1977
|
\| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \|
|
|
1816
|
-
`"
|
|
1817
|
-
`"
|
|
1818
|
-
`"
|
|
1819
|
-
`"workflow.
|
|
1820
|
-
`"channels.personal.manage"`)[]; `calls?`: readonly
|
|
1821
|
-
`guidance?`: `string`; `handlers`: readonly
|
|
1822
|
-
readonly `"git.push"`[]; `icon?`: `string`;
|
|
1823
|
-
`
|
|
1824
|
-
`storage?`: readonly `Readonly`\<...\>[];
|
|
1825
|
-
`
|
|
1826
|
-
`Readonly`\<\{ `bindings`: ...; `sync?`: ...;
|
|
1827
|
-
`"fungi-app-v1"`; `ui`: \{ `mediaType`:
|
|
1828
|
-
`"application/vnd.fungi.app-assets+json"`;
|
|
1829
|
-
`digest`: `Sha256Digest`; `version`: `string`; `byteLength`: `number`; \};
|
|
1830
|
-
`backend`: \{ `mediaType`: `"application/vnd.fungi.app-backend+json"`;
|
|
1978
|
+
`"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \|
|
|
1979
|
+
`"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \|
|
|
1980
|
+
`"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \|
|
|
1981
|
+
`"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \|
|
|
1982
|
+
`"channels.read"` \| `"channels.personal.manage"`)[]; `calls?`: readonly
|
|
1983
|
+
`Readonly`\<...\>[]; `guidance?`: `string`; `handlers`: readonly
|
|
1984
|
+
`"file.open"`[]; `receives?`: readonly `"git.push"`[]; `icon?`: `string`;
|
|
1985
|
+
`roles`: readonly (`"files"` \| `"dashboard"` \| `"inbox"` \| `"media"` \|
|
|
1986
|
+
`"sessions"` \| `"terminal"`)[]; `storage?`: readonly `Readonly`\<...\>[];
|
|
1987
|
+
`commands?`: readonly `Readonly`\<...\>[]; `gills?`: readonly
|
|
1988
|
+
`Readonly`\<...\>[]; `backend?`: `Readonly`\<\{ `bindings`: ...; `sync?`: ...;
|
|
1989
|
+
\}\>; \}\>; `format`: `"fungi-app-v1"`; `ui`: \{ `mediaType`:
|
|
1990
|
+
`"text/html; charset=utf-8"` \| `"application/vnd.fungi.app-assets+json"`;
|
|
1831
1991
|
`artifactRef`: `ArtifactRef`; `digest`: `Sha256Digest`; `version`: `string`;
|
|
1832
|
-
`byteLength`: `number`; \};
|
|
1833
|
-
`
|
|
1834
|
-
`
|
|
1835
|
-
`
|
|
1836
|
-
`
|
|
1837
|
-
`
|
|
1838
|
-
`"
|
|
1992
|
+
`byteLength`: `number`; \}; `backend`: \{ `mediaType`:
|
|
1993
|
+
`"application/vnd.fungi.app-backend+json"`; `artifactRef`: `ArtifactRef`;
|
|
1994
|
+
`digest`: `Sha256Digest`; `version`: `string`; `byteLength`: `number`; \}; \} \|
|
|
1995
|
+
\{ `declaration?`: `Readonly`\<\{ `api?`: `Readonly`\<\{ `methods`: ...;
|
|
1996
|
+
`toolFamily?`: ...; `events?`: ...; \}\>; `displayName?`: `string`;
|
|
1997
|
+
`capabilities`: readonly ( \| `"computer.list"` \| `"computer.readFile"` \|
|
|
1998
|
+
`"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \|
|
|
1999
|
+
`"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \|
|
|
2000
|
+
`"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"`
|
|
2001
|
+
\| `"media.generation"` \| `"media.share"` \| `"games:servers"` \|
|
|
1839
2002
|
`"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \|
|
|
1840
2003
|
`"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \|
|
|
1841
2004
|
`"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \|
|
|
@@ -1856,18 +2019,19 @@ readonly `"git.push"`[]; `icon?`: `string`; `roles`: readonly (`"files"` \|
|
|
|
1856
2019
|
`"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \|
|
|
1857
2020
|
`"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \|
|
|
1858
2021
|
`"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"`
|
|
1859
|
-
\| `"media.generation"` \| `"
|
|
1860
|
-
`"
|
|
1861
|
-
`"
|
|
1862
|
-
`"
|
|
1863
|
-
`"
|
|
1864
|
-
`
|
|
1865
|
-
`
|
|
1866
|
-
|
|
1867
|
-
`"
|
|
1868
|
-
`
|
|
1869
|
-
`Readonly`\<...\>[]; `
|
|
1870
|
-
\}\>; \}\>; `format`:
|
|
2022
|
+
\| `"media.generation"` \| `"media.share"` \| `"games:servers"` \|
|
|
2023
|
+
`"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \|
|
|
2024
|
+
`"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \|
|
|
2025
|
+
`"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \|
|
|
2026
|
+
`"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
2027
|
+
`"channels.personal.manage"`)[]; `calls?`: readonly `Readonly`\<...\>[];
|
|
2028
|
+
`guidance?`: `string`; `handlers`: readonly `"file.open"`[]; `receives?`:
|
|
2029
|
+
readonly `"git.push"`[]; `icon?`: `string`; `roles`: readonly (`"files"` \|
|
|
2030
|
+
`"dashboard"` \| `"inbox"` \| `"media"` \| `"sessions"` \| `"terminal"`)[];
|
|
2031
|
+
`storage?`: readonly `Readonly`\<...\>[]; `commands?`: readonly
|
|
2032
|
+
`Readonly`\<...\>[]; `gills?`: readonly `Readonly`\<...\>[]; `backend?`:
|
|
2033
|
+
`Readonly`\<\{ `bindings`: ...; `sync?`: ...; \}\>; \}\>; `format`:
|
|
2034
|
+
`"fungi-app-v1"`; `backend`: \{ `mediaType`:
|
|
1871
2035
|
`"application/vnd.fungi.app-backend+json"`; `artifactRef`: `ArtifactRef`;
|
|
1872
2036
|
`digest`: `Sha256Digest`; `version`: `string`; `byteLength`: `number`; \}; \};
|
|
1873
2037
|
`api`: \| `Readonly`\<\{ `methods`: `Readonly`\<`Record`\<`string`,
|
|
@@ -1884,27 +2048,28 @@ readonly ...; `pending?`: ... \| ...; `hidden?`: ... \| ...; `present?`: ... \|
|
|
|
1884
2048
|
`"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \|
|
|
1885
2049
|
`"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"`
|
|
1886
2050
|
\| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \|
|
|
1887
|
-
`"
|
|
1888
|
-
`"
|
|
1889
|
-
`"
|
|
1890
|
-
`"workflow.
|
|
1891
|
-
`"channels.personal.manage"`)[]; `calls?`: readonly
|
|
1892
|
-
`string`; `methods`: readonly ...[]; \}\>[];
|
|
1893
|
-
|
|
1894
|
-
`string`; `roles`: readonly (`"files"` \|
|
|
1895
|
-
`"media"` \| `"sessions"` \| `"terminal"`)[];
|
|
1896
|
-
`Readonly`\<\{ `key`: `string`; `scopes`: readonly ...[];
|
|
1897
|
-
\}\>[]; `commands?`: readonly `Readonly`\<\{ `id`:
|
|
1898
|
-
`
|
|
1899
|
-
`projections?`: ... \| ...; \}\>[]; `gills?`: readonly
|
|
1900
|
-
`string`; `source`: `string`; `title`: `string`; `params?`:
|
|
1901
|
-
`watch?`: ... \| ...; `desktop?`: ... \| ...; \}\>[]; `backend?`:
|
|
1902
|
-
`bindings`: readonly `Readonly`\<...\>[]; `sync?`:
|
|
1903
|
-
\| `null`; `ui`: \| `Readonly`\<\{ `kind`:
|
|
1904
|
-
`ArtifactRef`; `digest`: `Sha256Digest`; \}\> \|
|
|
1905
|
-
`"assets"`; `build`: \{ `format`: `"fungi-assets-v1"`;
|
|
1906
|
-
`assets`: readonly `object`[]; \}; \}\> \| `null`; `backend`:
|
|
1907
|
-
`artifactRef`: `ArtifactRef`; `digest`: `Sha256Digest`; \}\>
|
|
2051
|
+
`"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \|
|
|
2052
|
+
`"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \|
|
|
2053
|
+
`"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \|
|
|
2054
|
+
`"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \|
|
|
2055
|
+
`"channels.read"` \| `"channels.personal.manage"`)[]; `calls?`: readonly
|
|
2056
|
+
`Readonly`\<\{ `appId`: `string`; `methods`: readonly ...[]; \}\>[];
|
|
2057
|
+
`guidance?`: `string`; `handlers`: readonly `"file.open"`[]; `receives?`:
|
|
2058
|
+
readonly `"git.push"`[]; `icon?`: `string`; `roles`: readonly (`"files"` \|
|
|
2059
|
+
`"dashboard"` \| `"inbox"` \| `"media"` \| `"sessions"` \| `"terminal"`)[];
|
|
2060
|
+
`storage?`: readonly `Readonly`\<\{ `key`: `string`; `scopes`: readonly ...[];
|
|
2061
|
+
`maxBytes`: `number`; \}\>[]; `commands?`: readonly `Readonly`\<\{ `id`:
|
|
2062
|
+
`string`; `title`: `string`; `category`: `string`; `description?`: ... \| ...;
|
|
2063
|
+
`sigil?`: ... \| ...; `projections?`: ... \| ...; \}\>[]; `gills?`: readonly
|
|
2064
|
+
`Readonly`\<\{ `id`: `string`; `source`: `string`; `title`: `string`; `params?`:
|
|
2065
|
+
... \| ...; `watch?`: ... \| ...; `desktop?`: ... \| ...; \}\>[]; `backend?`:
|
|
2066
|
+
`Readonly`\<\{ `bindings`: readonly `Readonly`\<...\>[]; `sync?`:
|
|
2067
|
+
`Readonly`\<...\>; \}\>; \}\> \| `null`; `ui`: \| `Readonly`\<\{ `kind`:
|
|
2068
|
+
`"html"`; `artifactRef`: `ArtifactRef`; `digest`: `Sha256Digest`; \}\> \|
|
|
2069
|
+
`Readonly`\<\{ `kind`: `"assets"`; `build`: \{ `format`: `"fungi-assets-v1"`;
|
|
2070
|
+
`base`: `string`; `assets`: readonly `object`[]; \}; \}\> \| `null`; `backend`:
|
|
2071
|
+
\| `Readonly`\<\{ `artifactRef`: `ArtifactRef`; `digest`: `Sha256Digest`; \}\>
|
|
2072
|
+
\| `null`; \}\>\>
|
|
1908
2073
|
|
|
1909
2074
|
---
|
|
1910
2075
|
|
|
@@ -1937,6 +2102,7 @@ function resolveBackend(store, release): Promise<
|
|
|
1937
2102
|
| "agent.send"
|
|
1938
2103
|
| "llm.generation"
|
|
1939
2104
|
| "media.generation"
|
|
2105
|
+
| "media.share"
|
|
1940
2106
|
| "games:servers"
|
|
1941
2107
|
| "git.repository"
|
|
1942
2108
|
| "apps.open"
|
|
@@ -2011,11 +2177,11 @@ root artifact, then the backend descriptor it names.
|
|
|
2011
2177
|
\| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \|
|
|
2012
2178
|
`"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \|
|
|
2013
2179
|
`"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \|
|
|
2014
|
-
`"llm.generation"` \| `"media.generation"` \| `"
|
|
2015
|
-
`"
|
|
2016
|
-
`"app.
|
|
2017
|
-
`"marketplace.
|
|
2018
|
-
`"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
2180
|
+
`"llm.generation"` \| `"media.generation"` \| `"media.share"` \|
|
|
2181
|
+
`"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \|
|
|
2182
|
+
`"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \|
|
|
2183
|
+
`"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \|
|
|
2184
|
+
`"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
2019
2185
|
`"channels.personal.manage"`)[]; `calls?`: readonly `Readonly`\<\{ `appId`: ...;
|
|
2020
2186
|
`methods`: ...; \}\>[]; `guidance?`: `string`; `handlers`: readonly
|
|
2021
2187
|
`"file.open"`[]; `receives?`: readonly `"git.push"`[]; `icon?`: `string`;
|