makea-cli 0.2.8__tar.gz → 0.2.9__tar.gz

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 (66) hide show
  1. {makea_cli-0.2.8 → makea_cli-0.2.9}/CHANGELOG.md +9 -0
  2. {makea_cli-0.2.8 → makea_cli-0.2.9}/PKG-INFO +6 -6
  3. {makea_cli-0.2.8 → makea_cli-0.2.9}/README.md +5 -5
  4. makea_cli-0.2.9/makea_cli/__init__.py +1 -0
  5. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/analytics/cmd.py +7 -11
  6. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/config.py +3 -2
  7. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/posthog_client.py +12 -23
  8. {makea_cli-0.2.8 → makea_cli-0.2.9}/pyproject.toml +1 -1
  9. {makea_cli-0.2.8 → makea_cli-0.2.9}/tests/golden_manifest.json +10 -10
  10. makea_cli-0.2.8/makea_cli/__init__.py +0 -1
  11. {makea_cli-0.2.8 → makea_cli-0.2.9}/.claude/skills/create-supplier-profile/SKILL.md +0 -0
  12. {makea_cli-0.2.8 → makea_cli-0.2.9}/.claude/skills/lark-cli-setup/SKILL.md +0 -0
  13. {makea_cli-0.2.8 → makea_cli-0.2.9}/.claude/skills/link-supplier-user/SKILL.md +0 -0
  14. {makea_cli-0.2.8 → makea_cli-0.2.9}/.claude/skills/makea-cli-setup/SKILL.md +0 -0
  15. {makea_cli-0.2.8 → makea_cli-0.2.9}/.claude/skills/payment-revenue-report/SKILL.md +0 -0
  16. {makea_cli-0.2.8 → makea_cli-0.2.9}/.claude/skills/supplier-user-id-migration/SKILL.md +0 -0
  17. {makea_cli-0.2.8 → makea_cli-0.2.9}/.gitignore +0 -0
  18. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea-collection-upload/SKILL.md +0 -0
  19. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea-collection-upload/scripts/create_products.py +0 -0
  20. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/__main__.py +0 -0
  21. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/api_client.py +0 -0
  22. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/auth_pkce.py +0 -0
  23. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/broker.py +0 -0
  24. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/__init__.py +0 -0
  25. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/_util.py +0 -0
  26. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/analytics/__init__.py +0 -0
  27. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/auth/__init__.py +0 -0
  28. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/auth/cmd.py +0 -0
  29. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/brand/__init__.py +0 -0
  30. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/brand/cmd.py +0 -0
  31. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/designer/__init__.py +0 -0
  32. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/designer/cmd.py +0 -0
  33. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/directory/__init__.py +0 -0
  34. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/directory/cmd.py +0 -0
  35. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/document/__init__.py +0 -0
  36. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/document/cmd.py +0 -0
  37. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/email/__init__.py +0 -0
  38. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/email/cmd.py +0 -0
  39. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/factory/__init__.py +0 -0
  40. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/factory/cmd.py +0 -0
  41. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/library/__init__.py +0 -0
  42. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/library/cmd.py +0 -0
  43. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/metrics/__init__.py +0 -0
  44. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/metrics/cmd.py +0 -0
  45. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/orders/__init__.py +0 -0
  46. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/orders/cmd.py +0 -0
  47. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/product/__init__.py +0 -0
  48. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/product/cmd.py +0 -0
  49. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/production/__init__.py +0 -0
  50. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/production/cmd.py +0 -0
  51. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/production/pricing_spec.py +0 -0
  52. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/supplier/__init__.py +0 -0
  53. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/commands/supplier/cmd.py +0 -0
  54. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/errors.py +0 -0
  55. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/identity.py +0 -0
  56. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/main.py +0 -0
  57. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/output.py +0 -0
  58. {makea_cli-0.2.8 → makea_cli-0.2.9}/makea_cli/registry.py +0 -0
  59. {makea_cli-0.2.8 → makea_cli-0.2.9}/npm/makea-cli/README.md +0 -0
  60. {makea_cli-0.2.8 → makea_cli-0.2.9}/npm/makea-cli/makea-cli.mjs +0 -0
  61. {makea_cli-0.2.8 → makea_cli-0.2.9}/npm/makea-cli/package.json +0 -0
  62. {makea_cli-0.2.8 → makea_cli-0.2.9}/tests/test_broker.py +0 -0
  63. {makea_cli-0.2.8 → makea_cli-0.2.9}/tests/test_output_contract.py +0 -0
  64. {makea_cli-0.2.8 → makea_cli-0.2.9}/tests/test_persona_commands.py +0 -0
  65. {makea_cli-0.2.8 → makea_cli-0.2.9}/tests/test_registry.py +0 -0
  66. {makea_cli-0.2.8 → makea_cli-0.2.9}/uv.lock +0 -0
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.9
4
+
5
+ - The analytics commands (`admin get analytics-query`, `active-users`,
6
+ `top-features`, `top-clicks`, `feature-usage`) no longer need a PostHog key.
7
+ They go through the backend's `POST /admin/analytics/query`, which holds the
8
+ key, so an admin login is enough. A local `POSTHOG_API_KEY` +
9
+ `POSTHOG_PROJECT_ID` still switches them to querying PostHog directly.
10
+ Needs the backend with that endpoint.
11
+
3
12
  ## 0.2.8
