@nordsym/apiclaw 2.2.0 → 2.2.1
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 +15 -2
- package/dist/bin-http.js +0 -0
- package/dist/bin.bundled.js +79288 -0
- package/dist/gateway-client.d.ts.map +1 -1
- package/dist/gateway-client.js +24 -2
- package/dist/gateway-client.js.map +1 -1
- package/dist/index.bundled.js +61263 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +7 -2
- package/.claude/settings.local.json +0 -13
- package/.env.prod +0 -1
- package/apiclaw-README.md +0 -494
- package/convex/_generated/api.d.ts +0 -145
- package/convex/_generated/api.js +0 -23
- package/convex/_generated/dataModel.d.ts +0 -60
- package/convex/_generated/server.d.ts +0 -143
- package/convex/_generated/server.js +0 -93
- package/convex/_listWorkspaces.ts +0 -13
- package/convex/adminActivate.ts +0 -53
- package/convex/adminStats.ts +0 -306
- package/convex/agents.ts +0 -939
- package/convex/analytics.ts +0 -187
- package/convex/apiKeys.ts +0 -220
- package/convex/backfillAnalytics.ts +0 -272
- package/convex/backfillSearchLogs.ts +0 -35
- package/convex/billing.ts +0 -834
- package/convex/capabilities.ts +0 -157
- package/convex/chains.ts +0 -1318
- package/convex/credits.ts +0 -211
- package/convex/crons.ts +0 -65
- package/convex/debugFilestackLogs.ts +0 -16
- package/convex/debugGetToken.ts +0 -18
- package/convex/directCall.ts +0 -713
- package/convex/earnProgress.ts +0 -753
- package/convex/email.ts +0 -329
- package/convex/feedback.ts +0 -265
- package/convex/funnel.ts +0 -431
- package/convex/guards.ts +0 -174
- package/convex/http.ts +0 -3756
- package/convex/inbound.ts +0 -32
- package/convex/logs.ts +0 -701
- package/convex/migrateFilestack.ts +0 -81
- package/convex/migratePartnersProd.ts +0 -174
- package/convex/migratePratham.ts +0 -126
- package/convex/migrateProviderWorkspaces.ts +0 -175
- package/convex/mou.ts +0 -91
- package/convex/nurture.ts +0 -355
- package/convex/providerKeys.ts +0 -289
- package/convex/providers.ts +0 -1135
- package/convex/purchases.ts +0 -183
- package/convex/ratelimit.ts +0 -104
- package/convex/schema.ts +0 -926
- package/convex/searchLogs.ts +0 -265
- package/convex/seedAPILayerAPIs.ts +0 -191
- package/convex/seedDirectCallConfigs.ts +0 -336
- package/convex/seedPratham.ts +0 -149
- package/convex/spendAlerts.ts +0 -442
- package/convex/stripeActions.ts +0 -607
- package/convex/teams.ts +0 -243
- package/convex/telemetry.ts +0 -81
- package/convex/tsconfig.json +0 -25
- package/convex/updateAPIStatus.ts +0 -44
- package/convex/usage.ts +0 -260
- package/convex/usageReports.ts +0 -357
- package/convex/waitlist.ts +0 -55
- package/convex/webhooks.ts +0 -494
- package/convex/workspaceSettings.ts +0 -143
- package/convex/workspaces.ts +0 -1331
- package/convex.json +0 -3
- package/direct-test.mjs +0 -51
- package/email-templates/filestack-provider-outreach.html +0 -162
- package/email-templates/partnership-template.html +0 -116
- package/email-templates/pratham-draft-preview.txt +0 -57
- package/email-templates/pratham-partnership-draft.html +0 -141
- package/reports/APIClaw-Session-Report-2026-04-05.pdf +0 -0
- package/reports/pipeline/PIPELINE-REPORT.json +0 -153
- package/reports/pipeline/acquire_apisguru.json +0 -17
- package/reports/pipeline/capabilities.json +0 -38
- package/reports/pipeline/discover_azure_recursive.json +0 -1551
- package/reports/pipeline/discover_github.json +0 -25
- package/reports/pipeline/discover_github_repos.json +0 -49
- package/reports/pipeline/discover_swaggerhub.json +0 -24
- package/reports/pipeline/discover_well_known.json +0 -23
- package/reports/pipeline/fetch_specs.json +0 -19
- package/reports/pipeline/generate_providers.json +0 -14
- package/reports/pipeline/match_registry.json +0 -11
- package/reports/pipeline/parse_specs.json +0 -17
- package/reports/pipeline/promote_candidates.json +0 -34
- package/reports/pipeline/validate.json +0 -30
- package/reports/pipeline/validate_smoke_details.json +0 -3835
- package/reports/session-report-2026-04-05.html +0 -433
- package/seed-apis-direct.mjs +0 -106
- package/src/access-control.ts +0 -174
- package/src/adapters/base.ts +0 -364
- package/src/adapters/claude-desktop.ts +0 -41
- package/src/adapters/cline.ts +0 -88
- package/src/adapters/continue.ts +0 -91
- package/src/adapters/cursor.ts +0 -43
- package/src/adapters/custom.ts +0 -188
- package/src/adapters/detect.ts +0 -202
- package/src/adapters/index.ts +0 -47
- package/src/adapters/windsurf.ts +0 -44
- package/src/bin-http.ts +0 -45
- package/src/bin.ts +0 -34
- package/src/capability-router.ts +0 -331
- package/src/chainExecutor.ts +0 -730
- package/src/chainResolver.test.ts +0 -246
- package/src/chainResolver.ts +0 -658
- package/src/cli/commands/demo.ts +0 -109
- package/src/cli/commands/doctor.ts +0 -435
- package/src/cli/commands/index.ts +0 -9
- package/src/cli/commands/login.ts +0 -203
- package/src/cli/commands/mcp-install.ts +0 -373
- package/src/cli/commands/restore.ts +0 -333
- package/src/cli/commands/setup.ts +0 -297
- package/src/cli/commands/uninstall.ts +0 -240
- package/src/cli/index.ts +0 -148
- package/src/cli.ts +0 -370
- package/src/confirmation.ts +0 -296
- package/src/credentials.ts +0 -455
- package/src/credits.ts +0 -329
- package/src/crypto.ts +0 -75
- package/src/discovery.ts +0 -568
- package/src/enterprise/env.ts +0 -156
- package/src/enterprise/index.ts +0 -7
- package/src/enterprise/script-generator.ts +0 -481
- package/src/execute-dynamic.ts +0 -617
- package/src/execute.ts +0 -2386
- package/src/funnel-client.ts +0 -168
- package/src/funnel.test.ts +0 -187
- package/src/gateway-client.ts +0 -192
- package/src/hivr-whitelist.ts +0 -110
- package/src/http-api.ts +0 -286
- package/src/http-server-minimal.ts +0 -154
- package/src/index.ts +0 -2702
- package/src/intelligent-gateway.ts +0 -339
- package/src/mcp-analytics.ts +0 -156
- package/src/metered.ts +0 -149
- package/src/open-apis-generated.ts +0 -157
- package/src/open-apis.ts +0 -558
- package/src/postinstall.ts +0 -40
- package/src/product-whitelist.ts +0 -246
- package/src/proxy.ts +0 -36
- package/src/registration-guard.ts +0 -117
- package/src/session.ts +0 -129
- package/src/stripe.ts +0 -497
- package/src/telemetry.ts +0 -71
- package/src/test.ts +0 -135
- package/src/types/convex-api.d.ts +0 -20
- package/src/types/convex-api.ts +0 -21
- package/src/types.ts +0 -109
- package/src/ui/colors.ts +0 -219
- package/src/ui/errors.ts +0 -394
- package/src/ui/index.ts +0 -17
- package/src/ui/prompts.ts +0 -390
- package/src/ui/spinner.ts +0 -325
- package/src/utils/backup.ts +0 -224
- package/src/utils/config.ts +0 -318
- package/src/utils/os.ts +0 -124
- package/src/utils/paths.ts +0 -203
- package/src/webhook.ts +0 -107
- package/test-10-working.cjs +0 -97
- package/test-14-final.cjs +0 -96
- package/test-actual-handlers.ts +0 -92
- package/test-apilayer-all-14.ts +0 -249
- package/test-apilayer-fixed.ts +0 -248
- package/test-direct-endpoints.ts +0 -174
- package/test-exact-endpoints.ts +0 -144
- package/test-final.ts +0 -83
- package/test-full-routing.ts +0 -100
- package/test-handlers-correct.ts +0 -217
- package/test-numverify-key.ts +0 -41
- package/test-via-handlers.ts +0 -92
- package/test-worldnews.mjs +0 -26
- package/tsconfig.json +0 -20
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"stage": "discover_github",
|
|
3
|
-
"elapsed_sec": 367.83,
|
|
4
|
-
"queries": [
|
|
5
|
-
"filename:openapi.json",
|
|
6
|
-
"filename:openapi.yaml",
|
|
7
|
-
"filename:swagger.json",
|
|
8
|
-
"filename:swagger.yaml",
|
|
9
|
-
"path:docs filename:openapi.json",
|
|
10
|
-
"path:api filename:openapi.json",
|
|
11
|
-
"path:spec filename:openapi.yaml"
|
|
12
|
-
],
|
|
13
|
-
"found_per_query": {
|
|
14
|
-
"filename:openapi.json": 900,
|
|
15
|
-
"filename:openapi.yaml": 900,
|
|
16
|
-
"filename:swagger.json": 900,
|
|
17
|
-
"filename:swagger.yaml": 0,
|
|
18
|
-
"path:docs filename:openapi.json": 842,
|
|
19
|
-
"path:api filename:openapi.json": 868,
|
|
20
|
-
"path:spec filename:openapi.yaml": 341
|
|
21
|
-
},
|
|
22
|
-
"total_unique_urls_in_list": 9750,
|
|
23
|
-
"errors": [],
|
|
24
|
-
"token_present": true
|
|
25
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"stage": "discover_github_repos",
|
|
3
|
-
"elapsed_sec": 25.51,
|
|
4
|
-
"targets_run": 39,
|
|
5
|
-
"new_urls_added": 1491,
|
|
6
|
-
"total_discovered_urls": 37197,
|
|
7
|
-
"per_repo_added": {
|
|
8
|
-
"APIs-guru/openapi-directory": 0,
|
|
9
|
-
"Azure/azure-rest-api-specs": 0,
|
|
10
|
-
"Azure/azure-rest-api-specs-pr": 0,
|
|
11
|
-
"postmanlabs/postman-code-generators": 0,
|
|
12
|
-
"github/rest-api-description": 0,
|
|
13
|
-
"stripe/openapi": 0,
|
|
14
|
-
"twilio/twilio-oai": 0,
|
|
15
|
-
"cloudflare/api-schemas": 0,
|
|
16
|
-
"adyen/adyen-openapi": 0,
|
|
17
|
-
"okta/okta-management-openapi-spec": 0,
|
|
18
|
-
"digitalocean/openapi": 0,
|
|
19
|
-
"shopify/shopify-api-ruby": 0,
|
|
20
|
-
"mailgun/mailgun-openapi-spec": 0,
|
|
21
|
-
"pagerduty/api-schema": 0,
|
|
22
|
-
"sendgrid/sendgrid-oai": 0,
|
|
23
|
-
"HubSpot/HubSpot-public-api-spec-collection": 0,
|
|
24
|
-
"asana/openapi": 0,
|
|
25
|
-
"rapid7/insightvm-api-docs": 0,
|
|
26
|
-
"Adyen/adyen-openapi": 0,
|
|
27
|
-
"googleapis/googleapis": 0,
|
|
28
|
-
"openai/openai-openapi": 0,
|
|
29
|
-
"box/box-openapi": 3,
|
|
30
|
-
"linode/linode-api-docs": 1,
|
|
31
|
-
"launchdarkly/ld-openapi": 0,
|
|
32
|
-
"PaloAltoNetworks/pan-os-codegen": 0,
|
|
33
|
-
"plaid/plaid-openapi": 0,
|
|
34
|
-
"elastic/elasticsearch-specification": 0,
|
|
35
|
-
"grafana/grafana-openapi-client-go": 0,
|
|
36
|
-
"Rebilly/api-definitions": 1469,
|
|
37
|
-
"OAI/OpenAPI-Specification": 0,
|
|
38
|
-
"readmeio/oas-examples": 10,
|
|
39
|
-
"spotify/web-api": 0,
|
|
40
|
-
"discord/discord-api-docs": 0,
|
|
41
|
-
"slackapi/slack-api-specs": 2,
|
|
42
|
-
"snyk/sweater-comb": 1,
|
|
43
|
-
"hashicorp/vault": 0,
|
|
44
|
-
"figma/rest-api-spec": 1,
|
|
45
|
-
"Kong/insomnia": 0,
|
|
46
|
-
"zuplo/rate-my-openapi": 4
|
|
47
|
-
},
|
|
48
|
-
"token_present": true
|
|
49
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"stage": "discover_swaggerhub",
|
|
3
|
-
"elapsed_sec": 220.49,
|
|
4
|
-
"total_available_on_swaggerhub": 787233,
|
|
5
|
-
"pages_fetched": 100,
|
|
6
|
-
"specs_seen": 10000,
|
|
7
|
-
"new_urls_added": 10000,
|
|
8
|
-
"total_unique_urls_in_list": 35706,
|
|
9
|
-
"before_count": 25706,
|
|
10
|
-
"errors": [],
|
|
11
|
-
"sort": "UPDATED",
|
|
12
|
-
"sample_new": [
|
|
13
|
-
"https://api.swaggerhub.com/apis/BSPK/platform-api/1.0.0",
|
|
14
|
-
"https://api.swaggerhub.com/apis/BSPK/extraction-api/1.0.0",
|
|
15
|
-
"https://api.swaggerhub.com/apis/SmartcareAPI/Smartcare-API/1.0.0",
|
|
16
|
-
"https://api.swaggerhub.com/apis/jcyl-educacion/solicitudconcursoJSON/1.0.0",
|
|
17
|
-
"https://api.swaggerhub.com/apis/Trimble-Connect/tcps/2.0",
|
|
18
|
-
"https://api.swaggerhub.com/apis/Trimble-Connect/tcps.internal/2.0",
|
|
19
|
-
"https://api.swaggerhub.com/apis/ryder-eis/Ryder-VIN-Validation-Service/1.0",
|
|
20
|
-
"https://api.swaggerhub.com/apis/UMRECWEB/generated-api-specification/1.0.0",
|
|
21
|
-
"https://api.swaggerhub.com/apis/shedenk/App.Adsmedia.id/1.0.0",
|
|
22
|
-
"https://api.swaggerhub.com/apis/david8801/Aivo/1.5.0"
|
|
23
|
-
]
|
|
24
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"stage": "discover_well_known",
|
|
3
|
-
"elapsed_sec": 2418.63,
|
|
4
|
-
"hosts_probed": 12449,
|
|
5
|
-
"specs_discovered": 130,
|
|
6
|
-
"hit_rate": 0.0104,
|
|
7
|
-
"successes_by_path": {
|
|
8
|
-
"/openapi.json": 47,
|
|
9
|
-
"/api-docs.json": 4,
|
|
10
|
-
"/.well-known/openapi.json": 1,
|
|
11
|
-
"/docs/openapi.json": 5,
|
|
12
|
-
"/docs/swagger.json": 3,
|
|
13
|
-
"/api/openapi.json": 14,
|
|
14
|
-
"/swagger.json": 16,
|
|
15
|
-
"/api/v1/openapi.json": 3,
|
|
16
|
-
"/openapi.yaml": 25,
|
|
17
|
-
"/swagger.yaml": 4,
|
|
18
|
-
"/v1/openapi.json": 5,
|
|
19
|
-
"/api/swagger.json": 2,
|
|
20
|
-
"/v2/openapi.json": 1
|
|
21
|
-
},
|
|
22
|
-
"output_file": "data/pipeline/discovered-urls.txt"
|
|
23
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"stage": "fetch_specs",
|
|
3
|
-
"started_at": 1775758707,
|
|
4
|
-
"elapsed_sec": 91.49,
|
|
5
|
-
"urls_total": 37197,
|
|
6
|
-
"ok": 37190,
|
|
7
|
-
"failed": 7,
|
|
8
|
-
"from_cache": 35699,
|
|
9
|
-
"by_source": {
|
|
10
|
-
"urls-file": {
|
|
11
|
-
"total": 37197,
|
|
12
|
-
"ok": 37190,
|
|
13
|
-
"errors": {
|
|
14
|
-
"http_404": 6,
|
|
15
|
-
"ValueError: spec exceeds 33554432 bytes": 1
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"stage": "generate_providers",
|
|
3
|
-
"elapsed_sec": 25.85,
|
|
4
|
-
"specs_input": 29957,
|
|
5
|
-
"providers_emitted": 25538,
|
|
6
|
-
"callable": 9478,
|
|
7
|
-
"candidates_only": 16060,
|
|
8
|
-
"rejected": {
|
|
9
|
-
"no_get": 2372,
|
|
10
|
-
"bad_base_url": 518,
|
|
11
|
-
"private_host": 1529
|
|
12
|
-
},
|
|
13
|
-
"output_file": "src/registry/generated-providers.json"
|
|
14
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"stage": "parse_specs",
|
|
3
|
-
"elapsed_sec": 258.53,
|
|
4
|
-
"cache_entries_total": 39726,
|
|
5
|
-
"specs_attempted": 39666,
|
|
6
|
-
"specs_parsed": 29957,
|
|
7
|
-
"skipped": {
|
|
8
|
-
"unsupported_or_no_servers": 9067,
|
|
9
|
-
"too_large": 51,
|
|
10
|
-
"no_open_actions": 116,
|
|
11
|
-
"fetch_failed": 9,
|
|
12
|
-
"parse_error_or_timeout": 524,
|
|
13
|
-
"normalize_error": 2
|
|
14
|
-
},
|
|
15
|
-
"actions_total": 455403,
|
|
16
|
-
"output_file": "data/pipeline/parsed-specs.json"
|
|
17
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"stage": "promote_candidates",
|
|
3
|
-
"elapsed_sec": 118.42,
|
|
4
|
-
"tested": 6492,
|
|
5
|
-
"newly_promoted": 51,
|
|
6
|
-
"callable_total_after": 2027,
|
|
7
|
-
"verified_live_2xx_3xx": 312,
|
|
8
|
-
"by_live_status": {
|
|
9
|
-
"no_simple_get": 3322,
|
|
10
|
-
"http_401": 753,
|
|
11
|
-
"http_200": 310,
|
|
12
|
-
"dns_fail": 598,
|
|
13
|
-
"url_error": 241,
|
|
14
|
-
"http_403": 200,
|
|
15
|
-
"http_400": 651,
|
|
16
|
-
"http_404": 273,
|
|
17
|
-
"timeout": 29,
|
|
18
|
-
"http_500": 33,
|
|
19
|
-
"http_503": 17,
|
|
20
|
-
"RemoteDisconnected": 8,
|
|
21
|
-
"http_410": 3,
|
|
22
|
-
"http_409": 2,
|
|
23
|
-
"http_523": 3,
|
|
24
|
-
"http_422": 15,
|
|
25
|
-
"http_502": 4,
|
|
26
|
-
"ConnectionResetError": 11,
|
|
27
|
-
"http_530": 5,
|
|
28
|
-
"http_406": 7,
|
|
29
|
-
"http_308": 2,
|
|
30
|
-
"http_405": 2,
|
|
31
|
-
"http_525": 2,
|
|
32
|
-
"http_521": 1
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"stage": "validate",
|
|
3
|
-
"elapsed_sec": 25.46,
|
|
4
|
-
"structural": {
|
|
5
|
-
"providers_total": 5464,
|
|
6
|
-
"callable_marked": 1424,
|
|
7
|
-
"candidates_only": 4040,
|
|
8
|
-
"with_get": 5464,
|
|
9
|
-
"with_post": 3201
|
|
10
|
-
},
|
|
11
|
-
"smoke": {
|
|
12
|
-
"tested": 500,
|
|
13
|
-
"endpoint_reachable": 196,
|
|
14
|
-
"dns_fail": 130,
|
|
15
|
-
"no_simple_get": 58,
|
|
16
|
-
"by_status": {
|
|
17
|
-
"unknown": 130,
|
|
18
|
-
"http_401": 110,
|
|
19
|
-
"http_403": 14,
|
|
20
|
-
"http_404": 39,
|
|
21
|
-
"http_500": 12,
|
|
22
|
-
"http_200": 72,
|
|
23
|
-
"error": 2,
|
|
24
|
-
"no_simple_get": 58,
|
|
25
|
-
"http_400": 43,
|
|
26
|
-
"url_error": 19,
|
|
27
|
-
"http_429": 1
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|