prior-cli 1.1.1 → 1.1.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/bin/prior.js +1 -1
- package/lib/tools.js +2 -2
- package/package.json +1 -1
package/bin/prior.js
CHANGED
|
@@ -538,7 +538,7 @@ async function startChat(opts = {}) {
|
|
|
538
538
|
banner();
|
|
539
539
|
console.log(DIVIDER);
|
|
540
540
|
console.log(c.brand(' Prior AI') + c.muted(' · ') + c.muted(`@${user}`));
|
|
541
|
-
|
|
541
|
+
console.log(c.ok(' ◉') + c.muted(' Agent mode ') + c.dim('· file web shell image prior-network'));
|
|
542
542
|
console.log(DIVIDER);
|
|
543
543
|
console.log('');
|
|
544
544
|
return loop();
|
package/lib/tools.js
CHANGED
|
@@ -262,7 +262,7 @@ const TOOLS = {
|
|
|
262
262
|
},
|
|
263
263
|
|
|
264
264
|
async prior_feed({}, { token }) {
|
|
265
|
-
const res = await fetch(`${PRIOR_BASE}/network/api/
|
|
265
|
+
const res = await fetch(`${PRIOR_BASE}/network/api/feed`, {
|
|
266
266
|
headers: token ? { Authorization: `Bearer ${token}` } : {},
|
|
267
267
|
timeout: 8000,
|
|
268
268
|
});
|
|
@@ -281,7 +281,7 @@ const TOOLS = {
|
|
|
281
281
|
},
|
|
282
282
|
|
|
283
283
|
async prior_profile({}, { token }) {
|
|
284
|
-
const res = await fetch(`${PRIOR_BASE}/network/api/profile`, {
|
|
284
|
+
const res = await fetch(`${PRIOR_BASE}/network/api/user/profile`, {
|
|
285
285
|
headers: token ? { Authorization: `Bearer ${token}` } : {},
|
|
286
286
|
timeout: 8000,
|
|
287
287
|
});
|