4
13
 
5
14
  - `supplier get pack <quote_request_id> --readable`: the pack as a person reads
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: makea-cli
3
- Version: 0.2.8
3
+ Version: 0.2.9
4
4
  Summary: Makea admin CLI (browser login + Makea admin HTTP API)
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: click<9,>=8.1
@@ -98,18 +98,18 @@ exit code:`0` 成功 · `2` 用法错 · `3` 未登录或身份与 persona 不
98
98
  | `makea-cli admin download document` | read | `GET /admin/document/download` | save a document file (document id + designer user_id). | `download-document` |
99
99
  | `makea-cli admin download product-document` | read | `GET /admin/document/download` | Resolve product via admin list product-order payload, then GET /admin/document/download. | `download-product-document` |
100
100
  | `makea-cli admin generate pricing-groups` | write(ask) | `POST /admin/production_orders/{id}/details/update` | Lay a production order's variants into pricing groups along one axis (--by style \| colour \| variant \| all) with th… | `production-groups-generate` |
101
- | `makea-cli admin get active-users` | read | `posthog` | Distinct active users per day over the last N days (DAU series). | `analytics-active-users` |
102
- | `makea-cli admin get analytics-query` | read | `posthog` | Run an arbitrary HogQL query (escape hatch). Example: analytics-query "SELECT count() FROM events" | `analytics-query` |
101
+ | `makea-cli admin get active-users` | read | `POST /admin/analytics/query` | Distinct active users per day over the last N days (DAU series). | `analytics-active-users` |
102
+ | `makea-cli admin get analytics-query` | read | `POST /admin/analytics/query` | Run an arbitrary HogQL query (escape hatch). Example: analytics-query "SELECT count() FROM events" | `analytics-query` |
103
103
  | `makea-cli admin get currency-conversion` | read | `currency-api` | avoids repeated lookups. | `convert-currency` |
104
- | `makea-cli admin get feature-usage` | read | `posthog` | How many distinct users used a feature recently, plus event volume. Matches $pageview path and feature_time_spent eve… | `analytics-feature-usage` |
104
+ | `makea-cli admin get feature-usage` | read | `POST /admin/analytics/query` | How many distinct users used a feature recently, plus event volume. Matches $pageview path and feature_time_spent eve… | `analytics-feature-usage` |
105
105
  | `makea-cli admin get library-schema` | read | `GET /admin/library_components/schema` | the tech-pack library taxonomy: sections and their library-role field keys (run this before create/update). | `library-schema` |
