Skip to content

Commit 5ea5426

Browse files
Merge pull request #570 from Jonny-Ringo/patch-4
A few more links fixed!
2 parents f8da84d + 35f2b75 commit 5ea5426

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/build/getting-started/hyperbeam-capabilities.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Designed to be **modular**, **composable**, and **extensible**, HyperBEAM lets y
88

99
While [AO-Core](../introduction/what-is-ao-core.html) establishes the foundational concepts of Messages, Devices, and Paths, building on HyperBEAM can be simplified to four key principles:
1010

11-
1. **Everything is a [message](../introduction/what-is-hyperbeam.html#messages-modular-data-packets).** You can compute on any message by calling its keys by name. The [`device`](./devices/hyperbeam-devices.md) specified in the message determines how these keys are resolved. The default device, `message@1.0`, resolves keys to their literal values within the message.
11+
1. **Everything is a [message](../introduction/what-is-hyperbeam.html#messages-modular-data-packets).** You can compute on any message by calling its keys by name. The [`device`](../devices/hyperbeam-devices.md) specified in the message determines how these keys are resolved. The default device, `message@1.0`, resolves keys to their literal values within the message.
1212

1313
2. **[Paths](./pathing-in-hyperbeam.md) are pipelines of messages.** A path defines a sequence of 'request' messages to be executed. You can set a key in a message directly within the path using the `&key=value` syntax. Headers and parameters added after a `?` are applied to all messages in the pipeline.
1414

@@ -57,7 +57,7 @@ You can build and deploy your own devices in Erlang to introduce entirely new, h
5757

5858
**Use Case:** You could build a custom device that acts as a bridge to another blockchain's API, allowing your AO processes to interact with external systems seamlessly.
5959

60-
> Learn how to [Build Your Own Device](../build/devices/building-devices.html).
60+
> Learn how to [Build Your Own Device](../devices/building-devices.md).
6161
6262
#### Achieve Raw Performance with Native Code
6363
For the most demanding, performance-critical tasks, you can write Native Implemented Functions (NIFs) in low-level languages like C or Rust. These NIFs integrate directly with the Erlang VM, offering the highest possible performance.

docs/build/getting-started/pathing-in-hyperbeam.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The HTTP response from this node includes a signature from the host's key. By ac
2121
Every path in AO-Core represents a program. Think of the URL bar as a Unix-style command-line interface, providing access to AO's trustless and verifiable compute. Each path component (between `/` characters) represents a step in the computation. In this example, we instruct the AO-Core node to:
2222

2323
1. Load a specific message from its caches (local, another node, or Arweave)
24-
2. Interpret it with the [`~process@1.0`](../build/devices/foundational/process-at-1-0.md) device
24+
2. Interpret it with the [`~process@1.0`](../devices/foundational/process-at-1-0.md) device
2525
3. The process device implements a shared computing environment with consistent state between users
2626

2727
### State Access (`/now` or `/compute`)
@@ -53,7 +53,7 @@ This shows the 'cache' of your process. Each response is:
5353
Beyond path segments, HyperBEAM URLs can include query parameters that utilize a special type casting syntax. This allows specifying the desired data type for a parameter directly within the URL using the format `key+type=value`.
5454

5555
- **Syntax**: A `+` symbol separates the parameter key from its intended type (e.g., `count+integer=42`, `items+list="apple",7`).
56-
- **Mechanism**: The HyperBEAM node identifies the `+type` suffix (e.g., `+integer`, `+list`, `+map`, `+float`, `+atom`, `+resolve`). It then uses internal functions ([`hb_singleton:maybe_typed`](../devices/source-code/hb_singleton.md) and [`dev_codec_structured:decode_value`](../build/source-code/dev_codec_structured.md)) to decode and cast the provided value string into the corresponding Erlang data type before incorporating it into the message.
56+
- **Mechanism**: The HyperBEAM node identifies the `+type` suffix (e.g., `+integer`, `+list`, `+map`, `+float`, `+atom`, `+resolve`). It then uses internal functions ([`hb_singleton:maybe_typed`](../devices/source-code/hb_singleton.md) and [`dev_codec_structured:decode_value`](../devices/source-code/dev_codec_structured.md)) to decode and cast the provided value string into the corresponding Erlang data type before incorporating it into the message.
5757
- **Supported Types**: Common types include `integer`, `float`, `list`, `map`, `atom`, `binary` (often implicit), and `resolve` (for path resolution). List values often follow the [HTTP Structured Fields format (RFC 8941)](https://www.rfc-editor.org/info/rfc8941).
5858

5959
This powerful feature enables the expression of complex data structures directly in URLs.
@@ -64,13 +64,13 @@ The following examples illustrate using HTTP paths with various AO-Core processe
6464

6565
### Example 1: Accessing Full Process State
6666

67-
To get the complete, real-time state of a process identified by `<procId>`, use the `/now` path component with the [`~process@1.0`](https://hyperbeam.arweave.net/build/devices/foundational/process-at-1-0.html) device:
67+
To get the complete, real-time state of a process identified by `<procId>`, use the `/now` path component with the [`~process@1.0`](../devices/foundational/process-at-1-0.md) device:
6868

6969
```bash
7070
GET /<procId>~process@1.0/now
7171
```
7272

73-
This instructs the AO-Core node to load the process and execute the `now` function on the [`~process@1.0`](https://hyperbeam.arweave.net/build/devices/foundational/process-at-1-0.html) device.
73+
This instructs the AO-Core node to load the process and execute the `now` function on the [`~process@1.0`](../devices/foundational/process-at-1-0.md) device.
7474

7575
### Example 2: Navigating to Specific Process Data
7676

0 commit comments

Comments
 (0)