@praxis-ai/praxis 0.1.4 → 0.1.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.
Files changed (55) hide show
  1. package/dist/agentCore/index.d.ts +11 -3
  2. package/dist/applicationLayer/applicationRuntime.js +7 -1
  3. package/dist/basetool/authoring.d.ts +2 -0
  4. package/dist/basetool/authoring.js +2 -0
  5. package/dist/basetool/catalog.d.ts +1 -1
  6. package/dist/basetool/catalog.js +86 -4
  7. package/dist/basetool/core/index.d.ts +4 -2
  8. package/dist/basetool/core/index.js +8 -0
  9. package/dist/basetool/core/mcpCompletions.d.ts +2 -0
  10. package/dist/basetool/core/mcpCompletions.js +70 -0
  11. package/dist/basetool/core/mcpPrompts.d.ts +2 -0
  12. package/dist/basetool/core/mcpPrompts.js +48 -0
  13. package/dist/basetool/core/mcpResources.js +41 -5
  14. package/dist/basetool/profiles.js +15 -1
  15. package/dist/basetool/registry.d.ts +1 -1
  16. package/dist/basetool/supportCatalog.js +23 -6
  17. package/dist/runtimeImplementation/praxisRuntimeKernel.js +1696 -1499
  18. package/dist/runtimeImplementation/runtime.execEngine/baseToolApprovalScope.js +11 -0
  19. package/dist/runtimeImplementation/runtime.execEngine/baseToolExecutorPortFactory.js +13 -1
  20. package/dist/runtimeImplementation/runtime.execEngine/baseToolPolicyAdjudicator.js +14 -0
  21. package/dist/runtimeImplementation/runtime.execEngine/mcpRuntimeAdapter.d.ts +27 -0
  22. package/dist/runtimeImplementation/runtime.execEngine/mcpRuntimeAdapter.js +648 -56
  23. package/dist/runtimeImplementation/runtime.execEngine/promptContextAssembly.d.ts +1 -0
  24. package/dist/runtimeImplementation/runtime.execEngine/promptContextAssembly.js +18 -0
  25. package/dist/runtimeImplementation/runtime.mcpPlane/index.d.ts +20 -7
  26. package/dist/runtimeImplementation/runtime.mcpPlane/index.js +105 -89
  27. package/dist/toolBase/catalog.d.ts +24 -0
  28. package/dist/toolBase/catalog.js +41 -3
  29. package/dist/toolBase/profiles.d.ts +3 -3
  30. package/dist/toolBase/profiles.js +2 -0
  31. package/dist/toolBase/types.d.ts +1 -1
  32. package/examples/raxode-mcp-plus-ten-server.config.json +229 -0
  33. package/examples/scripts/README.md +8 -2
  34. package/examples/scripts/mcp-plus-native-smoke.ts +1296 -0
  35. package/package.json +3 -1
  36. package/raxode-tui/dist/raxode-cli/backend/agents/codingAgent/prompts/tool-use.md +1 -1
  37. package/raxode-tui/dist/raxode-cli/backend/application/mcpConfig.d.ts +9 -0
  38. package/raxode-tui/dist/raxode-cli/backend/application/mcpConfig.js +65 -0
  39. package/raxode-tui/dist/raxode-cli/backend/application/mcpReadinessSummary.d.ts +28 -0
  40. package/raxode-tui/dist/raxode-cli/backend/application/mcpReadinessSummary.js +57 -0
  41. package/raxode-tui/dist/raxode-cli/backend/application/runtimeReadiness.d.ts +5 -1
  42. package/raxode-tui/dist/raxode-cli/backend/application/runtimeReadiness.js +40 -0
  43. package/raxode-tui/dist/raxode-cli/backend/application/stdioApplicationServer.js +6 -0
  44. package/raxode-tui/dist/raxode-cli/backend/directApplicationBackend.d.ts +4 -0
  45. package/raxode-tui/dist/raxode-cli/backend/directApplicationBackend.js +14 -0
  46. package/raxode-tui/dist/raxode-cli/backend/raxodeBackend.d.ts +1 -1
  47. package/raxode-tui/dist/raxode-cli/backend/raxodeBackend.js +16 -1
  48. package/raxode-tui/dist/raxode-cli/contracts.d.ts +1 -0
  49. package/raxode-tui/dist/raxode-cli/frontend/bridge/readiness.js +24 -0
  50. package/raxode-tui/dist/raxode-cli/frontend/tui/app/direct-tui.js +35 -0
  51. package/raxode-tui/dist/raxode-cli/frontend/tui/cli/raxode-cli.d.ts +2 -0
  52. package/raxode-tui/dist/raxode-cli/frontend/tui/cli/raxode-cli.js +8 -0
  53. package/raxode-tui/dist/raxode-cli/frontend/tui/config/raxode-config.d.ts +31 -0
  54. package/raxode-tui/dist/raxode-cli/frontend/tui/config/raxode-config.js +129 -0
  55. package/raxode-tui/dist/raxode-cli/index.d.ts +1 -0