106
106
  | `makea-cli admin get production-pricing` | read | `GET /admin/production_orders/{id}/details` | show a production order's price tiers, MOQ, sizes/colours, pricing groups and cart coverage. | `production-pricing-show` |
107
107
  | `makea-cli admin get quote-request` | read | `GET /admin/quote_requests/{quote_request_id}` | one quote request in full. | — |
108
108
  | `makea-cli admin get revenue-metrics` | read | `GET /admin/business-metrics/cumulative-payment-and-platform-revenue` | platform-wide payment received and platform revenue (service fee + transaction fee) bucketed over a date range. | `get-cumulative-payment-and-platform-revenue` |
109
109
  | `makea-cli admin get supplier-profile-schema` | read | `GET /admin/supplier/profile/schema` | supplier profile v2 schema (section/field taxonomy: sections, fields, options, required rules). | `get-supplier-profile-schema` |
110
110
  | `makea-cli admin get tech-spec-extraction` | read | `GET /admin/products/{id}/extract-tech-specifications` | AI-generate specs (not saved). | `extract-ai-tech-spec` |
111
- | `makea-cli admin get top-clicks` | read | `posthog` | which buttons/elements get clicked most. | `analytics-top-clicks` |
112
- | `makea-cli admin get top-features` | read | `posthog` | a quick map of which features get used most. | `analytics-top-features` |
111
+ | `makea-cli admin get top-clicks` | read | `POST /admin/analytics/query` | which buttons/elements get clicked most. | `analytics-top-clicks` |
112
+ | `makea-cli admin get top-features` | read | `POST /admin/analytics/query` | a quick map of which features get used most. | `analytics-top-features` |
113
113
  | `makea-cli admin list library-element` | read | `GET /admin/designer/{user_id}/library_components` | list a designer's tech-pack library (org-fanned). Optional --section scopes to one type. | `library-list` |
114
114
  | `makea-cli admin list misc-payment` | read | `GET /admin/products/{id}/misc-payments` | misc payments for one product (admin). | `list-misc-payments-by-product` |
115
115
  | `makea-cli admin list product-order` | read | `GET /admin/designer/get_all_product_orders` | designer product (SKU) list. For 大货 use admin list production-order or admin list production-order --product. | `list-product-orders` |
@@ -86,18 +86,18 @@ exit code:`0` 成功 · `2` 用法错 · `3` 未登录或身份与 persona 不
86
86
  | `makea-cli admin download document` | read | `GET /admin/document/download` | save a document file (document id + designer user_id). | `download-document` |
87
87
  | `makea-cli admin download product-document` | read | `GET /admin/document/download` | Resolve product via admin list product-order payload, then GET /admin/document/download. | `download-product-document` |
88
88
  | `makea-cli admin generate pricing-groups` | write(ask) | `POST /admin/production_orders/{id}/details/update` | Lay a production order's variants into pricing groups along one axis (--by style \| colour \| variant \| all) with th… | `production-groups-generate` |
89
- | `makea-cli admin get active-users` | read | `posthog` | Distinct active users per day over the last N days (DAU series). | `analytics-active-users` |
90
- | `makea-cli admin get analytics-query` | read | `posthog` | Run an arbitrary HogQL query (escape hatch). Example: analytics-query "SELECT count() FROM events" | `analytics-query` |
89
+ | `makea-cli admin get active-users` | read | `POST /admin/analytics/query` | Distinct active users per day over the last N days (DAU series). | `analytics-active-users` |
90
+ | `makea-cli admin get analytics-query` | read | `POST /admin/analytics/query` | Run an arbitrary HogQL query (escape hatch). Example: analytics-query "SELECT count() FROM events" | `analytics-query` |
91
91
  | `makea-cli admin get currency-conversion` | read | `currency-api` | avoids repeated lookups. | `convert-currency` |
