@coasys/ad4m 0.13.0-test-2 → 0.13.0-test-4
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 +2 -25
- package/jest-setup.ts +1 -1
- package/lib/index.cjs +2805 -10556
- package/lib/index.js +2513 -10322
- package/lib/src/Ad4mClient.d.ts +7 -3
- package/lib/src/Ad4mClient.js +29 -13
- package/lib/src/agent/Agent.js +26 -272
- package/lib/src/agent/AgentClient.d.ts +10 -21
- package/lib/src/agent/AgentClient.js +75 -427
- package/lib/src/agent/AgentStatus.js +2 -37
- package/lib/src/ai/AIClient.d.ts +12 -4
- package/lib/src/ai/AIClient.js +81 -285
- package/lib/src/ai/AITypes.d.ts +55 -0
- package/lib/src/ai/AITypes.js +18 -0
- package/lib/src/ai/Tasks.js +10 -133
- package/lib/src/apiClient.d.ts +52 -0
- package/lib/src/apiClient.js +231 -0
- package/lib/src/expression/Expression.d.ts +1 -1
- package/lib/src/expression/Expression.js +13 -122
- package/lib/src/expression/ExpressionClient.d.ts +3 -3
- package/lib/src/expression/ExpressionClient.js +13 -76
- package/lib/src/expression/ExpressionRef.js +2 -25
- package/lib/src/generated/api/AIModelLoadingStatus.d.ts +7 -0
- package/lib/src/generated/api/AIModelLoadingStatus.js +2 -0
- package/lib/src/generated/api/AddLinkExpressionRequest.d.ts +6 -0
- package/lib/src/generated/api/AddLinkExpressionRequest.js +1 -0
- package/lib/src/generated/api/AddLinkRequest.d.ts +6 -0
- package/lib/src/generated/api/AddLinkRequest.js +1 -0
- package/lib/src/generated/api/AddLinksBulkRequest.d.ts +6 -0
- package/lib/src/generated/api/AddLinksBulkRequest.js +1 -0
- package/lib/src/generated/api/AddSdnaRequest.d.ts +6 -0
- package/lib/src/generated/api/AddSdnaRequest.js +2 -0
- package/lib/src/generated/api/ApplyTemplateRequest.d.ts +4 -0
- package/lib/src/generated/api/ApplyTemplateRequest.js +2 -0
- package/lib/src/generated/api/AuthInfoInput.d.ts +10 -0
- package/lib/src/generated/api/AuthInfoInput.js +1 -0
- package/lib/src/generated/api/CapabilityInput.d.ts +5 -0
- package/lib/src/generated/api/CapabilityInput.js +1 -0
- package/lib/src/generated/api/CommitBatchRequest.d.ts +3 -0
- package/lib/src/generated/api/CommitBatchRequest.js +2 -0
- package/lib/src/generated/api/ComputeLogEntry.d.ts +9 -0
- package/lib/src/generated/api/ComputeLogEntry.js +2 -0
- package/lib/src/generated/api/CreateExpressionRequest.d.ts +4 -0
- package/lib/src/generated/api/CreateExpressionRequest.js +2 -0
- package/lib/src/generated/api/CreatePerspectiveRequest.d.ts +3 -0
- package/lib/src/generated/api/CreatePerspectiveRequest.js +2 -0
- package/lib/src/generated/api/CreateSubjectRequest.d.ts +6 -0
- package/lib/src/generated/api/CreateSubjectRequest.js +2 -0
- package/lib/src/generated/api/EmbedRequest.d.ts +4 -0
- package/lib/src/generated/api/EmbedRequest.js +2 -0
- package/lib/src/generated/api/EntanglementProofInput.d.ts +6 -0
- package/lib/src/generated/api/EntanglementProofInput.js +2 -0
- package/lib/src/generated/api/ExecuteCommandsRequest.d.ts +4 -0
- package/lib/src/generated/api/ExecuteCommandsRequest.js +2 -0
- package/lib/src/generated/api/ExportRequest.d.ts +5 -0
- package/lib/src/generated/api/ExportRequest.js +2 -0
- package/lib/src/generated/api/ExpressionManyRequest.d.ts +3 -0
- package/lib/src/generated/api/ExpressionManyRequest.js +2 -0
- package/lib/src/generated/api/ExpressionProof.d.ts +4 -0
- package/lib/src/generated/api/ExpressionProof.js +2 -0
- package/lib/src/generated/api/ExpressionProofInput.d.ts +6 -0
- package/lib/src/generated/api/ExpressionProofInput.js +2 -0
- package/lib/src/generated/api/FriendSendMessageRequest.d.ts +3 -0
- package/lib/src/generated/api/FriendSendMessageRequest.js +2 -0
- package/lib/src/generated/api/FriendsListRequest.d.ts +3 -0
- package/lib/src/generated/api/FriendsListRequest.js +2 -0
- package/lib/src/generated/api/GenerateAgentRequest.d.ts +3 -0
- package/lib/src/generated/api/GenerateAgentRequest.js +2 -0
- package/lib/src/generated/api/GenerateJwtRequest.d.ts +4 -0
- package/lib/src/generated/api/GenerateJwtRequest.js +2 -0
- package/lib/src/generated/api/GetSubjectDataRequest.d.ts +4 -0
- package/lib/src/generated/api/GetSubjectDataRequest.js +2 -0
- package/lib/src/generated/api/ImportAgentRequest.d.ts +6 -0
- package/lib/src/generated/api/ImportAgentRequest.js +2 -0
- package/lib/src/generated/api/ImportRequest.d.ts +4 -0
- package/lib/src/generated/api/ImportRequest.js +2 -0
- package/lib/src/generated/api/JoinNeighbourhoodRequest.d.ts +3 -0
- package/lib/src/generated/api/JoinNeighbourhoodRequest.js +2 -0
- package/lib/src/generated/api/LanguageMetaInput.d.ts +6 -0
- package/lib/src/generated/api/LanguageMetaInput.js +2 -0
- package/lib/src/generated/api/Link.d.ts +5 -0
- package/lib/src/generated/api/Link.js +2 -0
- package/lib/src/generated/api/LinkExpression.d.ts +10 -0
- package/lib/src/generated/api/LinkExpression.js +1 -0
- package/lib/src/generated/api/LinkExpressionInput.d.ts +10 -0
- package/lib/src/generated/api/LinkExpressionInput.js +1 -0
- package/lib/src/generated/api/LinkInput.d.ts +5 -0
- package/lib/src/generated/api/LinkInput.js +2 -0
- package/lib/src/generated/api/LinkLanguageTemplatesRequest.d.ts +3 -0
- package/lib/src/generated/api/LinkLanguageTemplatesRequest.js +2 -0
- package/lib/src/generated/api/LinkMutations.d.ts +6 -0
- package/lib/src/generated/api/LinkMutations.js +1 -0
- package/lib/src/generated/api/LinkStatus.d.ts +1 -0
- package/lib/src/generated/api/LinkStatus.js +2 -0
- package/lib/src/generated/api/LockAgentRequest.d.ts +3 -0
- package/lib/src/generated/api/LockAgentRequest.js +2 -0
- package/lib/src/generated/api/ModelType.d.ts +1 -0
- package/lib/src/generated/api/ModelType.js +2 -0
- package/lib/src/generated/api/NotificationInput.d.ts +10 -0
- package/lib/src/generated/api/NotificationInput.js +2 -0
- package/lib/src/generated/api/OpenLinkRequest.d.ts +3 -0
- package/lib/src/generated/api/OpenLinkRequest.js +2 -0
- package/lib/src/generated/api/PermitCapabilityRequest.d.ts +3 -0
- package/lib/src/generated/api/PermitCapabilityRequest.js +2 -0
- package/lib/src/generated/api/PerspectiveInput.d.ts +4 -0
- package/lib/src/generated/api/PerspectiveInput.js +1 -0
- package/lib/src/generated/api/PromptRequest.d.ts +4 -0
- package/lib/src/generated/api/PromptRequest.js +2 -0
- package/lib/src/generated/api/PublishLanguageRequest.d.ts +5 -0
- package/lib/src/generated/api/PublishLanguageRequest.js +1 -0
- package/lib/src/generated/api/PublishNeighbourhoodRequest.d.ts +6 -0
- package/lib/src/generated/api/PublishNeighbourhoodRequest.js +1 -0
- package/lib/src/generated/api/QueryRequest.d.ts +7 -0
- package/lib/src/generated/api/QueryRequest.js +2 -0
- package/lib/src/generated/api/RemoveLinkRequest.d.ts +5 -0
- package/lib/src/generated/api/RemoveLinkRequest.js +1 -0
- package/lib/src/generated/api/RemoveLinksBulkRequest.d.ts +5 -0
- package/lib/src/generated/api/RemoveLinksBulkRequest.js +1 -0
- package/lib/src/generated/api/ResourceInput.d.ts +4 -0
- package/lib/src/generated/api/ResourceInput.js +2 -0
- package/lib/src/generated/api/SetDefaultModelRequest.d.ts +4 -0
- package/lib/src/generated/api/SetDefaultModelRequest.js +1 -0
- package/lib/src/generated/api/SetFreeHostingEnabledRequest.d.ts +3 -0
- package/lib/src/generated/api/SetFreeHostingEnabledRequest.js +2 -0
- package/lib/src/generated/api/SetMultiUserRequest.d.ts +3 -0
- package/lib/src/generated/api/SetMultiUserRequest.js +2 -0
- package/lib/src/generated/api/SetStatusRequest.d.ts +3 -0
- package/lib/src/generated/api/SetStatusRequest.js +2 -0
- package/lib/src/generated/api/SignMessageRequest.d.ts +3 -0
- package/lib/src/generated/api/SignMessageRequest.js +2 -0
- package/lib/src/generated/api/TrustedAgentsRequest.d.ts +3 -0
- package/lib/src/generated/api/TrustedAgentsRequest.js +2 -0
- package/lib/src/generated/api/UnlockAgentRequest.d.ts +4 -0
- package/lib/src/generated/api/UnlockAgentRequest.js +2 -0
- package/lib/src/generated/api/UpdateLinkRequest.d.ts +7 -0
- package/lib/src/generated/api/UpdateLinkRequest.js +1 -0
- package/lib/src/generated/api/UpdatePerspectiveRequest.d.ts +3 -0
- package/lib/src/generated/api/UpdatePerspectiveRequest.js +2 -0
- package/lib/src/generated/api/UserStatistics.d.ts +9 -0
- package/lib/src/generated/api/UserStatistics.js +2 -0
- package/lib/src/generated/api/VerificationRequestResult.d.ts +6 -0
- package/lib/src/generated/api/VerificationRequestResult.js +2 -0
- package/lib/src/generated/api/VerifySignatureRequest.d.ts +5 -0
- package/lib/src/generated/api/VerifySignatureRequest.js +2 -0
- package/lib/src/generated/api/WriteSettingsRequest.d.ts +3 -0
- package/lib/src/generated/api/WriteSettingsRequest.js +2 -0
- package/lib/src/generated/api/index.d.ts +42 -0
- package/lib/src/generated/api/index.js +7 -0
- package/lib/src/index.d.ts +6 -2
- package/lib/src/index.js +6 -2
- package/lib/src/jestSetup.d.ts +0 -1
- package/lib/src/jestSetup.js +1 -1
- package/lib/src/language/Icon.js +2 -21
- package/lib/src/language/Language.d.ts +26 -214
- package/lib/src/language/Language.js +32 -72
- package/lib/src/language/LanguageClient.d.ts +2 -2
- package/lib/src/language/LanguageClient.js +15 -105
- package/lib/src/language/LanguageHandle.js +2 -41
- package/lib/src/language/LanguageMeta.js +4 -75
- package/lib/src/language/LanguageRef.js +2 -25
- package/lib/src/links/Links.js +14 -111
- package/lib/src/model/Ad4mModel.d.ts +81 -38
- package/lib/src/model/Ad4mModel.js +651 -408
- package/lib/src/model/Ad4mModel.test.js +488 -750
- package/lib/src/model/ModelQueryBuilder.d.ts +28 -21
- package/lib/src/model/ModelQueryBuilder.js +160 -195
- package/lib/src/model/decorators.d.ts +22 -0
- package/lib/src/model/decorators.js +7 -0
- package/lib/src/model/hydration-batching.test.d.ts +7 -0
- package/lib/src/model/hydration-batching.test.js +456 -0
- package/lib/src/model/hydration.d.ts +8 -60
- package/lib/src/model/hydration.js +41 -541
- package/lib/src/model/index.d.ts +0 -4
- package/lib/src/model/index.js +0 -4
- package/lib/src/model/model-manifest.d.ts +41 -0
- package/lib/src/model/model-manifest.js +11 -0
- package/lib/src/model/query-sparql.d.ts +36 -22
- package/lib/src/model/query-sparql.js +188 -53
- package/lib/src/model/query-sparql.test.d.ts +1 -0
- package/lib/src/model/query-sparql.test.js +312 -0
- package/lib/src/model/query-utils.js +4 -0
- package/lib/src/model/shacl-gen.js +4 -0
- package/lib/src/model/subscription-delta.test.d.ts +24 -0
- package/lib/src/model/subscription-delta.test.js +180 -0
- package/lib/src/model/subscription-pool.js +48 -2
- package/lib/src/model/types.d.ts +58 -1
- package/lib/src/model/types.js +4 -1
- package/lib/src/neighbourhood/Neighbourhood.js +4 -32
- package/lib/src/neighbourhood/NeighbourhoodClient.d.ts +3 -3
- package/lib/src/neighbourhood/NeighbourhoodClient.js +40 -203
- package/lib/src/perspectives/LinkQuery.js +2 -42
- package/lib/src/perspectives/Perspective.d.ts +1 -1
- package/lib/src/perspectives/Perspective.js +10 -52
- package/lib/src/perspectives/PerspectiveClient.d.ts +12 -15
- package/lib/src/perspectives/PerspectiveClient.js +168 -400
- package/lib/src/perspectives/PerspectiveClient.test.d.ts +1 -0
- package/lib/src/perspectives/PerspectiveClient.test.js +224 -0
- package/lib/src/perspectives/PerspectiveDiff.js +4 -31
- package/lib/src/perspectives/PerspectiveHandle.js +3 -43
- package/lib/src/perspectives/PerspectiveProxy.d.ts +95 -71
- package/lib/src/perspectives/PerspectiveProxy.js +288 -310
- package/lib/src/runtime/RuntimeClient.d.ts +6 -6
- package/lib/src/runtime/RuntimeClient.js +93 -467
- package/lib/src/runtime/RuntimeTypes.d.ts +101 -0
- package/lib/src/runtime/RuntimeTypes.js +45 -0
- package/lib/src/shacl/SHACLShape.d.ts +7 -0
- package/lib/src/shacl/SHACLShape.js +19 -0
- package/lib/src/shacl/SHACLShape.test.js +82 -0
- package/lib/src/typeDefs.js +3 -628
- package/package.json +9 -24
- package/rollup.config.js +0 -7
- package/src/Ad4mClient.test.ts +1182 -1288
- package/src/Ad4mClient.ts +30 -15
- package/src/agent/Agent.ts +0 -99
- package/src/agent/AgentClient.ts +112 -526
- package/src/agent/AgentStatus.ts +0 -12
- package/src/ai/AIClient.ts +96 -296
- package/src/ai/AITypes.ts +66 -0
- package/src/ai/Tasks.ts +0 -52
- package/src/apiClient.ts +283 -0
- package/src/expression/Expression.ts +3 -43
- package/src/expression/ExpressionClient.ts +14 -77
- package/src/expression/ExpressionRef.ts +0 -6
- package/src/generated/api/AIModelLoadingStatus.ts +3 -0
- package/src/generated/api/AddLinkExpressionRequest.ts +4 -0
- package/src/generated/api/AddLinkRequest.ts +4 -0
- package/src/generated/api/AddLinksBulkRequest.ts +4 -0
- package/src/generated/api/AddSdnaRequest.ts +3 -0
- package/src/generated/api/ApplyTemplateRequest.ts +3 -0
- package/src/generated/api/AuthInfoInput.ts +4 -0
- package/src/generated/api/CapabilityInput.ts +4 -0
- package/src/generated/api/CommitBatchRequest.ts +3 -0
- package/src/generated/api/ComputeLogEntry.ts +3 -0
- package/src/generated/api/CreateExpressionRequest.ts +3 -0
- package/src/generated/api/CreatePerspectiveRequest.ts +3 -0
- package/src/generated/api/CreateSubjectRequest.ts +3 -0
- package/src/generated/api/EmbedRequest.ts +3 -0
- package/src/generated/api/EntanglementProofInput.ts +3 -0
- package/src/generated/api/ExecuteCommandsRequest.ts +3 -0
- package/src/generated/api/ExportRequest.ts +3 -0
- package/src/generated/api/ExpressionManyRequest.ts +3 -0
- package/src/generated/api/ExpressionProof.ts +3 -0
- package/src/generated/api/ExpressionProofInput.ts +3 -0
- package/src/generated/api/FriendSendMessageRequest.ts +3 -0
- package/src/generated/api/FriendsListRequest.ts +3 -0
- package/src/generated/api/GenerateAgentRequest.ts +3 -0
- package/src/generated/api/GenerateJwtRequest.ts +3 -0
- package/src/generated/api/GetSubjectDataRequest.ts +3 -0
- package/src/generated/api/ImportAgentRequest.ts +3 -0
- package/src/generated/api/ImportRequest.ts +3 -0
- package/src/generated/api/JoinNeighbourhoodRequest.ts +3 -0
- package/src/generated/api/LanguageMetaInput.ts +3 -0
- package/src/generated/api/Link.ts +3 -0
- package/src/generated/api/LinkExpression.ts +6 -0
- package/src/generated/api/LinkExpressionInput.ts +6 -0
- package/src/generated/api/LinkInput.ts +3 -0
- package/src/generated/api/LinkLanguageTemplatesRequest.ts +3 -0
- package/src/generated/api/LinkMutations.ts +5 -0
- package/src/generated/api/LinkStatus.ts +3 -0
- package/src/generated/api/LockAgentRequest.ts +3 -0
- package/src/generated/api/ModelType.ts +3 -0
- package/src/generated/api/NotificationInput.ts +3 -0
- package/src/generated/api/OpenLinkRequest.ts +3 -0
- package/src/generated/api/PermitCapabilityRequest.ts +3 -0
- package/src/generated/api/PerspectiveInput.ts +4 -0
- package/src/generated/api/PromptRequest.ts +3 -0
- package/src/generated/api/PublishLanguageRequest.ts +4 -0
- package/src/generated/api/PublishNeighbourhoodRequest.ts +4 -0
- package/src/generated/api/QueryRequest.ts +6 -0
- package/src/generated/api/RemoveLinkRequest.ts +4 -0
- package/src/generated/api/RemoveLinksBulkRequest.ts +4 -0
- package/src/generated/api/ResourceInput.ts +3 -0
- package/src/generated/api/SetDefaultModelRequest.ts +4 -0
- package/src/generated/api/SetFreeHostingEnabledRequest.ts +3 -0
- package/src/generated/api/SetMultiUserRequest.ts +3 -0
- package/src/generated/api/SetStatusRequest.ts +3 -0
- package/src/generated/api/SignMessageRequest.ts +3 -0
- package/src/generated/api/TrustedAgentsRequest.ts +3 -0
- package/src/generated/api/UnlockAgentRequest.ts +3 -0
- package/src/generated/api/UpdateLinkRequest.ts +5 -0
- package/src/generated/api/UpdatePerspectiveRequest.ts +3 -0
- package/src/generated/api/UserStatistics.ts +3 -0
- package/src/generated/api/VerificationRequestResult.ts +3 -0
- package/src/generated/api/VerifySignatureRequest.ts +3 -0
- package/src/generated/api/WriteSettingsRequest.ts +3 -0
- package/src/generated/api/index.ts +49 -0
- package/src/index.ts +6 -2
- package/src/jestSetup.ts +1 -1
- package/src/language/Icon.ts +0 -4
- package/src/language/Language.ts +50 -292
- package/src/language/LanguageClient.ts +21 -132
- package/src/language/LanguageHandle.ts +0 -14
- package/src/language/LanguageMeta.ts +0 -29
- package/src/language/LanguageRef.ts +0 -7
- package/src/links/Links.ts +0 -37
- package/src/model/Ad4mModel.test.ts +827 -808
- package/src/model/Ad4mModel.ts +676 -457
- package/src/model/ModelQueryBuilder.ts +199 -217
- package/src/model/decorators.ts +29 -0
- package/src/model/hydration.ts +17 -572
- package/src/model/index.ts +0 -4
- package/src/model/query-sparql.test.ts +360 -0
- package/src/model/query-sparql.ts +203 -56
- package/src/model/query-utils.ts +4 -0
- package/src/model/shacl-gen.ts +5 -0
- package/src/model/types.ts +62 -1
- package/src/neighbourhood/Neighbourhood.ts +0 -9
- package/src/neighbourhood/NeighbourhoodClient.ts +42 -207
- package/src/neighbourhood/NeighbourhoodProxy.test.ts +34 -36
- package/src/perspectives/LinkQuery.ts +0 -15
- package/src/perspectives/Perspective.ts +1 -12
- package/src/perspectives/PerspectiveClient.test.ts +262 -0
- package/src/perspectives/PerspectiveClient.ts +227 -412
- package/src/perspectives/PerspectiveDiff.ts +0 -8
- package/src/perspectives/PerspectiveHandle.ts +1 -12
- package/src/perspectives/PerspectiveProxy.test.ts +41 -0
- package/src/perspectives/PerspectiveProxy.ts +325 -348
- package/src/runtime/RuntimeClient.ts +112 -474
- package/src/runtime/RuntimeTypes.ts +144 -0
- package/src/shacl/SHACLShape.test.ts +94 -0
- package/src/shacl/SHACLShape.ts +27 -0
- package/src/typeDefs.ts +3 -5
- package/tsconfig.json +3 -7
- package/lib/src/model/query-surreal.d.ts +0 -44
- package/lib/src/model/query-surreal.js +0 -249
- package/lib/src/model/surreal-utils.d.ts +0 -42
- package/lib/src/model/surreal-utils.js +0 -128
- package/shims/reflect-metadata.ts +0 -0
- package/shims/type-graphql.ts +0 -75
- package/src/PubSub.ts +0 -17
- package/src/agent/AgentResolver.ts +0 -263
- package/src/ai/AIResolver.ts +0 -372
- package/src/buildSchema.ts +0 -43
- package/src/expression/ExpressionResolver.ts +0 -64
- package/src/language/LanguageContext.ts +0 -37
- package/src/language/LanguageResolver.ts +0 -98
- package/src/model/Subject.ts +0 -159
- package/src/model/hydration-batch.ts +0 -205
- package/src/model/prolog-facts.ts +0 -145
- package/src/model/query-prolog.ts +0 -148
- package/src/model/query-sparql-batch.ts +0 -301
- package/src/model/subscription-pool.ts +0 -163
- package/src/neighbourhood/NeighbourhoodResolver.ts +0 -100
- package/src/perspectives/PerspectiveResolver.ts +0 -364
- package/src/runtime/RuntimeResolver.ts +0 -749
- package/src/unwrapApolloResult.ts +0 -16
- package/tsconfig-browser.json +0 -82
package/lib/src/typeDefs.js
CHANGED
|
@@ -1,628 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
downloaded: Boolean!
|
|
5
|
-
loaded: Boolean!
|
|
6
|
-
model: String!
|
|
7
|
-
progress: Float!
|
|
8
|
-
status: String!
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
type AIPromptExamples {
|
|
12
|
-
input: String!
|
|
13
|
-
output: String!
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
input AIPromptExamplesInput {
|
|
17
|
-
input: String!
|
|
18
|
-
output: String!
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
type AITask {
|
|
22
|
-
createdAt: String!
|
|
23
|
-
metaData: String
|
|
24
|
-
modelId: String!
|
|
25
|
-
name: String!
|
|
26
|
-
promptExamples: [AIPromptExamples!]!
|
|
27
|
-
systemPrompt: String!
|
|
28
|
-
taskId: String!
|
|
29
|
-
updatedAt: String!
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
input AITaskInput {
|
|
33
|
-
metaData: String
|
|
34
|
-
modelId: String!
|
|
35
|
-
name: String!
|
|
36
|
-
promptExamples: [AIPromptExamplesInput!]!
|
|
37
|
-
systemPrompt: String!
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
type Agent {
|
|
41
|
-
did: String!
|
|
42
|
-
directMessageLanguage: String
|
|
43
|
-
perspective: Perspective
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
type AgentSignature {
|
|
47
|
-
publicKey: String!
|
|
48
|
-
signature: String!
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
type AgentStatus {
|
|
52
|
-
did: String
|
|
53
|
-
didDocument: String
|
|
54
|
-
error: String
|
|
55
|
-
isInitialized: Boolean!
|
|
56
|
-
isUnlocked: Boolean!
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
type Apps {
|
|
60
|
-
auth: AuthInfo!
|
|
61
|
-
requestId: String!
|
|
62
|
-
revoked: Boolean
|
|
63
|
-
token: String!
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
type AuthInfo {
|
|
67
|
-
appDesc: String!
|
|
68
|
-
appIconPath: String
|
|
69
|
-
appName: String!
|
|
70
|
-
appUrl: String!
|
|
71
|
-
capabilities: [Capability!]!
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
input AuthInfoInput {
|
|
75
|
-
appDesc: String!
|
|
76
|
-
appDomain: String!
|
|
77
|
-
appIconPath: String
|
|
78
|
-
appName: String!
|
|
79
|
-
appUrl: String
|
|
80
|
-
capabilities: [CapabilityInput!]
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
type Capability {
|
|
84
|
-
can: [String!]!
|
|
85
|
-
with: Resource!
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
input CapabilityInput {
|
|
89
|
-
can: [String!]!
|
|
90
|
-
with: ResourceInput!
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
type ComputeLogEntry {
|
|
94
|
-
cost: Float!
|
|
95
|
-
creditsAfter: Float!
|
|
96
|
-
id: Float!
|
|
97
|
-
operation: String!
|
|
98
|
-
summary: String
|
|
99
|
-
timestamp: String!
|
|
100
|
-
userEmail: String!
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
scalar DateTime
|
|
104
|
-
|
|
105
|
-
type EntanglementProof {
|
|
106
|
-
deviceKey: String!
|
|
107
|
-
deviceKeySignedByDid: String!
|
|
108
|
-
deviceKeyType: String!
|
|
109
|
-
did: String!
|
|
110
|
-
didSignedByDeviceKey: String
|
|
111
|
-
didSigningKeyId: String!
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
input EntanglementProofInput {
|
|
115
|
-
deviceKey: String!
|
|
116
|
-
deviceKeySignedByDid: String!
|
|
117
|
-
deviceKeyType: String!
|
|
118
|
-
did: String!
|
|
119
|
-
didSignedByDeviceKey: String!
|
|
120
|
-
didSigningKeyId: String!
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
type ExceptionInfo {
|
|
124
|
-
addon: String
|
|
125
|
-
message: String!
|
|
126
|
-
title: String!
|
|
127
|
-
type: Int!
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
type ExpressionProof {
|
|
131
|
-
invalid: Boolean
|
|
132
|
-
key: String
|
|
133
|
-
signature: String
|
|
134
|
-
valid: Boolean
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
input ExpressionProofInput {
|
|
138
|
-
invalid: Boolean
|
|
139
|
-
key: String
|
|
140
|
-
signature: String
|
|
141
|
-
valid: Boolean
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
type ExpressionRendered {
|
|
145
|
-
author: String!
|
|
146
|
-
data: String!
|
|
147
|
-
icon: Icon!
|
|
148
|
-
language: LanguageRef!
|
|
149
|
-
proof: ExpressionProof!
|
|
150
|
-
timestamp: String!
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
type HostingUserInfo {
|
|
154
|
-
email: String!
|
|
155
|
-
freeAccess: Boolean!
|
|
156
|
-
hotWalletAddress: String
|
|
157
|
-
remainingCredits: String!
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
type Icon {
|
|
161
|
-
code: String!
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
input InteractionCall {
|
|
165
|
-
name: String!
|
|
166
|
-
parametersStringified: String!
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
type InteractionMeta {
|
|
170
|
-
label: String!
|
|
171
|
-
name: String!
|
|
172
|
-
parameters: [InteractionParameter!]!
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
type InteractionParameter {
|
|
176
|
-
name: String!
|
|
177
|
-
type: String!
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
type LanguageHandle {
|
|
181
|
-
address: String!
|
|
182
|
-
constructorIcon: Icon
|
|
183
|
-
icon: Icon
|
|
184
|
-
name: String!
|
|
185
|
-
settings: String
|
|
186
|
-
settingsIcon: Icon
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
type LanguageMeta {
|
|
190
|
-
address: String!
|
|
191
|
-
author: String!
|
|
192
|
-
description: String
|
|
193
|
-
name: String!
|
|
194
|
-
possibleTemplateParams: [String!]
|
|
195
|
-
sourceCodeLink: String
|
|
196
|
-
templateAppliedParams: String
|
|
197
|
-
templateSourceLanguageAddress: String
|
|
198
|
-
templated: Boolean
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
input LanguageMetaInput {
|
|
202
|
-
description: String = ""
|
|
203
|
-
name: String!
|
|
204
|
-
possibleTemplateParams: [String!]
|
|
205
|
-
sourceCodeLink: String
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
type LanguageRef {
|
|
209
|
-
address: String!
|
|
210
|
-
name: String!
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
type Link {
|
|
214
|
-
predicate: String
|
|
215
|
-
source: String!
|
|
216
|
-
target: String!
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
type LinkExpression {
|
|
220
|
-
author: String!
|
|
221
|
-
data: Link!
|
|
222
|
-
proof: ExpressionProof!
|
|
223
|
-
status: String
|
|
224
|
-
timestamp: String!
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
input LinkExpressionInput {
|
|
228
|
-
author: String!
|
|
229
|
-
data: LinkInput!
|
|
230
|
-
proof: ExpressionProofInput!
|
|
231
|
-
status: String = "shared"
|
|
232
|
-
timestamp: String!
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
type LinkExpressionMutations {
|
|
236
|
-
additions: [LinkExpression!]!
|
|
237
|
-
removals: [LinkExpression!]!
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
type LinkExpressionUpdated {
|
|
241
|
-
newLink: LinkExpression!
|
|
242
|
-
oldLink: LinkExpression!
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
input LinkInput {
|
|
246
|
-
predicate: String
|
|
247
|
-
source: String!
|
|
248
|
-
target: String!
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
input LinkMutations {
|
|
252
|
-
additions: [LinkInput!]!
|
|
253
|
-
removals: [LinkExpressionInput!]!
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
input LinkQuery {
|
|
257
|
-
fromDate: DateTime
|
|
258
|
-
limit: Float
|
|
259
|
-
predicate: String
|
|
260
|
-
source: String
|
|
261
|
-
target: String
|
|
262
|
-
untilDate: DateTime
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
type LocalModel {
|
|
266
|
-
fileName: String!
|
|
267
|
-
huggingfaceRepo: String
|
|
268
|
-
revision: String
|
|
269
|
-
tokenizerSource: TokenizerSource
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
input LocalModelInput {
|
|
273
|
-
fileName: String!
|
|
274
|
-
huggingfaceRepo: String
|
|
275
|
-
revision: String
|
|
276
|
-
tokenizerSource: TokenizerSourceInput
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
type Model {
|
|
280
|
-
api: ModelApi
|
|
281
|
-
id: String!
|
|
282
|
-
local: LocalModel
|
|
283
|
-
modelType: String!
|
|
284
|
-
name: String!
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
type ModelApi {
|
|
288
|
-
apiKey: String!
|
|
289
|
-
apiType: String!
|
|
290
|
-
baseUrl: String!
|
|
291
|
-
model: String!
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
input ModelApiInput {
|
|
295
|
-
apiKey: String!
|
|
296
|
-
apiType: String!
|
|
297
|
-
baseUrl: String!
|
|
298
|
-
model: String!
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
input ModelInput {
|
|
302
|
-
api: ModelApiInput
|
|
303
|
-
local: LocalModelInput
|
|
304
|
-
modelType: String!
|
|
305
|
-
name: String!
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
type Mutation {
|
|
309
|
-
addTrustedAgents(agents: [String!]!): [String!]!
|
|
310
|
-
agentAddEntanglementProofs(proofs: [EntanglementProofInput!]!): [EntanglementProof!]!
|
|
311
|
-
agentDeleteEntanglementProofs(proofs: [EntanglementProofInput!]!): [EntanglementProof!]!
|
|
312
|
-
agentEntanglementProofPreFlight(deviceKey: String!, deviceKeyType: String!): EntanglementProof!
|
|
313
|
-
agentGenerate(passphrase: String!): AgentStatus!
|
|
314
|
-
agentGenerateJwt(rand: String!, requestId: String!): String!
|
|
315
|
-
agentImport(did: String!, didDocument: String!, keystore: String!, passphrase: String!): AgentStatus!
|
|
316
|
-
agentLock(passphrase: String!): AgentStatus!
|
|
317
|
-
agentPermitCapability(auth: String!): String!
|
|
318
|
-
agentRemoveApp(requestId: String!): [Apps!]!
|
|
319
|
-
agentRequestCapability(authInfo: AuthInfoInput!): String!
|
|
320
|
-
agentRevokeToken(requestId: String!): [Apps!]!
|
|
321
|
-
agentSignMessage(message: String!): AgentSignature!
|
|
322
|
-
agentUnlock(holochain: Boolean!, passphrase: String!): AgentStatus!
|
|
323
|
-
agentUpdateDirectMessageLanguage(directMessageLanguage: String!): Agent!
|
|
324
|
-
agentUpdatePublicPerspective(perspective: PerspectiveInput!): Agent!
|
|
325
|
-
aiAddModel(model: ModelInput!): String!
|
|
326
|
-
aiAddTask(task: AITaskInput!): AITask!
|
|
327
|
-
aiCloseTranscriptionStream(streamId: String!): String!
|
|
328
|
-
aiEmbed(modelId: String!, text: String!): String!
|
|
329
|
-
aiFeedTranscriptionStream(audio: [Float!]!, streamIds: [String!]!): String!
|
|
330
|
-
aiOpenTranscriptionStream(modelId: String!, params: VoiceActivityParamsInput): String!
|
|
331
|
-
aiPrompt(prompt: String!, taskId: String!): String!
|
|
332
|
-
aiRemoveModel(modelId: String!): Boolean!
|
|
333
|
-
aiRemoveTask(taskId: String!): AITask!
|
|
334
|
-
aiSetDefaultModel(modelId: String!, modelType: String!): Boolean!
|
|
335
|
-
aiUpdateModel(model: ModelInput!, modelId: String!): Boolean!
|
|
336
|
-
aiUpdateTask(task: AITaskInput!, taskId: String!): AITask!
|
|
337
|
-
deleteTrustedAgents(agents: [String!]!): [String!]!
|
|
338
|
-
expressionCreate(content: String!, languageAddress: String!): String!
|
|
339
|
-
expressionInteract(interactionCall: InteractionCall!, url: String!): String
|
|
340
|
-
languageApplyTemplateAndPublish(sourceLanguageHash: String!, templateData: String!): LanguageRef!
|
|
341
|
-
languagePublish(languageMeta: LanguageMetaInput!, languagePath: String!): LanguageMeta!
|
|
342
|
-
languageRemove(address: String!): Boolean!
|
|
343
|
-
languageWriteSettings(languageAddress: String!, settings: String!): Boolean!
|
|
344
|
-
neighbourhoodJoinFromUrl(url: String!): PerspectiveHandle!
|
|
345
|
-
neighbourhoodPublishFromPerspective(linkLanguage: String!, meta: PerspectiveInput!, perspectiveUUID: String!): String!
|
|
346
|
-
neighbourhoodSendBroadcast(loopback: Boolean, payload: PerspectiveInput!, perspectiveUUID: String!): Boolean!
|
|
347
|
-
neighbourhoodSendBroadcastU(loopback: Boolean, payload: PerspectiveUnsignedInput!, perspectiveUUID: String!): Boolean!
|
|
348
|
-
neighbourhoodSendSignal(payload: PerspectiveInput!, perspectiveUUID: String!, remoteAgentDid: String!): Boolean!
|
|
349
|
-
neighbourhoodSendSignalU(payload: PerspectiveUnsignedInput!, perspectiveUUID: String!, remoteAgentDid: String!): Boolean!
|
|
350
|
-
neighbourhoodSetOnlineStatus(perspectiveUUID: String!, status: PerspectiveInput!): Boolean!
|
|
351
|
-
neighbourhoodSetOnlineStatusU(perspectiveUUID: String!, status: PerspectiveUnsignedInput!): Boolean!
|
|
352
|
-
perspectiveAdd(name: String!): PerspectiveHandle!
|
|
353
|
-
perspectiveAddLink(batchId: String, link: LinkInput!, status: String = "shared", uuid: String!): LinkExpression!
|
|
354
|
-
perspectiveAddLinkExpression(batchId: String, link: LinkExpressionInput!, status: String = "shared", uuid: String!): LinkExpression!
|
|
355
|
-
perspectiveAddLinks(batchId: String, links: [LinkInput!]!, status: String = "shared", uuid: String!): [LinkExpression!]!
|
|
356
|
-
perspectiveAddSdna(name: String!, sdnaCode: String, sdnaType: String!, shaclJson: String, uuid: String!): Boolean!
|
|
357
|
-
perspectiveCommitBatch(batchId: String!, uuid: String!): LinkExpressionMutations!
|
|
358
|
-
perspectiveCreateBatch(uuid: String!): String!
|
|
359
|
-
perspectiveCreateSubject(batchId: String, expressionAddress: String!, initialValues: String, subjectClass: String!, uuid: String!): Boolean!
|
|
360
|
-
perspectiveDisposeQuerySubscription(subscriptionId: String!, uuid: String!): Boolean!
|
|
361
|
-
perspectiveExecuteCommands(batchId: String, commands: String!, expression: String!, parameters: String, uuid: String!): Boolean!
|
|
362
|
-
perspectiveGetSubjectData(expressionAddress: String!, subjectClass: String!, uuid: String!): String!
|
|
363
|
-
perspectiveKeepAliveQuery(subscriptionId: String!, uuid: String!): Boolean!
|
|
364
|
-
perspectiveLinkMutations(mutations: LinkMutations!, status: String, uuid: String!): LinkExpressionMutations!
|
|
365
|
-
perspectivePublishSnapshot(uuid: String!): String
|
|
366
|
-
perspectiveRemove(uuid: String!): Boolean!
|
|
367
|
-
perspectiveRemoveLink(batchId: String, link: LinkExpressionInput!, uuid: String!): Boolean!
|
|
368
|
-
perspectiveRemoveLinks(batchId: String, links: [LinkExpressionInput!]!, uuid: String!): [LinkExpression!]!
|
|
369
|
-
perspectiveSubscribeQuery(query: String!, uuid: String!): QuerySubscription!
|
|
370
|
-
perspectiveUpdate(name: String!, uuid: String!): PerspectiveHandle
|
|
371
|
-
perspectiveUpdateLink(batchId: String, newLink: LinkInput!, oldLink: LinkExpressionInput!, uuid: String!): LinkExpression!
|
|
372
|
-
runtimeAddFriends(dids: [String!]!): [String!]!
|
|
373
|
-
runtimeAddKnownLinkLanguageTemplates(addresses: [String!]!): [String!]!
|
|
374
|
-
runtimeCreateUser(appInfo: AuthInfoInput, email: String!, password: String!): UserCreationResult!
|
|
375
|
-
runtimeEmailTestClearCodes: Boolean!
|
|
376
|
-
runtimeEmailTestGetCode(email: String!): String
|
|
377
|
-
runtimeEmailTestModeDisable: Boolean!
|
|
378
|
-
runtimeEmailTestModeEnable: Boolean!
|
|
379
|
-
runtimeEmailTestSetExpiry(email: String!, expiresAt: Float!, verificationType: String!): Boolean!
|
|
380
|
-
runtimeExportDb(filePath: String!): Boolean!
|
|
381
|
-
runtimeExportPerspective(filePath: String!, perspectiveUuid: String!): Boolean!
|
|
382
|
-
runtimeFriendSendMessage(did: String!, message: PerspectiveInput!): Boolean!
|
|
383
|
-
runtimeGrantNotification(id: String!): Boolean!
|
|
384
|
-
runtimeHcAddAgentInfos(agentInfos: String!): Boolean!
|
|
385
|
-
runtimeImportDb(filePath: String!): Boolean!
|
|
386
|
-
runtimeImportPerspective(filePath: String!): Boolean!
|
|
387
|
-
runtimeLoginUser(email: String!, password: String!): String!
|
|
388
|
-
runtimeOpenLink(url: String!): Boolean!
|
|
389
|
-
runtimeQuit: Boolean!
|
|
390
|
-
runtimeReinstallUnytDna: PaymentRequestResult!
|
|
391
|
-
runtimeRemoveFriends(dids: [String!]!): [String!]!
|
|
392
|
-
runtimeRemoveKnownLinkLanguageTemplates(addresses: [String!]!): [String!]!
|
|
393
|
-
runtimeRemoveNotification(id: String!): Boolean!
|
|
394
|
-
runtimeRequestInstallNotification(notification: NotificationInput!): String!
|
|
395
|
-
runtimeRequestLoginVerification(appInfo: AuthInfoInput, email: String!): VerificationRequestResult!
|
|
396
|
-
runtimeRequestPayment(amountHOT: String!): PaymentRequestResult!
|
|
397
|
-
runtimeRestartHolochain: Boolean!
|
|
398
|
-
runtimeSendHot(amount: String!, recipient: String!): PaymentRequestResult!
|
|
399
|
-
runtimeSetFreeHostingEnabled(enabled: Boolean!): Boolean!
|
|
400
|
-
runtimeSetHotWalletAddress(address: String!): Boolean!
|
|
401
|
-
runtimeSetMultiUserEnabled(enabled: Boolean!): Boolean!
|
|
402
|
-
runtimeSetStatus(status: PerspectiveInput!): Boolean!
|
|
403
|
-
runtimeSetUnytMembraneProof(proof: String!): PaymentRequestResult!
|
|
404
|
-
runtimeSetUserCredits(amount: Float!, email: String!): Boolean!
|
|
405
|
-
runtimeSetUserFreeAccess(email: String!, enabled: Boolean!): Boolean!
|
|
406
|
-
runtimeTestEmail(to: String!): Boolean!
|
|
407
|
-
runtimeUpdateNotification(id: String!, notification: NotificationInput!): Boolean!
|
|
408
|
-
runtimeVerifyEmailCode(code: String!, email: String!, verificationType: String!): String!
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
type Neighbourhood {
|
|
412
|
-
linkLanguage: String!
|
|
413
|
-
meta: Perspective!
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
type NeighbourhoodExpression {
|
|
417
|
-
author: String!
|
|
418
|
-
data: Neighbourhood!
|
|
419
|
-
proof: ExpressionProof!
|
|
420
|
-
timestamp: String!
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
type Notification {
|
|
424
|
-
appIconPath: String!
|
|
425
|
-
appName: String!
|
|
426
|
-
appUrl: String!
|
|
427
|
-
description: String!
|
|
428
|
-
granted: Boolean!
|
|
429
|
-
id: String!
|
|
430
|
-
perspectiveIds: [String!]!
|
|
431
|
-
trigger: String!
|
|
432
|
-
webhookAuth: String!
|
|
433
|
-
webhookUrl: String!
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
input NotificationInput {
|
|
437
|
-
appIconPath: String!
|
|
438
|
-
appName: String!
|
|
439
|
-
appUrl: String!
|
|
440
|
-
description: String!
|
|
441
|
-
perspectiveIds: [String!]!
|
|
442
|
-
trigger: String!
|
|
443
|
-
webhookAuth: String!
|
|
444
|
-
webhookUrl: String!
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
type OnlineAgent {
|
|
448
|
-
did: String!
|
|
449
|
-
status: PerspectiveExpression!
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
type PaymentRequestResult {
|
|
453
|
-
message: String!
|
|
454
|
-
success: Boolean!
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
type Perspective {
|
|
458
|
-
links: [LinkExpression!]!
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
type PerspectiveExpression {
|
|
462
|
-
author: String!
|
|
463
|
-
data: Perspective!
|
|
464
|
-
proof: ExpressionProof!
|
|
465
|
-
timestamp: String!
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
type PerspectiveHandle {
|
|
469
|
-
name: String!
|
|
470
|
-
neighbourhood: NeighbourhoodExpression
|
|
471
|
-
owners: [String!]
|
|
472
|
-
sharedUrl: String
|
|
473
|
-
state: String!
|
|
474
|
-
uuid: String!
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
input PerspectiveInput {
|
|
478
|
-
links: [LinkExpressionInput!]!
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
input PerspectiveUnsignedInput {
|
|
482
|
-
links: [LinkInput!] = []
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
type Query {
|
|
486
|
-
agent: Agent!
|
|
487
|
-
agentByDID(did: String!): Agent
|
|
488
|
-
agentGetApps: [Apps!]!
|
|
489
|
-
agentGetEntanglementProofs: [EntanglementProof!]!
|
|
490
|
-
agentIsLocked: Boolean!
|
|
491
|
-
agentStatus: AgentStatus!
|
|
492
|
-
aiGetDefaultModel(modelType: String!): Model!
|
|
493
|
-
aiGetModels: [Model!]!
|
|
494
|
-
aiModelLoadingStatus(model: String!): AIModelLoadingStatus!
|
|
495
|
-
aiTasks: [AITask!]!
|
|
496
|
-
expression(url: String!): ExpressionRendered
|
|
497
|
-
expressionInteractions(url: String!): [InteractionMeta!]!
|
|
498
|
-
expressionMany(urls: [String!]!): [ExpressionRendered]!
|
|
499
|
-
expressionRaw(url: String!): String
|
|
500
|
-
getTrustedAgents: [String!]!
|
|
501
|
-
language(address: String!): LanguageHandle
|
|
502
|
-
languageMeta(address: String!): LanguageMeta!
|
|
503
|
-
languageSource(address: String!): String!
|
|
504
|
-
languages(filter: String): [LanguageHandle!]!
|
|
505
|
-
neighbourhoodHasTelepresenceAdapter(perspectiveUUID: String!): Boolean!
|
|
506
|
-
neighbourhoodOnlineAgents(perspectiveUUID: String!): [OnlineAgent!]!
|
|
507
|
-
neighbourhoodOtherAgents(perspectiveUUID: String!): [String!]!
|
|
508
|
-
perspective(uuid: String!): PerspectiveHandle
|
|
509
|
-
perspectiveQueryLinks(query: LinkQuery!, uuid: String!): [LinkExpression!]
|
|
510
|
-
perspectiveQueryProlog(query: String!, uuid: String!): String!
|
|
511
|
-
perspectiveSnapshot(uuid: String!): Perspective
|
|
512
|
-
perspectives: [PerspectiveHandle!]!
|
|
513
|
-
runtimeComputeLog(limit: Float, since: String, userEmail: String): [ComputeLogEntry!]!
|
|
514
|
-
runtimeFreeHostingEnabled: Boolean!
|
|
515
|
-
runtimeFriendStatus(did: String!): PerspectiveExpression
|
|
516
|
-
runtimeFriends: [String!]!
|
|
517
|
-
runtimeGetNetworkMetrics: String!
|
|
518
|
-
runtimeHcAgentInfos: String!
|
|
519
|
-
runtimeHostingUserInfo: HostingUserInfo!
|
|
520
|
-
runtimeHotAgentPubkey: String!
|
|
521
|
-
runtimeHotWalletBalance: String!
|
|
522
|
-
runtimeHotWalletHistory(page: Float, perPage: Float): String!
|
|
523
|
-
runtimeInfo: RuntimeInfo!
|
|
524
|
-
runtimeKnownLinkLanguageTemplates: [String!]!
|
|
525
|
-
runtimeListUsers: [UserStatistics!]!
|
|
526
|
-
runtimeMessageInbox(filter: String): [PerspectiveExpression!]!
|
|
527
|
-
runtimeMessageOutbox(filter: String): [SentMessage!]!
|
|
528
|
-
runtimeMultiUserEnabled: Boolean!
|
|
529
|
-
runtimeNotifications: [Notification!]!
|
|
530
|
-
runtimeUnytAgentKey: String!
|
|
531
|
-
runtimeUnytVersionInfo: String!
|
|
532
|
-
runtimeVerifyStringSignedByDid(data: String!, did: String!, didSigningKeyId: String!, signedData: String!): Boolean!
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
type QuerySubscription {
|
|
536
|
-
result: String!
|
|
537
|
-
subscriptionId: String!
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
type Resource {
|
|
541
|
-
domain: String!
|
|
542
|
-
pointers: [String!]!
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
input ResourceInput {
|
|
546
|
-
domain: String!
|
|
547
|
-
pointers: [String!]!
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
type RuntimeInfo {
|
|
551
|
-
ad4mExecutorVersion: String!
|
|
552
|
-
isInitialized: Boolean!
|
|
553
|
-
isUnlocked: Boolean!
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
type SentMessage {
|
|
557
|
-
message: PerspectiveExpression!
|
|
558
|
-
recipient: String!
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
type Subscription {
|
|
562
|
-
agentAppsChanged: [Apps!]
|
|
563
|
-
agentStatusChanged: AgentStatus
|
|
564
|
-
agentUpdated: Agent
|
|
565
|
-
aiTranscriptionText(streamId: String!): String!
|
|
566
|
-
exceptionOccurred: ExceptionInfo
|
|
567
|
-
neighbourhoodSignal(perspectiveUUID: String!): PerspectiveExpression
|
|
568
|
-
perspectiveAdded: PerspectiveHandle
|
|
569
|
-
perspectiveLinkAdded(uuid: String!): LinkExpression
|
|
570
|
-
perspectiveLinkRemoved(uuid: String!): LinkExpression
|
|
571
|
-
perspectiveLinkUpdated(uuid: String!): LinkExpressionUpdated
|
|
572
|
-
perspectiveQuerySubscription(subscriptionId: String!): String!
|
|
573
|
-
perspectiveRemoved: String
|
|
574
|
-
perspectiveSyncStateChange(uuid: String!): String!
|
|
575
|
-
perspectiveUpdated: PerspectiveHandle
|
|
576
|
-
runtimeMessageReceived: PerspectiveExpression
|
|
577
|
-
runtimeNotificationTriggered: TriggeredNotification
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
type TokenizerSource {
|
|
581
|
-
fileName: String!
|
|
582
|
-
repo: String!
|
|
583
|
-
revision: String!
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
input TokenizerSourceInput {
|
|
587
|
-
fileName: String!
|
|
588
|
-
repo: String!
|
|
589
|
-
revision: String!
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
type TriggeredNotification {
|
|
593
|
-
notification: Notification!
|
|
594
|
-
perspectiveId: String!
|
|
595
|
-
triggerMatch: String!
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
type UserCreationResult {
|
|
599
|
-
did: String!
|
|
600
|
-
error: String
|
|
601
|
-
success: Boolean!
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
type UserStatistics {
|
|
605
|
-
did: String!
|
|
606
|
-
email: String!
|
|
607
|
-
freeAccess: Boolean!
|
|
608
|
-
hotWalletAddress: String
|
|
609
|
-
lastSeen: String
|
|
610
|
-
perspectiveCount: Int!
|
|
611
|
-
remainingCredits: String!
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
type VerificationRequestResult {
|
|
615
|
-
isExistingUser: Boolean!
|
|
616
|
-
message: String!
|
|
617
|
-
requiresPassword: Boolean!
|
|
618
|
-
success: Boolean!
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
input VoiceActivityParamsInput {
|
|
622
|
-
endThreshold: Float
|
|
623
|
-
endWindow: Float
|
|
624
|
-
startThreshold: Float
|
|
625
|
-
startWindow: Float
|
|
626
|
-
timeBeforeSpeech: Float
|
|
627
|
-
}
|
|
628
|
-
`
|
|
1
|
+
// Placeholder for type definition string.
|
|
2
|
+
// Previously generated by buildSchema; kept for backward compatibility.
|
|
3
|
+
export const typeDefsString = "";
|
package/package.json
CHANGED
|
@@ -5,12 +5,6 @@
|
|
|
5
5
|
"module": "lib/index.js",
|
|
6
6
|
"types": "lib/src/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "patch-package && tsc && pnpm run buildSchema && pnpm run bundle",
|
|
10
|
-
"buildSchema": "tsx lib/src/buildSchema.js",
|
|
11
|
-
"bundle": "rollup -c rollup.config.js",
|
|
12
|
-
"test": "jest --forceExit"
|
|
13
|
-
},
|
|
14
8
|
"repository": {
|
|
15
9
|
"type": "git",
|
|
16
10
|
"url": "git+https://github.com/coasys/ad4m.git"
|
|
@@ -31,26 +25,17 @@
|
|
|
31
25
|
},
|
|
32
26
|
"homepage": "https://ad4m.dev",
|
|
33
27
|
"dependencies": {
|
|
34
|
-
"@apollo/client": "3.7.10",
|
|
35
28
|
"@holochain/client": "0.16.0",
|
|
36
29
|
"base64-js": "*",
|
|
37
|
-
"
|
|
38
|
-
"express": "4.18.2",
|
|
39
|
-
"graphql": "15.7.2",
|
|
40
|
-
"pako": "*",
|
|
41
|
-
"reflect-metadata": "^0.1.13"
|
|
30
|
+
"pako": "*"
|
|
42
31
|
},
|
|
43
32
|
"devDependencies": {
|
|
44
|
-
"@apollo/server": "^4.9.4",
|
|
45
|
-
"@rollup/plugin-alias": "^3.1.5",
|
|
46
33
|
"@rollup/plugin-commonjs": "^20.0.0",
|
|
47
34
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
48
35
|
"@types/jest": "^29",
|
|
49
36
|
"@types/node": "*",
|
|
50
|
-
"@types/yargs": "*",
|
|
51
37
|
"concat-md": "^0.5.0",
|
|
52
38
|
"cross-fetch": "^3.1.4",
|
|
53
|
-
"graphql-ws": "5.12.0",
|
|
54
39
|
"honkit": "^4.0.0",
|
|
55
40
|
"jest": "^29",
|
|
56
41
|
"patch-package": "^8.0.0",
|
|
@@ -59,15 +44,15 @@
|
|
|
59
44
|
"rollup": "^2.56.3",
|
|
60
45
|
"ts-jest": "^29",
|
|
61
46
|
"tsx": "^4.21.0",
|
|
62
|
-
"type-graphql": "1.1.1",
|
|
63
47
|
"typescript": "^4.6.2",
|
|
64
48
|
"ws": "8.13.0"
|
|
65
49
|
},
|
|
66
50
|
"patchedDependencies": {},
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
51
|
+
"version": "0.13.0-test-4",
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "patch-package && tsc && pnpm run bundle",
|
|
54
|
+
"bundle": "rollup -c rollup.config.js",
|
|
55
|
+
"test": "jest --forceExit",
|
|
56
|
+
"generate:api-types": "cd ../rust-executor && TS_RS_EXPORT_DIR=../core/src/generated/api/ cargo test --lib 2>/dev/null && echo \"API types generated to core/src/generated/api/\""
|
|
57
|
+
}
|
|
58
|
+
}
|
package/rollup.config.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import alias from '@rollup/plugin-alias';
|
|
2
1
|
import nodeResolve from '@rollup/plugin-node-resolve';
|
|
3
2
|
import commonjs from '@rollup/plugin-commonjs';
|
|
4
3
|
|
|
@@ -15,12 +14,6 @@ module.exports = {
|
|
|
15
14
|
}
|
|
16
15
|
],
|
|
17
16
|
plugins: [
|
|
18
|
-
alias({
|
|
19
|
-
entries: [
|
|
20
|
-
{ find: 'type-graphql', replacement: './lib/shims/type-graphql.js' },
|
|
21
|
-
{ find: 'reflect-metadata', replacement: './lib/shims/reflect-metadata.js' }
|
|
22
|
-
]
|
|
23
|
-
}),
|
|
24
17
|
nodeResolve(),
|
|
25
18
|
commonjs()
|
|
26
19
|
]
|