@@ -0,0 +1,229 @@
1
+ {
2
+ "mcp": {
3
+ "projectId": "project.raxode.local-mcp-plus",
4
+ "reprofileConsecutiveIndexedCalls": 6,
5
+ "servers": [
6
+ {
7
+ "serverId": "filesystem-praxis",
8
+ "mode": "mcp-plus",
9
+ "transport": "stdio",
10
+ "command": "npx",
11
+ "args": ["-y", "@modelcontextprotocol/server-filesystem", "."],
12
+ "cwd": ".",
13
+ "title": "Filesystem Praxis",
14
+ "summary": "Filesystem MCP server scoped to the current Praxis/Raxode workspace.",
15
+ "enabled": true,
16
+ "timeoutMs": 20000,
17
+ "manifest": {
18
+ "server": {
19
+ "id": "filesystem-praxis",
20
+ "title": "Filesystem Praxis",
21
+ "summary": "Filesystem MCP server scoped to the current Praxis/Raxode workspace."
22
+ }
23
+ }
24
+ },
25
+ {
26
+ "serverId": "filesystem-tmp",
27
+ "mode": "mcp-plus",
28
+ "transport": "stdio",
29
+ "command": "npx",
30
+ "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
31
+ "cwd": ".",
32
+ "title": "Filesystem Tmp",
33
+ "summary": "Filesystem MCP server scoped to /tmp for disposable artifacts.",
34
+ "enabled": true,
35
+ "timeoutMs": 20000,
36
+ "manifest": {
37
+ "server": {
38
+ "id": "filesystem-tmp",
39
+ "title": "Filesystem Tmp",
40
+ "summary": "Filesystem MCP server scoped to /tmp for disposable artifacts."
41
+ }
42
+ }
43
+ },
44
+ {
45
+ "serverId": "memory",
46
+ "mode": "mcp-plus",
47
+ "transport": "stdio",
48
+ "command": "npx",
49
+ "args": ["-y", "@modelcontextprotocol/server-memory"],
50
+ "cwd": ".",
51
+ "title": "Memory",
52
+ "summary": "Reference memory graph MCP server.",
53
+ "enabled": true,
54
+ "timeoutMs": 20000,
55
+ "manifest": {
56
+ "server": {
57
+ "id": "memory",
58
+ "title": "Memory",
59
+ "summary": "Reference memory graph MCP server."
60
+ }
61
+ }
62
+ },
63
+ {
64
+ "serverId": "sequential-thinking",
65
+ "mode": "mcp-plus",
66
+ "transport": "stdio",
67
+ "command": "npx",
68
+ "args": ["-y", "@modelcontextprotocol/server-sequential-thinking"],
69
+ "cwd": ".",
70
+ "title": "Sequential Thinking",
71
+ "summary": "Structured reasoning MCP server.",
72
+ "enabled": true,
73
+ "timeoutMs": 20000,
74
+ "manifest": {
75
+ "server": {
76
+ "id": "sequential-thinking",
77
+ "title": "Sequential Thinking",
78
+ "summary": "Structured reasoning MCP server."
79
+ }
80
+ }
81
+ },
82
+ {
83
+ "serverId": "everything",
84
+ "mode": "mcp-plus",
85
+ "transport": "stdio",
86
+ "command": "npx",
87
+ "args": ["-y", "@modelcontextprotocol/server-everything"],
88
+ "cwd": ".",
89
+ "title": "Everything",
90
+ "summary": "Reference MCP server with broad protocol examples.",
91
+ "enabled": true,
92
+ "timeoutMs": 20000,
93
+ "manifest": {
94
+ "server": {
95
+ "id": "everything",
96
+ "title": "Everything",
97
+ "summary": "Reference MCP server with broad protocol examples."
98
+ }
99
+ }
100
+ },
101
+ {
102
+ "serverId": "playwright",
103
+ "mode": "mcp-plus",
104
+ "transport": "stdio",
105
+ "command": "npx",
106
+ "args": ["-y", "@playwright/mcp@latest", "--headless"],
107
+ "cwd": ".",
108
+ "title": "Playwright MCP+",
109
+ "summary": "Browser automation through Playwright MCP with compact exposure.",
110
+ "enabled": true,
111
+ "timeoutMs": 30000,
112
+ "manifest": {
113
+ "server": {
114
+ "id": "playwright",
115
+ "title": "Playwright MCP+",
116
+ "summary": "Browser automation through Playwright MCP with compact exposure."
117
+ },
118
+ "exposure": {
119
+ "pinnedTools": ["browser_navigate", "browser_snapshot", "browser_click"],
120
+ "warmTools": ["browser_type"],
121
+ "indexedTools": ["browser_network_requests", "browser_console_messages", "browser_take_screenshot"],
122
+ "toolCards": {
123
+ "browser_network_requests": {
124
+ "title": "Network requests",
125
+ "summary": "Inspect browser network traffic when debugging failed requests or API calls.",
126
+ "keywords": ["network", "request", "http", "api", "debug"]
127
+ },
128
+ "browser_console_messages": {
129
+ "title": "Console messages",
130
+ "summary": "Inspect frontend logs and JavaScript errors.",
131
+ "keywords": ["console", "logs", "error", "frontend"]
132
+ },
133
+ "browser_take_screenshot": {
134
+ "title": "Screenshot diagnostics",
135
+ "summary": "Capture visual page state when accessibility snapshots are insufficient.",
136
+ "keywords": ["screenshot", "visual", "browser", "diagnostic"]
137
+ }
138
+ }
139
+ },
140
+ "skills": {
141
+ "chapters": [
142
+ {
143
+ "id": "snapshot-first-browser-workflow",
144
+ "title": "Snapshot-first browser workflow",
145
+ "summary": "Navigate first, then use accessibility snapshots to inspect page state before interacting or answering."
146
+ }
147
+ ]
148
+ }
149
+ }
150
+ },
151
+ {
152
+ "serverId": "time",
153
+ "mode": "mcp-plus",
154
+ "transport": "stdio",
155
+ "command": "uvx",
156
+ "args": ["mcp-server-time", "--local-timezone", "UTC"],
157
+ "cwd": ".",
158
+ "title": "Time",
159
+ "summary": "Time and timezone conversion MCP server.",
160
+ "enabled": true,
161
+ "timeoutMs": 30000,
162
+ "manifest": {
163
+ "server": {
164
+ "id": "time",
165
+ "title": "Time",
166
+ "summary": "Time and timezone conversion MCP server."
167
+ }
168
+ }
169
+ },
170
+ {
171
+ "serverId": "fetch",
172
+ "mode": "mcp-plus",
173
+ "transport": "stdio",
174
+ "command": "uvx",
175
+ "args": ["mcp-server-fetch"],
176
+ "cwd": ".",
177
+ "title": "Fetch",
178
+ "summary": "HTTP fetch MCP server.",
179
+ "enabled": true,
180
+ "timeoutMs": 30000,
181
+ "manifest": {
182
+ "server": {
183
+ "id": "fetch",
184
+ "title": "Fetch",
185
+ "summary": "HTTP fetch MCP server."
186
+ }
187
+ }
188
+ },
189
+ {
190
+ "serverId": "git",
191
+ "mode": "mcp-plus",
192
+ "transport": "stdio",
193
+ "command": "uvx",
194
+ "args": ["mcp-server-git", "--repository", "."],
195
+ "cwd": ".",
196
+ "title": "Git",
197
+ "summary": "Git repository MCP server scoped to the current workspace.",
198
+ "enabled": true,
199
+ "timeoutMs": 30000,
200
+ "manifest": {
201
+ "server": {
202
+ "id": "git",
203
+ "title": "Git",
204
+ "summary": "Git repository MCP server scoped to the current workspace."
205
+ }
206
+ }
207
+ },
208
+ {
209
+ "serverId": "sqlite",
210
+ "mode": "mcp-plus",
211
+ "transport": "stdio",
212
+ "command": "uvx",
213
+ "args": ["mcp-server-sqlite", "--db-path", "/tmp/raxode-mcp-plus.sqlite"],
214
+ "cwd": ".",
215
+ "title": "SQLite",
216
+ "summary": "SQLite MCP server backed by a local temporary database.",
217
+ "enabled": true,
218
+ "timeoutMs": 30000,
219
+ "manifest": {
220
+ "server": {
221
+ "id": "sqlite",
222
+ "title": "SQLite",
223
+ "summary": "SQLite MCP server backed by a local temporary database."
224
+ }
225
+ }
226
+ }
227
+ ]
228
+ }
229
+ }
@@ -1,6 +1,11 @@
1
1
  # Examples Scripts
2
2
 
3
- `agentcore_smoke.ts` is the only current packaged script in this folder.
3
+ Current packaged smoke scripts in this folder:
4
+
5
+ - `agentcore_smoke.ts`: core runtime construction smoke.
6
+ - `modelAdapter_smoke.ts`: model adapter lowering smoke.
7
+ - `mcp-plus-native-smoke.ts`: live MCP vs MCP+ native comparison across a
8
+ representative multi-server MCP set, with devdoctor cache diagnostics.
4
9
 
5
10
  The other scripts in this directory are archived migration references from the
6
11
  old fine-grained tool layer. They still mention historical ids such as
@@ -8,4 +13,5 @@ old fine-grained tool layer. They still mention historical ids such as
8
13
  them as evidence for the current semantic basetool contract.
9
14
 
10
15
  Current examples should enter through `examples/minimal`, `examples/fullstack`,
11
- or `npm run smoke:agentCore`.
16
+ `npm run smoke:agentCore`, `npm run smoke:modelAdapter`, or
17
+ `npm run smoke:mcp-plus-native`.