92
- | `makea-cli admin get feature-usage` | read | `posthog` | How many distinct users used a feature recently, plus event volume. Matches $pageview path and feature_time_spent eve… | `analytics-feature-usage` |
92
+ | `makea-cli admin get feature-usage` | read | `POST /admin/analytics/query` | How many distinct users used a feature recently, plus event volume. Matches $pageview path and feature_time_spent eve… | `analytics-feature-usage` |
93
93
  | `makea-cli admin get library-schema` | read | `GET /admin/library_components/schema` | the tech-pack library taxonomy: sections and their library-role field keys (run this before create/update). | `library-schema` |
94
94
  | `makea-cli admin get production-pricing` | read | `GET /admin/production_orders/{id}/details` | show a production order's price tiers, MOQ, sizes/colours, pricing groups and cart coverage. | `production-pricing-show` |
95
95
  | `makea-cli admin get quote-request` | read | `GET /admin/quote_requests/{quote_request_id}` | one quote request in full. | — |
96
96
  | `makea-cli admin get revenue-metrics` | read | `GET /admin/business-metrics/cumulative-payment-and-platform-revenue` | platform-wide payment received and platform revenue (service fee + transaction fee) bucketed over a date range. | `get-cumulative-payment-and-platform-revenue` |
97
97
  | `makea-cli admin get supplier-profile-schema` | read | `GET /admin/supplier/profile/schema` | supplier profile v2 schema (section/field taxonomy: sections, fields, options, required rules). | `get-supplier-profile-schema` |
98
98
  | `makea-cli admin get tech-spec-extraction` | read | `GET /admin/products/{id}/extract-tech-specifications` | AI-generate specs (not saved). | `extract-ai-tech-spec` |
99
- | `makea-cli admin get top-clicks` | read | `posthog` | which buttons/elements get clicked most. | `analytics-top-clicks` |
100
- | `makea-cli admin get top-features` | read | `posthog` | a quick map of which features get used most. | `analytics-top-features` |
99
+ | `makea-cli admin get top-clicks` | read | `POST /admin/analytics/query` | which buttons/elements get clicked most. | `analytics-top-clicks` |
100
+ | `makea-cli admin get top-features` | read | `POST /admin/analytics/query` | a quick map of which features get used most. | `analytics-top-features` |
101
101
  | `makea-cli admin list library-element` | read | `GET /admin/designer/{user_id}/library_components` | list a designer's tech-pack library (org-fanned). Optional --section scopes to one type. | `library-list` |
102
102
  | `makea-cli admin list misc-payment` | read | `GET /admin/products/{id}/misc-payments` | misc payments for one product (admin). | `list-misc-payments-by-product` |
103
103
  | `makea-cli admin list product-order` | read | `GET /admin/designer/get_all_product_orders` | designer product (SKU) list. For 大货 use admin list production-order or admin list production-order --product. | `list-product-orders` |
@@ -0,0 +1 @@
1
+ __version__ = "0.2.9"
@@ -4,7 +4,8 @@ Behavioural metrics (feature usage, clicks, page/feature time, active users)
4
4
  backed by PostHog HogQL. Distinct from the `metrics` group, which reads the
5
5
  Makea backend for financial figures.
6
6
 
