multi-agents-cli 1.1.83 → 1.1.84

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.
@@ -63,9 +63,9 @@ const fetchLatestVersions = async (frameworkValue) => {
63
63
 
64
64
  try {
65
65
  const https = require('https');
66
- const fetch = (url) => Promise.race([
66
+ const fetch = (url, headers = {}) => Promise.race([
67
67
  new Promise((resolve, reject) => {
68
- const req = https.get(url, (res) => {
68
+ const req = https.get(url, { headers }, (res) => {
69
69
  let data = '';
70
70
  res.on('data', chunk => data += chunk);
71
71
  res.on('end', () => resolve(data));
@@ -76,7 +76,7 @@ const fetchLatestVersions = async (frameworkValue) => {
76
76
  ]);
77
77
 
78
78
  if (entry.registry === 'npm') {
79
- const raw = await fetch(`https://registry.npmjs.org/${entry.package}`);
79
+ const raw = await fetch(`https://registry.npmjs.org/${entry.package}`, { 'Accept': 'application/vnd.npm.install-v1+json' });
80
80
  const json = JSON.parse(raw);
81
81
  const versions = Object.keys(json.versions || {})
82
82
  .filter(v => /^\d+\.\d+\.\d+$/.test(v) && !v.includes('-'))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multi-agents-cli",
3
- "version": "1.1.83",
3
+ "version": "1.1.84",
4
4
  "description": "Multi-agent workflow orchestration for Claude Code — isolated git worktrees, structured state tracking, autonomous task chaining",
5
5
  "keywords": [
6
6
  "claude-code",