@firedrill-tools/hubspot 0.1.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.
Files changed (36) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +263 -0
  3. package/firedrill/agent.target.json +17 -0
  4. package/firedrill/baseline.scenario.json +5 -0
  5. package/firedrill/conformance.suite.json +20 -0
  6. package/firedrill/hubspot-deactivated-user.drill.json +53 -0
  7. package/firedrill/hubspot-denied.drill.json +74 -0
  8. package/firedrill/hubspot-fresh-actor.drill.json +128 -0
  9. package/firedrill/hubspot-invalid-auth.drill.json +433 -0
  10. package/firedrill/hubspot-mcp-aliases.drill.json +265 -0
  11. package/firedrill/hubspot-no-scopes.drill.json +433 -0
  12. package/firedrill/hubspot-owned-visibility.drill.json +113 -0
  13. package/firedrill/hubspot-rate-limited.drill.json +446 -0
  14. package/firedrill/hubspot-rest-flow.drill.json +963 -0
  15. package/firedrill/hubspot-scopes.drill.json +166 -0
  16. package/firedrill/hubspot-size-bounds.drill.json +156 -0
  17. package/firedrill/hubspot-write-committed-lost.drill.json +166 -0
  18. package/firedrill/hubspot-write-unavailable.drill.json +292 -0
  19. package/firedrill/rate-limited.scenario.json +11 -0
  20. package/firedrill/tools/hubspot/behavior.mjs +1318 -0
  21. package/firedrill/tools/hubspot/hubspot.tool.json +5524 -0
  22. package/firedrill/tools/hubspot/lib/bytes.mjs +32 -0
  23. package/firedrill/tools/hubspot/lib/json-depth.mjs +17 -0
  24. package/firedrill/tools/hubspot/lib/object-types.mjs +47 -0
  25. package/firedrill/tools/hubspot/lib/properties.mjs +275 -0
  26. package/firedrill/tools/hubspot/lib/search-matchers.mjs +85 -0
  27. package/firedrill/tools/hubspot/lib/search.mjs +301 -0
  28. package/firedrill/tools/hubspot/lib/state.mjs +248 -0
  29. package/firedrill/tools/hubspot/lib/wire.mjs +125 -0
  30. package/firedrill/world.json +3128 -0
  31. package/firedrill/write-committed-lost.scenario.json +11 -0
  32. package/firedrill/write-unavailable.scenario.json +11 -0
  33. package/firedrill.json +5 -0
  34. package/package.json +64 -0
  35. package/starter.json +2540 -0
  36. package/test/conformance.mjs +1007 -0
@@ -0,0 +1,11 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "write-committed-lost",
4
+ "title": "Creates commit but the response is lost (HTTP 503); a naive retry of a contact create then hits 409",
5
+ "faults": [
6
+ {
7
+ "packageId": "hubspot",
8
+ "faultId": "write-committed-lost"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "write-unavailable",
4
+ "title": "Every write answers HTTP 503 and nothing is written; reads keep working",
5
+ "faults": [
6
+ {
7
+ "packageId": "hubspot",
8
+ "faultId": "write-unavailable"
9
+ }
10
+ ]
11
+ }
package/firedrill.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "sourceRoot": "firedrill",
4
+ "world": "world.json"
5
+ }
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@firedrill-tools/hubspot",
3
+ "version": "0.1.1",
4
+ "description": "Synthetic HubSpot CRM portal (CRM v3 objects, search, associations v4, owners, pipelines, properties; HubSpot MCP server tool names) Tool package for Firedrill",
5
+ "keywords": [
6
+ "firedrill",
7
+ "tool-pack",
8
+ "hubspot",
9
+ "crm",
10
+ "contacts",
11
+ "companies",
12
+ "deals",
13
+ "synthetic",
14
+ "testing",
15
+ "ai-agent"
16
+ ],
17
+ "license": "Apache-2.0",
18
+ "type": "module",
19
+ "engines": {
20
+ "node": ">=20.19"
21
+ },
22
+ "exports": {
23
+ "./package.json": "./package.json"
24
+ },
25
+ "files": [
26
+ "firedrill",
27
+ "test",
28
+ "firedrill.json",
29
+ "starter.json",
30
+ "README.md",
31
+ "LICENSE"
32
+ ],
33
+ "firedrill": {
34
+ "layer": "tool-pack",
35
+ "tool": "firedrill/tools/hubspot/hubspot.tool.json",
36
+ "starter": "starter.json",
37
+ "lifecycle": "active",
38
+ "conformance": {
39
+ "schemaVersion": 1,
40
+ "project": "firedrill.json",
41
+ "suite": "conformance"
42
+ }
43
+ },
44
+ "scripts": {
45
+ "validate": "firedrill validate",
46
+ "test": "firedrill tool test hubspot"
47
+ },
48
+ "devDependencies": {
49
+ "@firedrill-run/cli": "0.1.0-rc.1",
50
+ "@firedrill-run/tool-sdk": "0.1.0-rc.1"
51
+ },
52
+ "repository": {
53
+ "type": "git",
54
+ "url": "git+https://github.com/firedrill-tools/firedrill-tools.git",
55
+ "directory": "packages/hubspot"
56
+ },
57
+ "bugs": {
58
+ "url": "https://github.com/firedrill-tools/firedrill-tools/issues"
59
+ },
60
+ "homepage": "https://github.com/firedrill-tools/firedrill-tools/tree/main/packages/hubspot#readme",
61
+ "publishConfig": {
62
+ "access": "public"
63
+ }
64
+ }