prior-cli 1.7.3 → 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 +15 -4
  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) {
@@ -870,8 +881,8 @@ async function startChat(opts = {}) {
870
881
  { cmd: '/delete', desc: 'Delete a saved conversation' },
871
882
  { cmd: '/help', desc: 'Show help' },
872
883
  { cmd: '/clear', desc: 'Clear screen' },
873
- { cmd: '/censored', desc: 'Load standard model (qwen)' },
874
- { cmd: '/uncensored', desc: 'Load uncensored model' },
884
+ { cmd: '/censored', desc: 'Load Prior Standard model' },
885
+ { cmd: '/uncensored', desc: 'Load Prior Uncensored model' },
875
886
  { cmd: '/usage', desc: 'Token usage today' },
876
887
  { cmd: '/learn', desc: 'Learn this directory → prior.md' },
877
888
  { cmd: '/login', desc: 'Sign in' },
@@ -1592,8 +1603,8 @@ Be concise but thorough — this summary replaces the full history to save conte
1592
1603
  console.log(c.muted(' /load [name|number] ') + 'Load a saved conversation (picker if no arg)');
1593
1604
  console.log(c.muted(' /delete [name|number]') + 'Delete a saved conversation');
1594
1605
  console.log(c.muted(' /clear ') + 'Clear screen');
1595
- console.log(c.muted(' /censored ') + 'Load standard model (qwen)');
1596
- console.log(c.muted(' /uncensored ') + 'Load uncensored model (dolphin)');
1606
+ console.log(c.muted(' /censored ') + 'Load Prior Standard model');
1607
+ console.log(c.muted(' /uncensored ') + 'Load Prior Uncensored model');
1597
1608
  console.log(c.muted(' /usage ') + 'Token usage for today');
1598
1609
  console.log(c.muted(' /learn ') + 'Scan directory and write prior.md context file');
1599
1610
  console.log(c.muted(' /login ') + 'Sign in to a different account');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prior-cli",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
4
4
  "description": "Prior Network AI — command-line interface",
5
5
  "bin": {
6
6
  "prior": "bin/prior.js"