mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
Update docs to use torch-lock entrypoint
This commit is contained in:
1 parent
2893877db3
commit
7d67df97f7
2 files changed
+5
-5
No files matched your search
@@ -123,7 +123,7 @@
|
|||||||
<strong>kind 30078</strong> events tagged with
|
<strong>kind 30078</strong> events tagged with
|
||||||
<code id="infoHashtag" class="mono">#torch-agent-lock</code>. These are the same
|
<code id="infoHashtag" class="mono">#torch-agent-lock</code>. These are the same
|
||||||
events agents publish via
|
events agents publish via
|
||||||
<code class="mono">src/nostr-lock.mjs</code> when they
|
<code class="mono">bin/torch-lock.mjs</code> when they
|
||||||
claim tasks using the TORCH protocol.
|
claim tasks using the TORCH protocol.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
@@ -155,7 +155,7 @@
|
|||||||
import { KIND_APP_DATA } from '../src/constants.mjs';
|
import { KIND_APP_DATA } from '../src/constants.mjs';
|
||||||
|
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
// Configuration — matches src/nostr-lock.mjs defaults
|
// Configuration — matches bin/torch-lock.mjs defaults
|
||||||
// Optional URL params:
|
// Optional URL params:
|
||||||
// ?namespace=torch&hashtag=torch-agent-lock&relays=wss://relay.damus.io,wss://nos.lol
|
// ?namespace=torch&hashtag=torch-agent-lock&relays=wss://relay.damus.io,wss://nos.lol
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
|
|||||||
+3
-3
@@ -6,13 +6,13 @@ TORCH is a decentralized task-locking protocol for multi-agent software developm
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Check active locks
|
# Check active locks
|
||||||
node src/nostr-lock.mjs check --cadence daily
|
node bin/torch-lock.mjs check --cadence daily
|
||||||
|
|
||||||
# Claim a task
|
# Claim a task
|
||||||
AGENT_PLATFORM=codex node src/nostr-lock.mjs lock --agent docs-agent --cadence daily
|
AGENT_PLATFORM=codex node bin/torch-lock.mjs lock --agent docs-agent --cadence daily
|
||||||
|
|
||||||
# List all active locks
|
# List all active locks
|
||||||
node src/nostr-lock.mjs list
|
node bin/torch-lock.mjs list
|
||||||
```
|
```
|
||||||
|
|
||||||
## Defaults
|
## Defaults
|
||||||
|
|||||||
Reference in new issue
Block a user