@paradigma-inc/flywheel 0.1.88 → 0.1.89
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/package.json +1 -1
- package/src/runtime/vendor/flywheel-cli-dist/generatedProductTelemetryContract.d.ts +10 -0
- package/src/runtime/vendor/flywheel-cli-dist/generatedProductTelemetryContract.js +55 -0
- package/src/runtime/vendor/flywheel-cli-dist/generatedProductTelemetryContract.js.map +1 -0
- package/src/runtime/vendor/manifest.json +4 -1
package/package.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const PRODUCT_TELEMETRY_CONTRACT_VERSION: "2026-05-05.2";
|
|
2
|
+
export declare const PRODUCT_TELEMETRY_EVENT_NAMES: readonly ["credits_checkout_started", "message_sent", "node_created", "node_link_disabled", "node_link_enabled", "node_public_disabled", "node_public_enabled", "subscription_checkout_started", "user_session_started", "web_app_opened", "web_artifact_payload_batch", "web_settings_opened"];
|
|
3
|
+
export type ProductTelemetryEventName = (typeof PRODUCT_TELEMETRY_EVENT_NAMES)[number];
|
|
4
|
+
export declare const PRODUCT_TELEMETRY_SURFACES: readonly ["api", "api_client", "cli", "mcp", "server", "webui"];
|
|
5
|
+
export type ProductTelemetrySurface = (typeof PRODUCT_TELEMETRY_SURFACES)[number];
|
|
6
|
+
export declare const WEBUI_PRODUCT_TELEMETRY_EVENT_NAMES: readonly ["web_app_opened", "web_artifact_payload_batch", "web_settings_opened"];
|
|
7
|
+
export type WebuiProductTelemetryEventName = (typeof WEBUI_PRODUCT_TELEMETRY_EVENT_NAMES)[number];
|
|
8
|
+
export declare const WEBUI_NODE_WORKFLOW_FAMILIES: readonly ["artifacts", "assets", "bulk_graph_actions", "canvas", "commit", "context_menu", "graph_layout", "hooks", "lease", "minimap", "node_focus", "node_hydration", "node_open", "node_selection", "node_view_editing", "partial_graph_preview", "radial_view", "share_policy", "staged_edit", "tags", "timeline_layout"];
|
|
9
|
+
export type WebuiNodeWorkflowFamily = (typeof WEBUI_NODE_WORKFLOW_FAMILIES)[number];
|
|
10
|
+
export declare const PRODUCT_TELEMETRY_METADATA_SCHEMAS: Record<string, unknown>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// Generated by project/flywheel-server/scripts/sync_product_telemetry_contract.py.
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
export const PRODUCT_TELEMETRY_CONTRACT_VERSION = "2026-05-05.2";
|
|
4
|
+
export const PRODUCT_TELEMETRY_EVENT_NAMES = [
|
|
5
|
+
"credits_checkout_started",
|
|
6
|
+
"message_sent",
|
|
7
|
+
"node_created",
|
|
8
|
+
"node_link_disabled",
|
|
9
|
+
"node_link_enabled",
|
|
10
|
+
"node_public_disabled",
|
|
11
|
+
"node_public_enabled",
|
|
12
|
+
"subscription_checkout_started",
|
|
13
|
+
"user_session_started",
|
|
14
|
+
"web_app_opened",
|
|
15
|
+
"web_artifact_payload_batch",
|
|
16
|
+
"web_settings_opened",
|
|
17
|
+
];
|
|
18
|
+
export const PRODUCT_TELEMETRY_SURFACES = [
|
|
19
|
+
"api",
|
|
20
|
+
"api_client",
|
|
21
|
+
"cli",
|
|
22
|
+
"mcp",
|
|
23
|
+
"server",
|
|
24
|
+
"webui",
|
|
25
|
+
];
|
|
26
|
+
export const WEBUI_PRODUCT_TELEMETRY_EVENT_NAMES = [
|
|
27
|
+
"web_app_opened",
|
|
28
|
+
"web_artifact_payload_batch",
|
|
29
|
+
"web_settings_opened",
|
|
30
|
+
];
|
|
31
|
+
export const WEBUI_NODE_WORKFLOW_FAMILIES = [
|
|
32
|
+
"artifacts",
|
|
33
|
+
"assets",
|
|
34
|
+
"bulk_graph_actions",
|
|
35
|
+
"canvas",
|
|
36
|
+
"commit",
|
|
37
|
+
"context_menu",
|
|
38
|
+
"graph_layout",
|
|
39
|
+
"hooks",
|
|
40
|
+
"lease",
|
|
41
|
+
"minimap",
|
|
42
|
+
"node_focus",
|
|
43
|
+
"node_hydration",
|
|
44
|
+
"node_open",
|
|
45
|
+
"node_selection",
|
|
46
|
+
"node_view_editing",
|
|
47
|
+
"partial_graph_preview",
|
|
48
|
+
"radial_view",
|
|
49
|
+
"share_policy",
|
|
50
|
+
"staged_edit",
|
|
51
|
+
"tags",
|
|
52
|
+
"timeline_layout",
|
|
53
|
+
];
|
|
54
|
+
export const PRODUCT_TELEMETRY_METADATA_SCHEMAS = JSON.parse('{"credits_checkout_started": {"$defs": {"BillingInterval": {"enum": ["monthly", "annual"], "title": "BillingInterval", "type": "string"}}, "additionalProperties": false, "properties": {"amount_cents": {"anyOf": [{"maximum": 10000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Amount Cents"}, "billing_interval": {"anyOf": [{"$ref": "#/$defs/BillingInterval"}, {"type": "null"}], "default": null}, "session_id": {"maxLength": 128, "minLength": 1, "title": "Session Id", "type": "string"}}, "required": ["session_id"], "title": "CheckoutStartedMetadata", "type": "object"}, "message_sent": {"$defs": {"Outcome": {"enum": ["success", "failure", "cancelled"], "title": "Outcome", "type": "string"}, "RouteFamily": {"enum": ["analytics", "auth", "credits", "nodes", "settings"], "title": "RouteFamily", "type": "string"}}, "additionalProperties": false, "properties": {"outcome": {"anyOf": [{"$ref": "#/$defs/Outcome"}, {"type": "null"}], "default": null}, "route_family": {"anyOf": [{"$ref": "#/$defs/RouteFamily"}, {"type": "null"}], "default": null}}, "title": "GenericProductTelemetryMetadata", "type": "object"}, "node_created": {"$defs": {"Outcome": {"enum": ["success", "failure", "cancelled"], "title": "Outcome", "type": "string"}, "RouteFamily": {"enum": ["analytics", "auth", "credits", "nodes", "settings"], "title": "RouteFamily", "type": "string"}}, "additionalProperties": false, "properties": {"outcome": {"anyOf": [{"$ref": "#/$defs/Outcome"}, {"type": "null"}], "default": null}, "route_family": {"anyOf": [{"$ref": "#/$defs/RouteFamily"}, {"type": "null"}], "default": null}}, "title": "GenericProductTelemetryMetadata", "type": "object"}, "node_link_disabled": {"$defs": {"Outcome": {"enum": ["success", "failure", "cancelled"], "title": "Outcome", "type": "string"}, "RouteFamily": {"enum": ["analytics", "auth", "credits", "nodes", "settings"], "title": "RouteFamily", "type": "string"}}, "additionalProperties": false, "properties": {"outcome": {"anyOf": [{"$ref": "#/$defs/Outcome"}, {"type": "null"}], "default": null}, "route_family": {"anyOf": [{"$ref": "#/$defs/RouteFamily"}, {"type": "null"}], "default": null}}, "title": "GenericProductTelemetryMetadata", "type": "object"}, "node_link_enabled": {"$defs": {"Outcome": {"enum": ["success", "failure", "cancelled"], "title": "Outcome", "type": "string"}, "RouteFamily": {"enum": ["analytics", "auth", "credits", "nodes", "settings"], "title": "RouteFamily", "type": "string"}}, "additionalProperties": false, "properties": {"outcome": {"anyOf": [{"$ref": "#/$defs/Outcome"}, {"type": "null"}], "default": null}, "route_family": {"anyOf": [{"$ref": "#/$defs/RouteFamily"}, {"type": "null"}], "default": null}}, "title": "GenericProductTelemetryMetadata", "type": "object"}, "node_public_disabled": {"$defs": {"Outcome": {"enum": ["success", "failure", "cancelled"], "title": "Outcome", "type": "string"}, "RouteFamily": {"enum": ["analytics", "auth", "credits", "nodes", "settings"], "title": "RouteFamily", "type": "string"}}, "additionalProperties": false, "properties": {"outcome": {"anyOf": [{"$ref": "#/$defs/Outcome"}, {"type": "null"}], "default": null}, "route_family": {"anyOf": [{"$ref": "#/$defs/RouteFamily"}, {"type": "null"}], "default": null}}, "title": "GenericProductTelemetryMetadata", "type": "object"}, "node_public_enabled": {"$defs": {"Outcome": {"enum": ["success", "failure", "cancelled"], "title": "Outcome", "type": "string"}, "RouteFamily": {"enum": ["analytics", "auth", "credits", "nodes", "settings"], "title": "RouteFamily", "type": "string"}}, "additionalProperties": false, "properties": {"outcome": {"anyOf": [{"$ref": "#/$defs/Outcome"}, {"type": "null"}], "default": null}, "route_family": {"anyOf": [{"$ref": "#/$defs/RouteFamily"}, {"type": "null"}], "default": null}}, "title": "GenericProductTelemetryMetadata", "type": "object"}, "subscription_checkout_started": {"$defs": {"BillingInterval": {"enum": ["monthly", "annual"], "title": "BillingInterval", "type": "string"}}, "additionalProperties": false, "properties": {"amount_cents": {"anyOf": [{"maximum": 10000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Amount Cents"}, "billing_interval": {"anyOf": [{"$ref": "#/$defs/BillingInterval"}, {"type": "null"}], "default": null}, "session_id": {"maxLength": 128, "minLength": 1, "title": "Session Id", "type": "string"}}, "required": ["session_id"], "title": "CheckoutStartedMetadata", "type": "object"}, "user_session_started": {"$defs": {"Outcome": {"enum": ["success", "failure", "cancelled"], "title": "Outcome", "type": "string"}, "RouteFamily": {"enum": ["analytics", "auth", "credits", "nodes", "settings"], "title": "RouteFamily", "type": "string"}}, "additionalProperties": false, "properties": {"outcome": {"anyOf": [{"$ref": "#/$defs/Outcome"}, {"type": "null"}], "default": null}, "route_family": {"anyOf": [{"$ref": "#/$defs/RouteFamily"}, {"type": "null"}], "default": null}}, "title": "GenericProductTelemetryMetadata", "type": "object"}, "web_app_opened": {"$defs": {"RouteFamily": {"enum": ["analytics", "auth", "credits", "nodes", "settings"], "title": "RouteFamily", "type": "string"}}, "additionalProperties": false, "properties": {"route_family": {"anyOf": [{"$ref": "#/$defs/RouteFamily"}, {"type": "null"}], "default": null}, "surface": {"anyOf": [{"const": "web", "type": "string"}, {"type": "null"}], "default": null, "title": "Surface"}}, "title": "WebAppOpenedMetadata", "type": "object"}, "web_artifact_payload_batch": {"$defs": {"PerNodeArtifactPayloadStats": {"additionalProperties": false, "properties": {"failures": {"maximum": 100000, "minimum": 0, "title": "Failures", "type": "integer"}, "loads": {"maximum": 100000, "minimum": 0, "title": "Loads", "type": "integer"}, "node_id": {"maxLength": 128, "minLength": 1, "title": "Node Id", "type": "string"}, "rate_limited": {"maximum": 100000, "minimum": 0, "title": "Rate Limited", "type": "integer"}}, "required": ["node_id", "loads", "failures", "rate_limited"], "title": "PerNodeArtifactPayloadStats", "type": "object"}, "SourceKind": {"enum": ["signed_url", "blob_proxy"], "title": "SourceKind", "type": "string"}, "StatusClass": {"enum": ["1xx", "2xx", "3xx", "4xx", "5xx", "unknown"], "title": "StatusClass", "type": "string"}}, "additionalProperties": false, "properties": {"cache_hits": {"anyOf": [{"maximum": 1000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Cache Hits"}, "finished_loads": {"anyOf": [{"maximum": 1000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Finished Loads"}, "inflight_dedupe_hits": {"anyOf": [{"maximum": 1000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Inflight Dedupe Hits"}, "load_avg_ms": {"anyOf": [{"maximum": 86400000, "minimum": 0, "type": "number"}, {"type": "null"}], "default": null, "title": "Load Avg Ms"}, "load_max_ms": {"anyOf": [{"maximum": 86400000, "minimum": 0, "type": "number"}, {"type": "null"}], "default": null, "title": "Load Max Ms"}, "loads_429": {"default": 0, "maximum": 1000000, "minimum": 0, "title": "Loads 429", "type": "integer"}, "loads_completed": {"anyOf": [{"maximum": 1000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Loads Completed"}, "loads_failed": {"default": 0, "maximum": 1000000, "minimum": 0, "title": "Loads Failed", "type": "integer"}, "loads_started": {"maximum": 1000000, "minimum": 0, "title": "Loads Started", "type": "integer"}, "per_node": {"anyOf": [{"items": {"$ref": "#/$defs/PerNodeArtifactPayloadStats"}, "maxItems": 8, "type": "array"}, {"type": "null"}], "default": null, "title": "Per Node"}, "queue_wait_avg_ms": {"anyOf": [{"maximum": 86400000, "minimum": 0, "type": "number"}, {"type": "null"}], "default": null, "title": "Queue Wait Avg Ms"}, "queue_wait_max_ms": {"anyOf": [{"maximum": 86400000, "minimum": 0, "type": "number"}, {"type": "null"}], "default": null, "title": "Queue Wait Max Ms"}, "retry_count_max": {"anyOf": [{"maximum": 10000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Retry Count Max"}, "retry_count_total": {"anyOf": [{"maximum": 1000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Retry Count Total"}, "source_blob_proxy_loads": {"anyOf": [{"maximum": 1000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Source Blob Proxy Loads"}, "source_kind_counts": {"anyOf": [{"additionalProperties": {"maximum": 1000000, "minimum": 0, "type": "integer"}, "propertyNames": {"$ref": "#/$defs/SourceKind"}, "type": "object"}, {"type": "null"}], "default": null, "title": "Source Kind Counts"}, "source_signed_url_loads": {"anyOf": [{"maximum": 1000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Source Signed Url Loads"}, "status_2xx_loads": {"anyOf": [{"maximum": 1000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Status 2Xx Loads"}, "status_4xx_loads": {"anyOf": [{"maximum": 1000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Status 4Xx Loads"}, "status_5xx_loads": {"anyOf": [{"maximum": 1000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Status 5Xx Loads"}, "status_class_counts": {"anyOf": [{"additionalProperties": {"maximum": 1000000, "minimum": 0, "type": "integer"}, "propertyNames": {"$ref": "#/$defs/StatusClass"}, "type": "object"}, {"type": "null"}], "default": null, "title": "Status Class Counts"}, "status_unknown_loads": {"anyOf": [{"maximum": 1000000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Status Unknown Loads"}, "window_ms": {"anyOf": [{"maximum": 86400000, "minimum": 0, "type": "integer"}, {"type": "null"}], "default": null, "title": "Window Ms"}}, "required": ["loads_started"], "title": "ArtifactPayloadBatchMetadata", "type": "object"}, "web_settings_opened": {"$defs": {"SettingsSurface": {"enum": ["profile_menu"], "title": "SettingsSurface", "type": "string"}}, "additionalProperties": false, "properties": {"surface": {"$ref": "#/$defs/SettingsSurface"}}, "required": ["surface"], "title": "WebSettingsOpenedMetadata", "type": "object"}}');
|
|
55
|
+
//# sourceMappingURL=generatedProductTelemetryContract.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generatedProductTelemetryContract.js","sourceRoot":"","sources":["../src/generatedProductTelemetryContract.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,uBAAuB;AAEvB,MAAM,CAAC,MAAM,kCAAkC,GAAG,cAAuB,CAAC;AAE1E,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,0BAA0B;IAC1B,cAAc;IACd,cAAc;IACd,oBAAoB;IACpB,mBAAmB;IACnB,sBAAsB;IACtB,qBAAqB;IACrB,+BAA+B;IAC/B,sBAAsB;IACtB,gBAAgB;IAChB,4BAA4B;IAC5B,qBAAqB;CACb,CAAC;AAIX,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,KAAK;IACL,YAAY;IACZ,KAAK;IACL,KAAK;IACL,QAAQ;IACR,OAAO;CACC,CAAC;AAIX,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,gBAAgB;IAChB,4BAA4B;IAC5B,qBAAqB;CACb,CAAC;AAIX,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,WAAW;IACX,QAAQ;IACR,oBAAoB;IACpB,QAAQ;IACR,QAAQ;IACR,cAAc;IACd,cAAc;IACd,OAAO;IACP,OAAO;IACP,SAAS;IACT,YAAY;IACZ,gBAAgB;IAChB,WAAW;IACX,gBAAgB;IAChB,mBAAmB;IACnB,uBAAuB;IACvB,aAAa;IACb,cAAc;IACd,aAAa;IACb,MAAM;IACN,iBAAiB;CACT,CAAC;AAIX,MAAM,CAAC,MAAM,kCAAkC,GAC7C,IAAI,CAAC,KAAK,CACR,6kUAA6kU,CAC9kU,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sourceCommit": "
|
|
2
|
+
"sourceCommit": "2888f159058cbdeeae2c0421e975e94074f3c8b6",
|
|
3
3
|
"files": [
|
|
4
4
|
"auth/active-key-id.d.ts",
|
|
5
5
|
"auth/active-key-id.js",
|
|
@@ -547,6 +547,9 @@
|
|
|
547
547
|
"exit-codes.d.ts",
|
|
548
548
|
"exit-codes.js",
|
|
549
549
|
"exit-codes.js.map",
|
|
550
|
+
"generatedProductTelemetryContract.d.ts",
|
|
551
|
+
"generatedProductTelemetryContract.js",
|
|
552
|
+
"generatedProductTelemetryContract.js.map",
|
|
550
553
|
"grammar/globals.d.ts",
|
|
551
554
|
"grammar/globals.js",
|
|
552
555
|
"grammar/globals.js.map",
|