Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix integration with Holochain after data path changes #193

Merged
merged 15 commits into from
Jan 26, 2024
1,107 changes: 484 additions & 623 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ members = [
resolver = "2"

[workspace.dependencies]
hdi = "0.4.0-beta-dev.16"
hdk = "0.3.0-beta-dev.20"
hdi = "0.4.0-beta-dev.19"
hdk = "0.3.0-beta-dev.23"
serde = "1.0.181"

[profile.dev]
Expand Down
2 changes: 1 addition & 1 deletion crates/trycp_server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ nix = "0.20"
once_cell = "1.5.0"
parking_lot = "0.10"
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls-tls-native-roots"] }
rmp-serde = "1.1"
rmp-serde = "=0.15.5"
serde = { version = "1.0.181", features = ["derive"] }
serde_bytes = "0.11"
slab = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion crates/trycp_server/src/configure_player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pub(crate) fn configure_player(
config_file,
"\
---
environment_path: environment
data_root_path: environment
keystore:
type: lair_server
connection_url: {}
Expand Down
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseagentinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseAgentInfo
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponseagentinfo.data.md) | | AgentInfoResponse | |
| [type](./tryorama.adminapiresponseagentinfo.type.md) | | "agent\_info" | |
| [type](./tryorama.adminapiresponseagentinfo.type.md) | | { agent\_info: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseagentinfo.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "agent_info";
type: {
agent_info: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseagentinfoadded.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export interface AdminApiResponseAgentInfoAdded

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [type](./tryorama.adminapiresponseagentinfoadded.type.md) | | "agent\_info\_added" | |
| [type](./tryorama.adminapiresponseagentinfoadded.type.md) | | { agent\_info\_added: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseagentinfoadded.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "agent_info_added";
type: {
agent_info_added: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseagentpubkeygenerated.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseAgentPubKeyGenerated
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponseagentpubkeygenerated.data.md) | | HoloHash | |
| [type](./tryorama.adminapiresponseagentpubkeygenerated.type.md) | | "agent\_pub\_key\_generated" | |
| [type](./tryorama.adminapiresponseagentpubkeygenerated.type.md) | | { agent\_pub\_key\_generated: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseagentpubkeygenerated.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "agent_pub_key_generated";
type: {
agent_pub_key_generated: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseappdisabled.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseAppDisabled
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponseappdisabled.data.md) | | DisableAppResponse | |
| [type](./tryorama.adminapiresponseappdisabled.type.md) | | "app\_disabled" | |
| [type](./tryorama.adminapiresponseappdisabled.type.md) | | { app\_disabled: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseappdisabled.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "app_disabled";
type: {
app_disabled: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseappenabled.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseAppEnabled
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponseappenabled.data.md) | | EnableAppResponse | |
| [type](./tryorama.adminapiresponseappenabled.type.md) | | "app\_enabled" | |
| [type](./tryorama.adminapiresponseappenabled.type.md) | | { app\_enabled: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseappenabled.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "app_enabled";
type: {
app_enabled: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseappinstalled.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseAppInstalled
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponseappinstalled.data.md) | | AppInfo | |
| [type](./tryorama.adminapiresponseappinstalled.type.md) | | "app\_installed" | |
| [type](./tryorama.adminapiresponseappinstalled.type.md) | | { app\_installed: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseappinstalled.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "app_installed";
type: {
app_installed: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseappinterfaceattached.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseAppInterfaceAttached
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponseappinterfaceattached.data.md) | | AttachAppInterfaceResponse | |
| [type](./tryorama.adminapiresponseappinterfaceattached.type.md) | | "app\_interface\_attached" | |
| [type](./tryorama.adminapiresponseappinterfaceattached.type.md) | | { app\_interface\_attached: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseappinterfaceattached.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "app_interface_attached";
type: {
app_interface_attached: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseappinterfaceslisted.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseAppInterfacesListed
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponseappinterfaceslisted.data.md) | | ListAppInterfacesResponse | |
| [type](./tryorama.adminapiresponseappinterfaceslisted.type.md) | | "app\_interfaces\_listed" | |
| [type](./tryorama.adminapiresponseappinterfaceslisted.type.md) | | { app\_interfaces\_listed: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseappinterfaceslisted.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "app_interfaces_listed";
type: {
app_interfaces_listed: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseappslisted.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseAppsListed
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponseappslisted.data.md) | | ListAppsResponse | |
| [type](./tryorama.adminapiresponseappslisted.type.md) | | "apps\_listed" | |
| [type](./tryorama.adminapiresponseappslisted.type.md) | | { apps\_listed: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseappslisted.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "apps_listed";
type: {
apps_listed: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseappstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseAppStarted
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponseappstarted.data.md) | | StartAppResponse | |
| [type](./tryorama.adminapiresponseappstarted.type.md) | | "app\_started" | |
| [type](./tryorama.adminapiresponseappstarted.type.md) | | { app\_started: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseappstarted.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "app_started";
type: {
app_started: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseappuninstalled.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseAppUninstalled
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponseappuninstalled.data.md) | | UninstallAppResponse | |
| [type](./tryorama.adminapiresponseappuninstalled.type.md) | | "app\_uninstalled" | |
| [type](./tryorama.adminapiresponseappuninstalled.type.md) | | { app\_uninstalled: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseappuninstalled.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "app_uninstalled";
type: {
app_uninstalled: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponsecellidslisted.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseCellIdsListed
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponsecellidslisted.data.md) | | ListCellIdsResponse | |
| [type](./tryorama.adminapiresponsecellidslisted.type.md) | | "cell\_ids\_listed" | |
| [type](./tryorama.adminapiresponsecellidslisted.type.md) | | { cell\_ids\_listed: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponsecellidslisted.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "cell_ids_listed";
type: {
cell_ids_listed: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponseclonecelldeleted.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export interface AdminApiResponseCloneCellDeleted

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [type](./tryorama.adminapiresponseclonecelldeleted.type.md) | | "clone\_cell\_deleted" | |
| [type](./tryorama.adminapiresponseclonecelldeleted.type.md) | | { clone\_cell\_deleted: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponseclonecelldeleted.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "clone_cell_deleted";
type: {
clone_cell_deleted: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponsecoordinatorsupdated.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseCoordinatorsUpdated
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponsecoordinatorsupdated.data.md) | | UpdateCoordinatorsResponse | |
| [type](./tryorama.adminapiresponsecoordinatorsupdated.type.md) | | "coordinators\_updated" | |
| [type](./tryorama.adminapiresponsecoordinatorsupdated.type.md) | | { coordinators\_updated: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponsecoordinatorsupdated.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "coordinators_updated";
type: {
coordinators_updated: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponsednaregistered.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseDnaRegistered
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponsednaregistered.data.md) | | HoloHash | |
| [type](./tryorama.adminapiresponsednaregistered.type.md) | | "dna\_registered" | |
| [type](./tryorama.adminapiresponsednaregistered.type.md) | | { dna\_registered: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponsednaregistered.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "dna_registered";
type: {
dna_registered: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponsednasdefinitionreturned.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseDnasDefinitionReturned
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponsednasdefinitionreturned.data.md) | | DnaDefinition | |
| [type](./tryorama.adminapiresponsednasdefinitionreturned.type.md) | | "dna\_definition\_returned" | |
| [type](./tryorama.adminapiresponsednasdefinitionreturned.type.md) | | { dna\_definition\_returned: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponsednasdefinitionreturned.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "dna_definition_returned";
type: {
dna_definition_returned: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponsednaslisted.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseDnasListed
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponsednaslisted.data.md) | | ListDnasResponse | |
| [type](./tryorama.adminapiresponsednaslisted.type.md) | | "dnas\_listed" | |
| [type](./tryorama.adminapiresponsednaslisted.type.md) | | { dnas\_listed: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponsednaslisted.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "dnas_listed";
type: {
dnas_listed: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponsefullstatedumped.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseFullStateDumped
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponsefullstatedumped.data.md) | | FullStateDump | |
| [type](./tryorama.adminapiresponsefullstatedumped.type.md) | | "full\_state\_dumped" | |
| [type](./tryorama.adminapiresponsefullstatedumped.type.md) | | { full\_state\_dumped: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponsefullstatedumped.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "full_state_dumped";
type: {
full_state_dumped: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponsenetworkstatsdumped.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseNetworkStatsDumped
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponsenetworkstatsdumped.data.md) | | DumpNetworkStatsResponse | |
| [type](./tryorama.adminapiresponsenetworkstatsdumped.type.md) | | "network\_stats\_dumped" | |
| [type](./tryorama.adminapiresponsenetworkstatsdumped.type.md) | | { network\_stats\_dumped: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponsenetworkstatsdumped.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "network_stats_dumped";
type: {
network_stats_dumped: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponsestatedumped.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseStateDumped
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponsestatedumped.data.md) | | DumpStateResponse | |
| [type](./tryorama.adminapiresponsestatedumped.type.md) | | "state\_dumped" | |
| [type](./tryorama.adminapiresponsestatedumped.type.md) | | { state\_dumped: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponsestatedumped.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "state_dumped";
type: {
state_dumped: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponsestorageinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface AdminApiResponseStorageInfo
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.adminapiresponsestorageinfo.data.md) | | StorageInfoResponse | |
| [type](./tryorama.adminapiresponsestorageinfo.type.md) | | "storage\_info" | |
| [type](./tryorama.adminapiresponsestorageinfo.type.md) | | { storage\_info: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.adminapiresponsestorageinfo.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "storage_info";
type: {
storage_info: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.adminapiresponsezomecallcapabilitygranted.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export interface AdminApiResponseZomeCallCapabilityGranted

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [type](./tryorama.adminapiresponsezomecallcapabilitygranted.type.md) | | "zome\_call\_capability\_granted" | |
| [type](./tryorama.adminapiresponsezomecallcapabilitygranted.type.md) | | { zome\_call\_capability\_granted: null; } | |

Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "zome_call_capability_granted";
type: {
zome_call_capability_granted: null;
};
```
2 changes: 1 addition & 1 deletion docs/tryorama.apierrorresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ export interface ApiErrorResponse
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](./tryorama.apierrorresponse.data.md) | | { type: string; data: string; } | |
| [type](./tryorama.apierrorresponse.type.md) | | "error" | |
| [type](./tryorama.apierrorresponse.type.md) | | { error: null; } | |

4 changes: 3 additions & 1 deletion docs/tryorama.apierrorresponse.type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
**Signature:**

```typescript
type: "error";
type: {
error: null;
};
```
Loading
Loading