@theronap/agnoclast-mcp 0.9.154 → 0.9.156

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/lib/diagnose.mjs CHANGED
@@ -479,7 +479,7 @@ export async function fetchCortex(url, opts = {}, policy = {}) {
479
479
  export async function checkToken(token, base) {
480
480
  if (!token) {
481
481
  return { ok: false, status: 0, diagnosis: { kind: 'config', retriable: false,
482
- message: 'No CORTEX_TOKEN found. Run: npx -y @theronap/cortex-mcp setup <your-token>' } }
482
+ message: 'No CORTEX_TOKEN found. Run: npx -y @theronap/cortex-mcp login (opens your browser; or `setup <token>` with a token from the console → Connect your AI)' } }
483
483
  }
484
484
  if (!isUuid(token)) {
485
485
  return { ok: false, status: 0, diagnosis: { kind: 'config', retriable: false,
package/lib/doctor.mjs CHANGED
@@ -56,7 +56,7 @@ async function statusLine(out, { capturesStuck = false } = {}) {
56
56
  const base = resolveBase(process.env.CORTEX_URL)
57
57
  const { token } = resolveToken()
58
58
  if (!token) {
59
- out('Agnoclast: NOT connected — no token found. Run: npx -y @theronap/cortex-mcp setup <token>')
59
+ out('Agnoclast: NOT connected — no token found. Run: npx -y @theronap/cortex-mcp login (opens your browser; or `setup <token>` with a token from the console → Connect your AI)')
60
60
  return
61
61
  }
62
62
  try {
package/lib/use_brain.mjs CHANGED
@@ -45,7 +45,7 @@ export async function runUseBrain(args) {
45
45
  const base = resolveBase(process.env.CORTEX_URL)
46
46
  const { token } = resolveToken()
47
47
  if (!token) {
48
- out('Agnoclast: no token found. Run: npx -y @theronap/cortex-mcp setup <token>')
48
+ out('Agnoclast: no token found. Run: npx -y @theronap/cortex-mcp login (opens your browser; or `setup <token>` with a token from the console → Connect your AI)')
49
49
  return 1
50
50
  }
51
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theronap/agnoclast-mcp",
3
- "version": "0.9.154",
3
+ "version": "0.9.156",
4
4
  "description": "Connect your AI assistant to Cortex — your org's projects, activity, gaps, and directives, scoped to you.",
5
5
  "type": "module",
6
6
  "bin": {