prior-cli 1.7.4 → 1.7.6
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/bin/prior.js +11 -0
- package/package.json +15 -6
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,7 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prior-cli",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.6",
|
|
4
4
|
"description": "Prior Network AI — command-line interface",
|
|
5
|
+
"author": "Prior Network",
|
|
6
|
+
"homepage": "https://prior.ngrok.app",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/pior-network/prior-cli.git"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/pior-network/prior-cli/issues"
|
|
13
|
+
},
|
|
5
14
|
"bin": {
|
|
6
15
|
"prior": "bin/prior.js"
|
|
7
16
|
},
|
|
@@ -9,11 +18,11 @@
|
|
|
9
18
|
"start": "node bin/prior.js"
|
|
10
19
|
},
|
|
11
20
|
"dependencies": {
|
|
12
|
-
"chalk": "
|
|
13
|
-
"commander": "
|
|
14
|
-
"docx": "
|
|
15
|
-
"node-fetch": "
|
|
16
|
-
"open": "
|
|
21
|
+
"chalk": "4.1.2",
|
|
22
|
+
"commander": "11.1.0",
|
|
23
|
+
"docx": "9.6.1",
|
|
24
|
+
"node-fetch": "2.7.0",
|
|
25
|
+
"open": "8.4.2"
|
|
17
26
|
},
|
|
18
27
|
"engines": {
|
|
19
28
|
"node": ">=16.0.0"
|