lynxprompt 2.1.39 → 2.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/dist/index.js +628 -444
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -117,8 +117,15 @@ lynxp pull bp_abc123 --preview
|
|
|
117
117
|
|
|
118
118
|
# Don't track for future syncs
|
|
119
119
|
lynxp pull bp_abc123 --no-track
|
|
120
|
+
|
|
121
|
+
# Fill [[VARIABLES]] as you download (others get their [[NAME|default]])
|
|
122
|
+
lynxp pull bp_abc123 --vars PROJECT_NAME=acme,TEAM=Platform
|
|
120
123
|
```
|
|
121
124
|
|
|
125
|
+
A file pulled with `--vars` stays tracked: `lynxp sync` refills cloud updates
|
|
126
|
+
with the same values, and `lynxp push` refuses to send your values over the
|
|
127
|
+
blueprint's variables unless you pass `--force`.
|
|
128
|
+
|
|
122
129
|
### Link / Unlink
|
|
123
130
|
|
|
124
131
|
Connect local files to cloud blueprints:
|
|
@@ -146,6 +153,27 @@ lynxp diff bp_abc123
|
|
|
146
153
|
lynxp diff --local
|
|
147
154
|
```
|
|
148
155
|
|
|
156
|
+
### Sync
|
|
157
|
+
|
|
158
|
+
Bring every tracked file and its cloud blueprint together in one step:
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
lynxp sync # all tracked files
|
|
162
|
+
lynxp sync AGENTS.md # one file
|
|
163
|
+
lynxp sync --dry-run # show what would happen, change nothing
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
For each file, sync compares the local file and the cloud with the version
|
|
167
|
+
you last pulled or pushed:
|
|
168
|
+
|
|
169
|
+
- only the cloud changed: the file is updated from the cloud
|
|
170
|
+
- only the file changed: your changes are pushed (marketplace blueprints are read-only, so they stay local)
|
|
171
|
+
- both changed: the cloud version is written to `<file>.remote` and your file is left alone.
|
|
172
|
+
Merge what you need into the file, delete `<file>.remote`, and run `lynxp sync` again.
|
|
173
|
+
Until then sync and push leave that file alone.
|
|
174
|
+
|
|
175
|
+
Sync exits with code 1 when a file has a conflict or could not be synced.
|
|
176
|
+
|
|
149
177
|
### Push (`lynxp push`)
|
|
150
178
|
|
|
151
179
|
Upload a local configuration file to LynxPrompt cloud:
|