Commit 0142791
fix: include --server flag in agent claim prompt
The generated prompt for AI agents omitted the server URL, causing
`peerclaw agent claim` to default to localhost:8080. Now uses
window.location.origin so the prompt always points to the correct
deployment. Also adds a `peerclaw config set server` step for
subsequent commands.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 42728ec commit 0142791
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
| |||
0 commit comments