prior-cli 1.7.4 → 1.7.5

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.
Files changed (2) hide show
  1. package/bin/prior.js +11 -0
  2. package/package.json +1 -1
package/bin/prior.js CHANGED
@@ -169,6 +169,17 @@ const TOOL_HINTS = [
169
169
  ],
170
170
  hint: '[TOOL DIRECTIVE: You MUST call ip_lookup]',
171
171
  },
172
+ {
173
+ tool: 'generate_image',
174
+ patterns: [
175
+ /\bgenerate\b/i, /\bcreate.*(image|picture|photo|illustration|art)\b/i,
176
+ /\bdraw\b/i, /\brender\b/i, /\bpaint\b/i,
177
+ /\bmake.*(image|picture|photo|illustration|art)\b/i,
178
+ /\bimage of\b/i, /\bpicture of\b/i, /\bphoto of\b/i,
179
+ /\billustrate\b/i, /\bvisualiz[es]\b/i,
180
+ ],
181
+ hint: '[TOOL DIRECTIVE: You MUST call generate_image — do NOT describe the image in text, actually call the tool]',
182
+ },
172
183
  ];
173
184
 
174
185
  function injectToolHint(text) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prior-cli",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "Prior Network AI — command-line interface",
5
5
  "bin": {
6
6
  "prior": "bin/prior.js"