mcp-rubber-duck 1.9.3 → 1.9.5
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/FUNDING.yml +1 -0
- package/.github/workflows/security.yml +5 -5
- package/.github/workflows/semantic-release.yml +6 -6
- package/CHANGELOG.md +14 -0
- package/DONATE.md +30 -0
- package/audit-ci.json +4 -1
- package/dist/server.d.ts +4 -2
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +359 -501
- package/dist/server.js.map +1 -1
- package/package.json +6 -3
- package/src/server.ts +417 -524
- package/tests/tool-annotations.test.ts +208 -41
|
@@ -0,0 +1 @@
|
|
|
1
|
+
custom: ['https://github.com/nesquikm/mcp-rubber-duck/blob/master/DONATE.md']
|
|
@@ -33,7 +33,7 @@ jobs:
|
|
|
33
33
|
trivyignores: '.trivyignore'
|
|
34
34
|
|
|
35
35
|
- name: 📤 Upload Trivy scan results to GitHub Security
|
|
36
|
-
uses: github/codeql-action/upload-sarif@
|
|
36
|
+
uses: github/codeql-action/upload-sarif@v4
|
|
37
37
|
if: always()
|
|
38
38
|
with:
|
|
39
39
|
sarif_file: 'trivy-results.sarif'
|
|
@@ -54,7 +54,7 @@ jobs:
|
|
|
54
54
|
trivyignores: '.trivyignore'
|
|
55
55
|
|
|
56
56
|
- name: 📤 Upload Docker scan results
|
|
57
|
-
uses: github/codeql-action/upload-sarif@
|
|
57
|
+
uses: github/codeql-action/upload-sarif@v4
|
|
58
58
|
if: always() && github.event_name != 'schedule'
|
|
59
59
|
with:
|
|
60
60
|
sarif_file: 'trivy-docker-results.sarif'
|
|
@@ -71,7 +71,7 @@ jobs:
|
|
|
71
71
|
- name: 📦 Setup Node.js
|
|
72
72
|
uses: actions/setup-node@v4
|
|
73
73
|
with:
|
|
74
|
-
node-version: '
|
|
74
|
+
node-version: '22'
|
|
75
75
|
cache: 'npm'
|
|
76
76
|
|
|
77
77
|
- name: 📥 Install dependencies
|
|
@@ -105,7 +105,7 @@ jobs:
|
|
|
105
105
|
no-fail: true
|
|
106
106
|
|
|
107
107
|
- name: 📤 Upload Dockerfile lint results
|
|
108
|
-
uses: github/codeql-action/upload-sarif@
|
|
108
|
+
uses: github/codeql-action/upload-sarif@v4
|
|
109
109
|
if: always()
|
|
110
110
|
with:
|
|
111
111
|
sarif_file: hadolint-results.sarif
|
|
@@ -122,7 +122,7 @@ jobs:
|
|
|
122
122
|
- name: 📦 Setup Node.js
|
|
123
123
|
uses: actions/setup-node@v4
|
|
124
124
|
with:
|
|
125
|
-
node-version: '
|
|
125
|
+
node-version: '22'
|
|
126
126
|
cache: 'npm'
|
|
127
127
|
|
|
128
128
|
- name: 📥 Install dependencies
|
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
- name: 📦 Setup Node.js
|
|
32
32
|
uses: actions/setup-node@v4
|
|
33
33
|
with:
|
|
34
|
-
node-version: '
|
|
34
|
+
node-version: '22'
|
|
35
35
|
cache: 'npm'
|
|
36
36
|
|
|
37
37
|
- name: 📥 Install dependencies
|
|
@@ -66,7 +66,7 @@ jobs:
|
|
|
66
66
|
output: 'trivy-results.sarif'
|
|
67
67
|
|
|
68
68
|
- name: 📤 Upload Trivy scan results to GitHub Security
|
|
69
|
-
uses: github/codeql-action/upload-sarif@
|
|
69
|
+
uses: github/codeql-action/upload-sarif@v4
|
|
70
70
|
if: always()
|
|
71
71
|
with:
|
|
72
72
|
sarif_file: 'trivy-results.sarif'
|
|
@@ -84,7 +84,7 @@ jobs:
|
|
|
84
84
|
output: 'trivy-docker-results.sarif'
|
|
85
85
|
|
|
86
86
|
- name: 📤 Upload Docker scan results
|
|
87
|
-
uses: github/codeql-action/upload-sarif@
|
|
87
|
+
uses: github/codeql-action/upload-sarif@v4
|
|
88
88
|
if: always()
|
|
89
89
|
with:
|
|
90
90
|
sarif_file: 'trivy-docker-results.sarif'
|
|
@@ -101,7 +101,7 @@ jobs:
|
|
|
101
101
|
- name: 📦 Setup Node.js
|
|
102
102
|
uses: actions/setup-node@v4
|
|
103
103
|
with:
|
|
104
|
-
node-version: '
|
|
104
|
+
node-version: '22'
|
|
105
105
|
cache: 'npm'
|
|
106
106
|
|
|
107
107
|
- name: 📥 Install dependencies
|
|
@@ -135,7 +135,7 @@ jobs:
|
|
|
135
135
|
no-fail: true
|
|
136
136
|
|
|
137
137
|
- name: 📤 Upload Dockerfile lint results
|
|
138
|
-
uses: github/codeql-action/upload-sarif@
|
|
138
|
+
uses: github/codeql-action/upload-sarif@v4
|
|
139
139
|
if: always()
|
|
140
140
|
with:
|
|
141
141
|
sarif_file: hadolint-results.sarif
|
|
@@ -159,7 +159,7 @@ jobs:
|
|
|
159
159
|
- name: 📦 Setup Node.js
|
|
160
160
|
uses: actions/setup-node@v4
|
|
161
161
|
with:
|
|
162
|
-
node-version: '
|
|
162
|
+
node-version: '22'
|
|
163
163
|
cache: 'npm'
|
|
164
164
|
registry-url: 'https://registry.npmjs.org'
|
|
165
165
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.9.5](https://github.com/nesquikm/mcp-rubber-duck/compare/v1.9.4...v1.9.5) (2026-01-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* allowlist GHSA-34x7-hfp2-rc4v (tar via npm internals) ([76718d8](https://github.com/nesquikm/mcp-rubber-duck/commit/76718d86391469b04e1d74792ed8ab212d547e3d))
|
|
7
|
+
|
|
8
|
+
## [1.9.4](https://github.com/nesquikm/mcp-rubber-duck/compare/v1.9.3...v1.9.4) (2026-01-26)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* override lodash to 4.17.23 to address CVE-2025-13465 ([8cb5a3a](https://github.com/nesquikm/mcp-rubber-duck/commit/8cb5a3a0b3a644b2ed368537412cda32b8a333f2))
|
|
14
|
+
|
|
1
15
|
## [1.9.3](https://github.com/nesquikm/mcp-rubber-duck/compare/v1.9.2...v1.9.3) (2026-01-19)
|
|
2
16
|
|
|
3
17
|
|
package/DONATE.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 🦆 Feed the Ducks
|
|
2
|
+
|
|
3
|
+
```
|
|
4
|
+
__
|
|
5
|
+
<(o )___
|
|
6
|
+
( ._> /
|
|
7
|
+
`---' Quack! Spare some crypto?
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
Enjoying the duck pond? Toss us some digital bread crumbs to keep the ducks quacking!
|
|
11
|
+
|
|
12
|
+
## Bitcoin (BTC)
|
|
13
|
+
|
|
14
|
+
`bc1qlq3dl8pca5q27qz5zk2jm6qqf6xgt6lvh4yrxs`
|
|
15
|
+
|
|
16
|
+
## Ethereum (ETH, USDT, USDC)
|
|
17
|
+
|
|
18
|
+
`0x41341d35Ee5C02DdD4255113E58e32Ba024754e9`
|
|
19
|
+
|
|
20
|
+
## Solana (SOL, USDT, USDC)
|
|
21
|
+
|
|
22
|
+
`C2JuPcbcVQEfYwzDtbF3iwbhbjFzdJLqjYxzhPxNZQH6`
|
|
23
|
+
|
|
24
|
+
## Tron (TRX, USDT, USDC)
|
|
25
|
+
|
|
26
|
+
`TBi9y3fEUJLAX7DSGK6pVPB7TUW9ymFRJ8`
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
🦆 Every satoshi helps keep our ducks debugging! Thank you!
|
package/audit-ci.json
CHANGED
package/dist/server.d.ts
CHANGED
|
@@ -15,12 +15,14 @@ export declare class RubberDuckServer {
|
|
|
15
15
|
private mcpEnabled;
|
|
16
16
|
constructor();
|
|
17
17
|
private initializeMCPBridge;
|
|
18
|
-
private
|
|
18
|
+
private toolResult;
|
|
19
|
+
private toolErrorResult;
|
|
20
|
+
private registerTools;
|
|
21
|
+
private registerPrompts;
|
|
19
22
|
private handleAskDuckWithMCP;
|
|
20
23
|
private handleCompareDucksWithMCP;
|
|
21
24
|
private handleDuckCouncilWithMCP;
|
|
22
25
|
private formatEnhancedDuckResponse;
|
|
23
|
-
private getTools;
|
|
24
26
|
start(): Promise<void>;
|
|
25
27
|
stop(): Promise<void>;
|
|
26
28
|
}
|
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AA6CA,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,cAAc,CAAiB;IACvC,OAAO,CAAC,YAAY,CAAe;IACnC,OAAO,CAAC,iBAAiB,CAAC,CAAoB;IAC9C,OAAO,CAAC,eAAe,CAAkB;IACzC,OAAO,CAAC,uBAAuB,CAAC,CAA0B;IAC1D,OAAO,CAAC,mBAAmB,CAAsB;IACjD,OAAO,CAAC,KAAK,CAAgB;IAC7B,OAAO,CAAC,aAAa,CAAgB;IAGrC,OAAO,CAAC,gBAAgB,CAAC,CAAmB;IAC5C,OAAO,CAAC,eAAe,CAAC,CAAkB;IAC1C,OAAO,CAAC,cAAc,CAAC,CAAiB;IACxC,OAAO,CAAC,UAAU,CAAkB;;IA0CpC,OAAO,CAAC,mBAAmB;IAgD3B,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,eAAe;IAcvB,OAAO,CAAC,aAAa;IAgYrB,OAAO,CAAC,eAAe;YA+BT,oBAAoB;YAwCpB,yBAAyB;YA6BzB,wBAAwB;IAwBtC,OAAO,CAAC,0BAA0B;IAyC5B,KAAK;IA+CL,IAAI;CAuBX"}
|