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 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
- if (agentMode) console.log(c.ok(' ◉') + c.muted(' Agent mode'));
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/posts`, {
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prior-cli",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Prior Network AI — command-line interface",
5
5
  "bin": {
6
6
  "prior": "bin/prior.js"