adaptive-memory-multi-model-router 2.14.42 → 2.14.44
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/.github/workflows/auto-publish.yml +11 -24
- package/README.md +2 -2
- package/README.md.bak +792 -443
- package/dist/memory/obsidianVault.js +8 -1
- package/dist/memory/obsidianVault.js.map +1 -1
- package/dist/providers/providerConfig.js +6 -1
- package/dist/providers/providerConfig.js.map +1 -1
- package/dist/routing/advancedRouter.js +5 -4
- package/dist/routing/advancedRouter.js.map +1 -1
- package/dist/security/guardrails.js +4 -1
- package/dist/security/guardrails.js.map +1 -1
- package/dist/server/proxyServer.js +22 -0
- package/dist/server/proxyServer.js.map +1 -1
- package/package.json +3 -2
- package/src/cli/setupWizard.ts +7 -9
- package/src/memory/obsidianVault.ts +8 -1
- package/src/providers/providerConfig.ts +6 -1
- package/src/routing/advancedRouter.ts +5 -4
- package/src/security/guardrails.ts +5 -1
- package/src/server/proxyServer.ts +23 -0
|
@@ -16,6 +16,8 @@ jobs:
|
|
|
16
16
|
contents: write
|
|
17
17
|
steps:
|
|
18
18
|
- uses: actions/checkout@v4
|
|
19
|
+
with:
|
|
20
|
+
fetch-depth: 0 # Fetch full history for version tracking
|
|
19
21
|
|
|
20
22
|
- uses: actions/setup-node@v4
|
|
21
23
|
with:
|
|
@@ -24,18 +26,12 @@ jobs:
|
|
|
24
26
|
|
|
25
27
|
- run: npm ci
|
|
26
28
|
|
|
27
|
-
- name:
|
|
28
|
-
run:
|
|
29
|
-
echo "$(date -u +%s)" > .publish-tick
|
|
29
|
+
- name: Build
|
|
30
|
+
run: npm run build
|
|
30
31
|
|
|
31
|
-
- name:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
if [ -n "$FINDING" ]; then
|
|
35
|
-
# Extract first metric line from finding
|
|
36
|
-
METRIC=$(grep -m1 "|" "$FINDING" | head -1 || echo "Research-backed improvement")
|
|
37
|
-
echo "Research note: $METRIC"
|
|
38
|
-
fi
|
|
32
|
+
- name: Get current version
|
|
33
|
+
id: version
|
|
34
|
+
run: echo "VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
|
|
39
35
|
|
|
40
36
|
- name: Add research insight
|
|
41
37
|
run: |
|
|
@@ -44,21 +40,12 @@ jobs:
|
|
|
44
40
|
echo "Published v$VER" >> research/PUBLISH_LOG.md
|
|
45
41
|
echo "" >> research/PUBLISH_LOG.md
|
|
46
42
|
|
|
47
|
-
- name:
|
|
48
|
-
run: npm run build || echo 'Build skipped (dist/ pre-committed)'
|
|
49
|
-
|
|
50
|
-
- name: Patch + Publish
|
|
43
|
+
- name: Patch + Publish + Commit
|
|
51
44
|
run: |
|
|
52
45
|
npm version patch --no-git-tag-version
|
|
53
46
|
npm publish
|
|
47
|
+
git add -A
|
|
48
|
+
git commit -m "chore: auto-publish v$(node -p "require('./package.json').version")" || echo "Nothing to commit"
|
|
49
|
+
git push || echo "Push failed (upstream may have changes)"
|
|
54
50
|
env:
|
|
55
51
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
56
|
-
|
|
57
|
-
- name: Commit + Push
|
|
58
|
-
run: |
|
|
59
|
-
git config user.name "a3m-bot"
|
|
60
|
-
git config user.email "bot@a3m-router.dev"
|
|
61
|
-
git add .publish-tick package.json package-lock.json dist/
|
|
62
|
-
VER=$(node -p "require('./package.json').version")
|
|
63
|
-
git commit -m "chore: auto-publish v$VER" || true
|
|
64
|
-
git push
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
A3M doesn't just route—it orchestrates. By calling multiple providers in parallel, it ensures the highest quality answer is delivered with the lowest possible cost and latency.
|
|
8
8
|
|
|
9
|
-
**🥇 RouterArena Top-5 Router ($0.0635/1K) —
|
|
9
|
+
**🥇 RouterArena Top-5 Router ($0.0635/1K) — 15.9K+ downloads · 67% exact tier · 96% ±1 tier · highest robustness (0.8524)** — 4.3× cheaper than RouteLLM with parallel ensemble voting. No training required, <1ms routing.
|
|
10
10
|
|
|
11
11
|
**Try it in 1 second (no install needed):**
|
|
12
12
|
|
|
@@ -53,7 +53,7 @@ Terminal overlay box with `/route`, `/cost`, `/health`, `/models`, `/model <prov
|
|
|
53
53
|
|
|
54
54
|
| Metric | Value | Context |
|
|
55
55
|
|--------|-------|--------|
|
|
56
|
-
| Weekly Downloads | **
|
|
56
|
+
| Weekly Downloads | **5,933** | ~59% WoW growth | Top 0.2% of npm |
|
|
57
57
|
| Run Rate (17 days) | **15,237** | Fastest-growing npm LLM router |
|
|
58
58
|
| Daily Avg | **~900** | Consistent organic growth |
|
|
59
59
|
| Cost Savings | **62%** | vs all-premium routing |
|