bc-code-intelligence-mcp 1.5.3 → 1.5.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/README.md +209 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +42 -6
- package/dist/index.js.map +1 -1
- package/dist/layers/embedded-layer.d.ts +1 -1
- package/dist/layers/embedded-layer.d.ts.map +1 -1
- package/dist/layers/embedded-layer.js +26 -10
- package/dist/layers/embedded-layer.js.map +1 -1
- package/dist/layers/git-layer.d.ts +1 -1
- package/dist/layers/git-layer.d.ts.map +1 -1
- package/dist/layers/git-layer.js +10 -2
- package/dist/layers/git-layer.js.map +1 -1
- package/dist/streamlined-handlers.d.ts +5 -5
- package/dist/streamlined-handlers.d.ts.map +1 -1
- package/dist/streamlined-handlers.js +214 -3
- package/dist/streamlined-handlers.js.map +1 -1
- package/dist/tools/core-tools.d.ts.map +1 -1
- package/dist/tools/core-tools.js +26 -3
- package/dist/tools/core-tools.js.map +1 -1
- package/embedded-knowledge/domains/parker-pragmatic/README.md +39 -0
- package/embedded-knowledge/domains/parker-pragmatic/proposal-workflows/creating-effective-proposals.md +583 -0
- package/embedded-knowledge/domains/parker-pragmatic/trust-building/working-with-ai-skeptics.md +587 -0
- package/embedded-knowledge/methodologies/workflows/proposal-review-workflow.md +535 -0
- package/embedded-knowledge/specialists/alex-architect.md +90 -1
- package/embedded-knowledge/specialists/casey-copilot.md +89 -1
- package/embedded-knowledge/specialists/chris-config.md +53 -0
- package/embedded-knowledge/specialists/dean-debug.md +89 -1
- package/embedded-knowledge/specialists/eva-errors.md +57 -1
- package/embedded-knowledge/specialists/jordan-bridge.md +57 -1
- package/embedded-knowledge/specialists/logan-legacy.md +57 -1
- package/embedded-knowledge/specialists/maya-mentor.md +89 -1
- package/embedded-knowledge/specialists/morgan-market.md +56 -1
- package/embedded-knowledge/specialists/parker-pragmatic.md +564 -0
- package/embedded-knowledge/specialists/quinn-tester.md +89 -1
- package/embedded-knowledge/specialists/roger-reviewer.md +84 -1
- package/embedded-knowledge/specialists/sam-coder.md +73 -1
- package/embedded-knowledge/specialists/seth-security.md +56 -1
- package/embedded-knowledge/specialists/taylor-docs.md +56 -1
- package/embedded-knowledge/specialists/uma-ux.md +57 -1
- package/package.json +2 -3
package/dist/tools/core-tools.js
CHANGED
|
@@ -60,7 +60,9 @@ export const streamlinedTools = [
|
|
|
60
60
|
• UX: AL page/report constraints - BC controls rendering, NOT custom CSS/HTML
|
|
61
61
|
• Performance: AL optimization, table design, BC server constraints - NOT generic frameworks
|
|
62
62
|
• API: BC API pages, web services, AL integration - NOT generic REST frameworks
|
|
63
|
-
• Always prioritize AL language capabilities and BC platform limitations over generic programming approaches
|
|
63
|
+
• Always prioritize AL language capabilities and BC platform limitations over generic programming approaches
|
|
64
|
+
|
|
65
|
+
🤖 **AUTONOMOUS AGENT MODE**: Set autonomous_mode=true for GitHub Coding Agents and autonomous workflows. Returns structured, actionable JSON with: action_plan (executable steps), confidence scores, blocking_issues, and alternatives. Use for Issue → PR automation.`,
|
|
64
66
|
inputSchema: {
|
|
65
67
|
type: 'object',
|
|
66
68
|
properties: {
|
|
@@ -75,6 +77,11 @@ export const streamlinedTools = [
|
|
|
75
77
|
preferred_specialist: {
|
|
76
78
|
type: 'string',
|
|
77
79
|
description: 'Optional: specific specialist to consult (will auto-detect if not provided)'
|
|
80
|
+
},
|
|
81
|
+
autonomous_mode: {
|
|
82
|
+
type: 'boolean',
|
|
83
|
+
description: 'Enable autonomous agent mode: returns structured action plan instead of conversational response. For GitHub Coding Agents and automated workflows.',
|
|
84
|
+
default: false
|
|
78
85
|
}
|
|
79
86
|
},
|
|
80
87
|
required: ['question']
|
|
@@ -82,7 +89,7 @@ export const streamlinedTools = [
|
|
|
82
89
|
},
|
|
83
90
|
{
|
|
84
91
|
name: 'analyze_al_code',
|
|
85
|
-
description: 'Analyze AL code for issues, patterns, and improvements. Includes workspace analysis and workflow recommendations.',
|
|
92
|
+
description: 'Analyze AL code for issues, patterns, and improvements. Includes workspace analysis and workflow recommendations. AUTONOMOUS AGENT MODE: Use operation="validate" for automated code validation with compliance checks and auto-fix suggestions. Use operation="suggest_fixes" for code transformation recommendations.',
|
|
86
93
|
inputSchema: {
|
|
87
94
|
type: 'object',
|
|
88
95
|
properties: {
|
|
@@ -96,6 +103,12 @@ export const streamlinedTools = [
|
|
|
96
103
|
description: 'Type of analysis to perform',
|
|
97
104
|
default: 'comprehensive'
|
|
98
105
|
},
|
|
106
|
+
operation: {
|
|
107
|
+
type: 'string',
|
|
108
|
+
enum: ['analyze', 'validate', 'suggest_fixes'],
|
|
109
|
+
description: 'Analysis operation mode: "analyze" (conversational), "validate" (compliance check + auto-fixes), "suggest_fixes" (code transformations)',
|
|
110
|
+
default: 'analyze'
|
|
111
|
+
},
|
|
99
112
|
bc_version: {
|
|
100
113
|
type: 'string',
|
|
101
114
|
description: 'Business Central version for version-specific analysis'
|
|
@@ -130,7 +143,7 @@ export const streamlinedTools = [
|
|
|
130
143
|
},
|
|
131
144
|
{
|
|
132
145
|
name: 'start_bc_workflow',
|
|
133
|
-
description: 'STRUCTURED WORKFLOWS: Start systematic BC development workflows for complex, multi-phase processes. USE FOR STRUCTURED PROCESSES like "optimize my code systematically", "conduct architecture review", "security audit", "performance analysis". DO NOT USE FOR SIMPLE CONVERSATIONS - if user wants to "talk to" or "ask" a specialist, use ask_bc_expert instead.',
|
|
146
|
+
description: 'STRUCTURED WORKFLOWS: Start systematic BC development workflows for complex, multi-phase processes. USE FOR STRUCTURED PROCESSES like "optimize my code systematically", "conduct architecture review", "security audit", "performance analysis". DO NOT USE FOR SIMPLE CONVERSATIONS - if user wants to "talk to" or "ask" a specialist, use ask_bc_expert instead. 🤖 AUTONOMOUS AGENT MODE: Set execution_mode="autonomous" for GitHub Coding Agents to get next action instead of interactive prompts. Supports checkpoint_id for multi-session execution.',
|
|
134
147
|
inputSchema: {
|
|
135
148
|
type: 'object',
|
|
136
149
|
properties: {
|
|
@@ -147,6 +160,16 @@ export const streamlinedTools = [
|
|
|
147
160
|
type: 'string',
|
|
148
161
|
description: 'Business Central version'
|
|
149
162
|
},
|
|
163
|
+
execution_mode: {
|
|
164
|
+
type: 'string',
|
|
165
|
+
enum: ['interactive', 'autonomous'],
|
|
166
|
+
description: 'Execution mode: "interactive" (human-in-loop with prompts) or "autonomous" (returns structured next action for automated workflows)',
|
|
167
|
+
default: 'interactive'
|
|
168
|
+
},
|
|
169
|
+
checkpoint_id: {
|
|
170
|
+
type: 'string',
|
|
171
|
+
description: 'Resume from saved workflow checkpoint (for multi-session execution). Enables stateful workflow progression across multiple invocations.'
|
|
172
|
+
},
|
|
150
173
|
additional_info: {
|
|
151
174
|
type: 'object',
|
|
152
175
|
description: 'Additional context specific to the workflow type'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core-tools.js","sourceRoot":"","sources":["../../src/tools/core-tools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,eAAe;IAC9B,eAAe,EAAE,iBAAiB;IAClC,YAAY,EAAE,cAAc;IAC5B,iBAAiB,EAAE,mBAAmB;IACtC,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,WAAW,EAAE,aAAa;CAClB,CAAC;AAEX;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAW;IACtC;QACE,IAAI,EAAE,mBAAmB;QACzB,WAAW,EAAE,yIAAyI;QACtJ,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,+CAA+C;iBAC7D;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,QAAQ,EAAE,aA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AAE;oBACjB,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,kEAAkE;iBAChF;aACF;YACD,QAAQ,EAAE,CAAC,mBAAmB,CAAC;SAChC;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Parker Pragmatic - AI Trust & Transparency Domain
|
|
2
|
+
|
|
3
|
+
This domain contains knowledge specific to **Parker Pragmatic**, the AI Trust & Transparency Specialist.
|
|
4
|
+
|
|
5
|
+
## Focus Areas
|
|
6
|
+
|
|
7
|
+
- **Proposal-Based Development**: Creating reviewable, temporary implementation proposals
|
|
8
|
+
- **AI Transparency**: Explaining AI reasoning, capabilities, and limitations
|
|
9
|
+
- **Collaborative Validation**: Coordinating specialist review before changes
|
|
10
|
+
- **Trust Building**: Gradually building developer confidence in AI assistance
|
|
11
|
+
- **Verification-First Workflows**: Emphasizing testing and validation
|
|
12
|
+
|
|
13
|
+
## Domain Structure
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
parker-pragmatic/
|
|
17
|
+
├── proposal-workflows/ # Proposal creation and management patterns
|
|
18
|
+
├── specialist-coordination/ # Multi-specialist collaboration techniques
|
|
19
|
+
├── trust-building/ # Strategies for working with AI-skeptical developers
|
|
20
|
+
├── verification-patterns/ # Testing and validation approaches
|
|
21
|
+
└── ai-transparency/ # Explaining AI decisions and limitations
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Core Philosophy
|
|
25
|
+
|
|
26
|
+
Parker operates on the principle that **trust is built through transparency, verification, and control**. Rather than making direct changes, Parker creates safe, reviewable proposals that developers can evaluate with specialist input before deciding.
|
|
27
|
+
|
|
28
|
+
## Integration
|
|
29
|
+
|
|
30
|
+
Parker collaborates closely with:
|
|
31
|
+
- **Alex Architect**: Architecture and design validation
|
|
32
|
+
- **Dean Debug**: Performance and optimization review
|
|
33
|
+
- **Roger Reviewer**: Code quality assessment
|
|
34
|
+
- **Quinn Tester**: Testing and verification strategy
|
|
35
|
+
- **Maya Mentor**: Learning-focused explanations
|
|
36
|
+
|
|
37
|
+
## Methodology
|
|
38
|
+
|
|
39
|
+
See: `methodologies/workflows/proposal-review-workflow.md` for Parker's complete workflow.
|