@apify/mcpc 0.1.3 → 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.
- package/.claude/settings.local.json +53 -1
- package/.idea/codeStyles/Project.xml +7 -0
- package/.idea/workspace.xml +314 -280
- package/CONTRIBUTING.md +210 -0
- package/README.md +690 -763
- package/dist/bridge/index.js +82 -18
- package/dist/bridge/index.js.map +1 -1
- package/dist/bridge/proxy-server.d.ts +21 -0
- package/dist/bridge/proxy-server.d.ts.map +1 -0
- package/dist/bridge/proxy-server.js +160 -0
- package/dist/bridge/proxy-server.js.map +1 -0
- package/dist/cli/commands/auth.d.ts.map +1 -1
- package/dist/cli/commands/auth.js +9 -4
- package/dist/cli/commands/auth.js.map +1 -1
- package/dist/cli/commands/clean.d.ts.map +1 -1
- package/dist/cli/commands/clean.js +21 -27
- package/dist/cli/commands/clean.js.map +1 -1
- package/dist/cli/commands/logging.js +1 -1
- package/dist/cli/commands/logging.js.map +1 -1
- package/dist/cli/commands/prompts.d.ts.map +1 -1
- package/dist/cli/commands/prompts.js +37 -5
- package/dist/cli/commands/prompts.js.map +1 -1
- package/dist/cli/commands/resources.js +5 -5
- package/dist/cli/commands/resources.js.map +1 -1
- package/dist/cli/commands/sessions.d.ts +7 -1
- package/dist/cli/commands/sessions.d.ts.map +1 -1
- package/dist/cli/commands/sessions.js +130 -189
- package/dist/cli/commands/sessions.js.map +1 -1
- package/dist/cli/commands/tools.d.ts +0 -1
- package/dist/cli/commands/tools.d.ts.map +1 -1
- package/dist/cli/commands/tools.js +48 -10
- package/dist/cli/commands/tools.js.map +1 -1
- package/dist/cli/commands/utilities.js +1 -1
- package/dist/cli/commands/utilities.js.map +1 -1
- package/dist/cli/helpers.d.ts +9 -4
- package/dist/cli/helpers.d.ts.map +1 -1
- package/dist/cli/helpers.js +62 -81
- package/dist/cli/helpers.js.map +1 -1
- package/dist/cli/index.js +104 -46
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/output.d.ts +19 -3
- package/dist/cli/output.d.ts.map +1 -1
- package/dist/cli/output.js +374 -82
- package/dist/cli/output.js.map +1 -1
- package/dist/cli/parser.d.ts +10 -1
- package/dist/cli/parser.d.ts.map +1 -1
- package/dist/cli/parser.js +155 -43
- package/dist/cli/parser.js.map +1 -1
- package/dist/cli/shell.d.ts.map +1 -1
- package/dist/cli/shell.js +31 -18
- package/dist/cli/shell.js.map +1 -1
- package/dist/core/factory.d.ts +2 -4
- package/dist/core/factory.d.ts.map +1 -1
- package/dist/core/factory.js +3 -34
- package/dist/core/factory.js.map +1 -1
- package/dist/core/mcp-client.d.ts +7 -2
- package/dist/core/mcp-client.d.ts.map +1 -1
- package/dist/core/mcp-client.js +86 -36
- package/dist/core/mcp-client.js.map +1 -1
- package/dist/core/transports.d.ts +2 -2
- package/dist/core/transports.d.ts.map +1 -1
- package/dist/core/transports.js +36 -45
- package/dist/core/transports.js.map +1 -1
- package/dist/lib/auth/keychain.d.ts +3 -0
- package/dist/lib/auth/keychain.d.ts.map +1 -1
- package/dist/lib/auth/keychain.js +18 -0
- package/dist/lib/auth/keychain.js.map +1 -1
- package/dist/lib/auth/oauth-flow.d.ts.map +1 -1
- package/dist/lib/auth/oauth-flow.js +55 -12
- package/dist/lib/auth/oauth-flow.js.map +1 -1
- package/dist/lib/auth/oauth-provider.d.ts.map +1 -1
- package/dist/lib/auth/oauth-provider.js +5 -23
- package/dist/lib/auth/oauth-provider.js.map +1 -1
- package/dist/lib/auth/oauth-token-manager.d.ts.map +1 -1
- package/dist/lib/auth/oauth-token-manager.js +0 -10
- package/dist/lib/auth/oauth-token-manager.js.map +1 -1
- package/dist/lib/auth/profiles.d.ts +5 -1
- package/dist/lib/auth/profiles.d.ts.map +1 -1
- package/dist/lib/auth/profiles.js +80 -13
- package/dist/lib/auth/profiles.js.map +1 -1
- package/dist/lib/bridge-manager.d.ts +3 -2
- package/dist/lib/bridge-manager.d.ts.map +1 -1
- package/dist/lib/bridge-manager.js +42 -24
- package/dist/lib/bridge-manager.js.map +1 -1
- package/dist/lib/config.d.ts +3 -3
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/errors.d.ts +6 -1
- package/dist/lib/errors.d.ts.map +1 -1
- package/dist/lib/errors.js +13 -1
- package/dist/lib/errors.js.map +1 -1
- package/dist/lib/logger.d.ts +7 -1
- package/dist/lib/logger.d.ts.map +1 -1
- package/dist/lib/logger.js +20 -1
- package/dist/lib/logger.js.map +1 -1
- package/dist/lib/schema-validator.d.ts +36 -0
- package/dist/lib/schema-validator.d.ts.map +1 -0
- package/dist/lib/schema-validator.js +265 -0
- package/dist/lib/schema-validator.js.map +1 -0
- package/dist/lib/session-client.d.ts +2 -2
- package/dist/lib/session-client.d.ts.map +1 -1
- package/dist/lib/session-client.js +3 -3
- package/dist/lib/session-client.js.map +1 -1
- package/dist/lib/sessions.d.ts +1 -1
- package/dist/lib/sessions.d.ts.map +1 -1
- package/dist/lib/sessions.js +22 -10
- package/dist/lib/sessions.js.map +1 -1
- package/dist/lib/types.d.ts +19 -25
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/lib/types.js.map +1 -1
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +13 -1
- package/dist/lib/utils.js.map +1 -1
- package/docs/README.md +19 -0
- package/docs/TODOs.md +43 -0
- package/docs/claude-skill/SKILL.md +50 -30
- package/docs/images/mcpc-screenshot.png +0 -0
- package/package.json +15 -10
- package/PUBLISHING.md +0 -111
- package/TESTING.md +0 -212
- package/TODOs.md +0 -85
|
@@ -34,7 +34,59 @@
|
|
|
34
34
|
"Bash(xargs cat:*)",
|
|
35
35
|
"Bash(npm run build:toc:*)",
|
|
36
36
|
"Bash(time node:*)",
|
|
37
|
-
"Bash(python3:*)"
|
|
37
|
+
"Bash(python3:*)",
|
|
38
|
+
"Bash(timeout 5 node:*)",
|
|
39
|
+
"Bash(./test/e2e/run.sh:*)",
|
|
40
|
+
"Bash(head:*)",
|
|
41
|
+
"Bash(./test/coverage/coverage-merge.sh)",
|
|
42
|
+
"Bash(npx lcov-result-merger:*)",
|
|
43
|
+
"Bash(npm run test:coverage:e2e:*)",
|
|
44
|
+
"Bash(npm run test:coverage:merge:*)",
|
|
45
|
+
"Bash(npm uninstall:*)",
|
|
46
|
+
"Bash(npm search:*)",
|
|
47
|
+
"Bash(npx nyc report:*)",
|
|
48
|
+
"Bash(npm run test:coverage:unit:*)",
|
|
49
|
+
"Bash(npx c8:*)",
|
|
50
|
+
"Bash(find:*)",
|
|
51
|
+
"Bash(npm run test:e2e:*)",
|
|
52
|
+
"Bash(tee:*)",
|
|
53
|
+
"Bash(npm run test:unit:*)",
|
|
54
|
+
"Bash(FORCE_COLOR=1 node:*)",
|
|
55
|
+
"Bash(TESTS=output-invariants ./test/e2e/run.sh:*)",
|
|
56
|
+
"Bash(TESTS=errors ./test/e2e/run.sh:*)",
|
|
57
|
+
"Bash(TESTS=json-schema ./test/e2e/run.sh:*)",
|
|
58
|
+
"Bash(bash:*)",
|
|
59
|
+
"Bash(curl:*)",
|
|
60
|
+
"Bash(TESTS=oauth-remote ./test/e2e/run.sh:*)",
|
|
61
|
+
"Bash(TESTS=filesystem ./test/e2e/run.sh:*)",
|
|
62
|
+
"Bash(TESTS=header-security ./test/e2e/run.sh:*)",
|
|
63
|
+
"Bash(TESTS=auth-errors ./test/e2e/run.sh:*)",
|
|
64
|
+
"Bash(TESTS=schema-validation ./test/e2e/run.sh:*)",
|
|
65
|
+
"Bash(SINGLE_PROFILE_MODE=true TESTS=oauth-remote ./test/e2e/run.sh:*)",
|
|
66
|
+
"Bash(TESTS=lifecycle ./test/e2e/run.sh:*)",
|
|
67
|
+
"Bash(source:*)",
|
|
68
|
+
"Bash(start_test_server)",
|
|
69
|
+
"Bash(TESTS=restart ./test/e2e/run.sh:*)",
|
|
70
|
+
"Bash(TESTS=\"json-schema restart\" ./test/e2e/run.sh:*)",
|
|
71
|
+
"Bash(TESTS=prompts ./test/e2e/run.sh:*)",
|
|
72
|
+
"Bash(TESTS=human-output ./test/e2e/run.sh:*)",
|
|
73
|
+
"Bash(TESTS=\"close mcp-session\" ./test/e2e/run.sh:*)",
|
|
74
|
+
"Bash(TESTS=close ./test/e2e/run.sh:*)",
|
|
75
|
+
"Bash(TESTS=\"lifecycle failover\" ./test/e2e/run.sh:*)",
|
|
76
|
+
"Bash(TESTS=env-vars E2E_ISOLATED_ALL=1 ./test/e2e/run.sh:*)",
|
|
77
|
+
"Bash(TESTS=header-security E2E_ISOLATED_ALL=0 ./test/e2e/run.sh:*)",
|
|
78
|
+
"Bash(# Look at the most recent test run''s bridge logs for header-security find /tmp/mcpc-e2e-* -name \"\"bridge-@e-*sec*.log\"\")",
|
|
79
|
+
"Bash(TESTS=\"config-env-vars\" ./test/e2e/run.sh:*)",
|
|
80
|
+
"Bash(E2E_PARALLEL=1 ./test/e2e/run.sh:*)",
|
|
81
|
+
"Bash(E2E_PARALLEL=1 TESTS=\"schema-validation\" ./test/e2e/run.sh:*)",
|
|
82
|
+
"Bash(TESTS=\"prompts lifecycle\" ./test/e2e/run.sh:*)",
|
|
83
|
+
"Bash(TESTS=help ./test/e2e/run.sh:*)",
|
|
84
|
+
"Bash(TESTS=proxy ./test/e2e/run.sh:*)",
|
|
85
|
+
"Bash(E2E_PARALLEL=0 TESTS=proxy ./test/e2e/run.sh:*)",
|
|
86
|
+
"Bash(xargs:*)",
|
|
87
|
+
"Bash(TESTS=\"failover expired\" ./test/e2e/run.sh:*)",
|
|
88
|
+
"Bash(npm run build:readme:*)",
|
|
89
|
+
"Bash(npx markdown-link-check:*)"
|
|
38
90
|
]
|
|
39
91
|
}
|
|
40
92
|
}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
14
14
|
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
15
15
|
</JSCodeStyleSettings>
|
|
16
|
+
<Markdown>
|
|
17
|
+
<option name="WRAP_TEXT_INSIDE_BLOCKQUOTES" value="false" />
|
|
18
|
+
</Markdown>
|
|
16
19
|
<TypeScriptCodeStyleSettings version="0">
|
|
17
20
|
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
18
21
|
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
|
@@ -42,6 +45,10 @@
|
|
|
42
45
|
<option name="TAB_SIZE" value="2" />
|
|
43
46
|
</indentOptions>
|
|
44
47
|
</codeStyleSettings>
|
|
48
|
+
<codeStyleSettings language="Markdown">
|
|
49
|
+
<option name="RIGHT_MARGIN" value="150" />
|
|
50
|
+
<option name="WRAP_ON_TYPING" value="1" />
|
|
51
|
+
</codeStyleSettings>
|
|
45
52
|
<codeStyleSettings language="TypeScript">
|
|
46
53
|
<option name="SOFT_MARGINS" value="100" />
|
|
47
54
|
<indentOptions>
|