prompts-gpt 0.2.19 → 0.3.2
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 +30 -7
- package/dist/cli.js +949 -290
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -3
- package/dist/index.js.map +1 -1
- package/dist/orchestrate.d.ts +3 -1
- package/dist/orchestrate.d.ts.map +1 -1
- package/dist/orchestrate.js +216 -62
- package/dist/orchestrate.js.map +1 -1
- package/dist/runtime.d.ts +4 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +426 -168
- package/dist/runtime.js.map +1 -1
- package/dist/sweep.d.ts +2 -0
- package/dist/sweep.d.ts.map +1 -1
- package/dist/sweep.js +126 -32
- package/dist/sweep.js.map +1 -1
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -108,6 +108,9 @@ prompts-gpt sweep --dry-run
|
|
|
108
108
|
# Run and score multiple providers on one prompt
|
|
109
109
|
prompts-gpt orchestrate --mode parallel -f .prompts-gpt/review.md --providers codex,claude,cursor --criteria correctness,completeness
|
|
110
110
|
|
|
111
|
+
# Interactive orchestration mode picker
|
|
112
|
+
prompts-gpt orchestrate
|
|
113
|
+
|
|
111
114
|
# Chain steps with context passing
|
|
112
115
|
cat > pipeline.json <<'EOF'
|
|
113
116
|
[
|
|
@@ -122,6 +125,9 @@ prompts-gpt orchestrate --mode pipeline --steps pipeline.json --dry-run
|
|
|
122
125
|
prompts-gpt orchestrate --mode eval -f .prompts-gpt/review.md --criteria correctness,risk,clarity
|
|
123
126
|
prompts-gpt orchestrate --mode eval --dry-run --eval-criteria correctness,risk,clarity
|
|
124
127
|
|
|
128
|
+
# Inspect available models for the resolved orchestration providers
|
|
129
|
+
prompts-gpt orchestrate --mode eval --list-models
|
|
130
|
+
|
|
125
131
|
# Re-run a prompt when the file changes
|
|
126
132
|
prompts-gpt run -f .prompts-gpt/review.md --watch
|
|
127
133
|
|
|
@@ -141,12 +147,11 @@ prompts-gpt models --provider codex
|
|
|
141
147
|
# Sync model registry from cloud
|
|
142
148
|
prompts-gpt sync-models
|
|
143
149
|
|
|
144
|
-
# Use model
|
|
145
|
-
prompts-gpt run --
|
|
146
|
-
prompts-gpt run --agent cursor --model
|
|
147
|
-
prompts-gpt run --
|
|
148
|
-
prompts-gpt run --
|
|
149
|
-
prompts-gpt run --model o3 # resolves to o3
|
|
150
|
+
# Use canonical model names only
|
|
151
|
+
prompts-gpt run --agent claude --model claude-opus-4-7
|
|
152
|
+
prompts-gpt run --agent cursor --model claude-4.6-opus-high
|
|
153
|
+
prompts-gpt run --agent codex --model gpt-5.4-mini
|
|
154
|
+
prompts-gpt run --agent codex --model gpt-5.5
|
|
150
155
|
|
|
151
156
|
# Sync from cloud
|
|
152
157
|
prompts-gpt sync --agent all
|
|
@@ -179,7 +184,7 @@ All options can be overridden via environment variables. See `prompts-gpt help s
|
|
|
179
184
|
|
|
180
185
|
## Orchestration Patterns
|
|
181
186
|
|
|
182
|
-
- `parallel`: run multiple providers against the same prompt, score outputs, and
|
|
187
|
+
- `parallel`: run multiple providers against the same prompt, score outputs, and report the strongest result with local logs and diffs.
|
|
183
188
|
- `pipeline`: pass context across named steps when research, implementation, and review should be separated.
|
|
184
189
|
- `eval`: run one provider and force a structured quality score for the output.
|
|
185
190
|
- `eval --dry-run`: if `-f` is omitted, the CLI uses the first discovered `.prompts-gpt` prompt so workspace scaffolds can verify orchestration immediately.
|
|
@@ -188,6 +193,24 @@ All options can be overridden via environment variables. See `prompts-gpt help s
|
|
|
188
193
|
- `run --watch`: rerun automatically when the prompt file changes.
|
|
189
194
|
- `doctor --fix`: scaffold `.prompts-gpt/config.json`, detect prompt sources, and add the artifacts directory to `.gitignore`.
|
|
190
195
|
|
|
196
|
+
### Visibility implementation workflow
|
|
197
|
+
|
|
198
|
+
Use orchestration after a monitor or checker identifies a concrete gap:
|
|
199
|
+
|
|
200
|
+
1. Export the prompt, answer evidence, cited URLs, and desired fix from Prompts-GPT.com.
|
|
201
|
+
2. Run `prompts-gpt orchestrate --mode parallel` when multiple agents should propose competing fixes.
|
|
202
|
+
3. Run `prompts-gpt orchestrate --mode pipeline` when research, implementation, and review should stay separated.
|
|
203
|
+
4. Run `prompts-gpt orchestrate --mode eval` or `prompts-gpt sweep --eval --eval-criteria correctness,risk,clarity` when output quality needs a score.
|
|
204
|
+
5. Run `prompts-gpt diff <run-id>` before sharing the worktree changes.
|
|
205
|
+
|
|
206
|
+
Dry-runs verify command wiring, prompt resolution, evaluator selection, and criteria parsing without launching a provider:
|
|
207
|
+
|
|
208
|
+
```bash
|
|
209
|
+
npx prompts-gpt orchestrate --mode eval --dry-run --eval-criteria correctness,risk,clarity
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
Full pattern guide (parallel vs pipeline vs eval, visibility handoff, diff/watch): [docs/orchestration-patterns.md](../../docs/orchestration-patterns.md) in the main repo.
|
|
213
|
+
|
|
191
214
|
---
|
|
192
215
|
|
|
193
216
|
## SDK
|