7
- Requires env: POSTHOG_API_KEY, POSTHOG_PROJECT_ID (see config.py).
7
+ Goes through the Makea backend by default (admin login is enough); a local
8
+ POSTHOG_API_KEY + POSTHOG_PROJECT_ID switches to querying PostHog directly.
8
9
  """
9
10
 
10
11
  from __future__ import annotations
@@ -32,8 +33,7 @@ def register(app: typer.Typer) -> None:
32
33
  "get",
33
34
  "feature-usage",
34
35
  legacy="analytics-feature-usage",
35
- api="POSTHOG hogql",
36
- external="posthog",
36
+ api="POST /admin/analytics/query",
37
37
  help=(
38
38
  "How many distinct users used a feature recently, plus event volume. "
39
39
  "Matches $pageview path and feature_time_spent events. "
@@ -82,8 +82,7 @@ def register(app: typer.Typer) -> None:
82
82
  "get",
83
83
  "top-features",
84
84
  legacy="analytics-top-features",
85
- api="POSTHOG hogql",
86
- external="posthog",
85
+ api="POST /admin/analytics/query",
87
86
  help=(
88
87
  "Rank pageview paths by distinct users over the last N days — a quick "
89
88
  "map of which features get used most."
@@ -118,8 +117,7 @@ def register(app: typer.Typer) -> None:
118
117
  "get",
119
118
  "top-clicks",
120
119
  legacy="analytics-top-clicks",
121
- api="POSTHOG hogql",
122
- external="posthog",
120
+ api="POST /admin/analytics/query",
123
121
  help=(
124
122
  "Rank autocaptured click targets by count over the last N days — "
125
123
  "which buttons/elements get clicked most."
@@ -156,8 +154,7 @@ def register(app: typer.Typer) -> None:
156
154
  "get",
157
155
  "active-users",
158
156
  legacy="analytics-active-users",
159
- api="POSTHOG hogql",
160
- external="posthog",
157
+ api="POST /admin/analytics/query",
161
158
  help="Distinct active users per day over the last N days (DAU series).",
162
159
  )
163
160
  def active_users(
@@ -184,8 +181,7 @@ def register(app: typer.Typer) -> None:
184
181
  "get",
185
182
  "analytics-query",
186
183
  legacy="analytics-query",
187
- api="POSTHOG hogql",
188
- external="posthog",
184
+ api="POST /admin/analytics/query",
189
185
  help=(
190
186
  "Run an arbitrary HogQL query (escape hatch). "
191
187
  'Example: analytics-query "SELECT count() FROM events"'
@@ -48,8 +48,9 @@ def redirect_uri() -> str:
48
48
 
49
49
  # PostHog product-analytics (behavioural metrics: clicks, page/feature time,
50
50
  # funnels, retention). Distinct from the financial `metrics` command group,
51
- # which reads the Makea backend. Configured purely via environment so no key is
52
- # ever committed:
51
+ # which reads the Makea backend. Optional: without these the analytics commands
52
+ # go through the backend's /admin/analytics/query, which holds the key. Set them
53
+ # only to query PostHog directly:
53
54
  # POSTHOG_API_KEY personal API key (phx_...), read-only is enough
54
55
  # POSTHOG_PROJECT_ID numeric project id
55
56
  # POSTHOG_HOST defaults to the EU cloud query host
@@ -1,10 +1,11 @@
1
1
  """Minimal PostHog query client (HogQL over the Query API).
2
2
 
3
- This talks to PostHog's cloud directly, not the Makea backend, so it has its
4
- own auth (a personal API key from env) rather than the Cognito token used by
5
- api_client.
3
+ Two routes to the same query:
6
4
 
7
- Docs: POST {host}/api/projects/{project_id}/query/ with a HogQLQuery body.
5
+ - By default it goes through the Makea backend (POST /admin/analytics/query),
6
+ which holds the PostHog key. An admin's `makea-cli login` is all it takes.
7
+ - If POSTHOG_API_KEY and POSTHOG_PROJECT_ID are set locally, it talks to
8
+ PostHog directly instead (POST {host}/api/projects/{project_id}/query/).
8
9
  """
9
10
 
10
11
  from __future__ import annotations
@@ -14,33 +15,21 @@ from typing import Any
14
15
 
15
16
  import httpx
16
17
 
18
+ from makea_cli import api_client
17
19
  from makea_cli.config import posthog_api_key, posthog_host, posthog_project_id
18
20
 
19
21
 
20
- class PostHogNotConfigured(RuntimeError):
21
- """Raised when the required PostHog env vars are missing."""
22
-
23
-
24
- def _require_config() -> tuple[str, str, str]:
25
- key = posthog_api_key()
26
- project = posthog_project_id()
27
- if not key or not project:
28
- raise PostHogNotConfigured(
29
- "PostHog is not configured. Set POSTHOG_API_KEY (personal API key, "
30
- "phx_...) and POSTHOG_PROJECT_ID, optionally POSTHOG_HOST "
31
- "(default https://eu.posthog.com)."
32
- )
33
- return posthog_host(), project, key
34
-
35
-
36
- def run_hogql(query: str, *, timeout: float = 60.0) -> dict[str, Any]:
22
+ def run_hogql(query: str, *, timeout: float = 90.0) -> dict[str, Any]:
37
23
  """Run a HogQL query and return the raw result.
