diff options
Diffstat (limited to 'AE.md')
| -rw-r--r-- | AE.md | 21 |
1 files changed, 19 insertions, 2 deletions
| @@ -44,7 +44,7 @@ Execution platforms determine which lessons and comments to apply based on trust | |||
| 44 | ["tool", "<tool-name>"], | 44 | ["tool", "<tool-name>"], |
| 45 | ["ver", "<version-number>"], | 45 | ["ver", "<version-number>"], |
| 46 | ["image", "<avatar-url>"], | 46 | ["image", "<avatar-url>"], |
| 47 | ["e", "<1063-event-id>", "<relay-hint>"] | 47 | ["e", "<1063-event-id>", "<relay-hint>", "file"] |
| 48 | ], | 48 | ], |
| 49 | "content": "<markdown-description>" | 49 | "content": "<markdown-description>" |
| 50 | } | 50 | } |
| @@ -61,7 +61,24 @@ Execution platforms determine which lessons and comments to apply based on trust | |||
| 61 | - `tool` — Zero or more tags of tool names the agent expects to have | 61 | - `tool` — Zero or more tags of tool names the agent expects to have |
| 62 | - `ver` — Version number, defaults to `1` | 62 | - `ver` — Version number, defaults to `1` |
| 63 | - `image` — Avatar URL | 63 | - `image` — Avatar URL |
| 64 | - `e` — Reference to NIP-94 file metadata event (kind 1063). Execution platforms MAY provide access to these files. | 64 | - `e` — Event reference with marker (see below) |
| 65 | |||
| 66 | ### `e` Tag Markers | ||
| 67 | |||
| 68 | The `e` tag uses markers to distinguish relationship types: | ||
| 69 | |||
| 70 | | Marker | Description | | ||
| 71 | |--------|-------------| | ||
| 72 | | `file` | Reference to NIP-94 file metadata event (kind 1063). Execution platforms MAY provide access to these files. | | ||
| 73 | | `fork` | Reference to a source agent definition this agent was forked from. | | ||
| 74 | |||
| 75 | Example: | ||
| 76 | ```json | ||
| 77 | ["e", "<1063-event-id>", "<relay-hint>", "file"], | ||
| 78 | ["e", "<4199-event-id>", "<relay-hint>", "fork"] | ||
| 79 | ``` | ||
| 80 | |||
| 81 | Multiple `file` references are allowed. At most one `fork` reference SHOULD be present. | ||
| 65 | 82 | ||
| 66 | ### Content | 83 | ### Content |
| 67 | 84 | ||