38
24
 
39
25
  The result has ``columns`` (list of names) and ``results`` (list of rows);
40
26
  callers usually want to zip them into dicts for display.
41
27
  """
42
- host, project, key = _require_config()
43
- url = f"{host}/api/projects/{project}/query/"
28
+ key = posthog_api_key()
29
+ project = posthog_project_id()
30
+ if not key or not project:
31
+ return api_client.post_json("/admin/analytics/query", {"query": query}, timeout=timeout)
32
+ url = f"{posthog_host()}/api/projects/{project}/query/"
44
33
  headers = {
45
34
  "Authorization": f"Bearer {key}",
46
35
  "Content-Type": "application/json",
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "makea-cli"
7
- version = "0.2.8"
7
+ version = "0.2.9"
8
8
  description = "Makea admin CLI (browser login + Makea admin HTTP API)"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -913,8 +913,8 @@
913
913
  "verb": "get",
914
914
  "noun": "active-users",
915
915
  "access": "read",
916
- "api": "POSTHOG hogql",
917
- "external": "posthog",
916
+ "api": "POST /admin/analytics/query",
917
+ "external": null,
918
918
  "side_effects": [],
919
919
  "approval": "auto",
920
920
  "reversible": null,
@@ -947,8 +947,8 @@
947
947
  "verb": "get",
948
948
  "noun": "analytics-query",
949
949
  "access": "read",
950
- "api": "POSTHOG hogql",
951
- "external": "posthog",
950
+ "api": "POST /admin/analytics/query",
951
+ "external": null,
952
952
  "side_effects": [],
953
953
  "approval": "auto",
954
954
  "reversible": null,
@@ -1040,8 +1040,8 @@
1040
1040
  "verb": "get",
1041
1041
  "noun": "feature-usage",
1042
1042
  "access": "read",
1043
- "api": "POSTHOG hogql",
1044
- "external": "posthog",
1043
+ "api": "POST /admin/analytics/query",
1044
+ "external": null,
1045
1045
  "side_effects": [],
1046
1046
  "approval": "auto",
1047
1047
  "reversible": null,
@@ -1347,8 +1347,8 @@
1347
1347
  "verb": "get",
1348
1348
  "noun": "top-clicks",
1349
1349
  "access": "read",
1350
- "api": "POSTHOG hogql",
1351
- "external": "posthog",
1350
+ "api": "POST /admin/analytics/query",
1351
+ "external": null,
1352
1352
  "side_effects": [],
1353
1353
  "approval": "auto",
1354
1354
  "reversible": null,
@@ -1394,8 +1394,8 @@
1394
1394
  "verb": "get",
1395
1395
  "noun": "top-features",
1396
1396
  "access": "read",
1397
- "api": "POSTHOG hogql",
1398
- "external": "posthog",
1397
+ "api": "POST /admin/analytics/query",
1398
+ "external": null,
1399
1399
  "side_effects": [],
1400
1400
  "approval": "auto",
1401
1401
  "reversible": null,
@@ -1 +0,0 @@
1
- __version__ = "0.2.8"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes