@oxy-hq/sdk 2.12.0 → 2.16.0

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 (47) hide show
  1. package/README.md +67 -0
  2. package/dist/{function-context-D8eyZuw_.d.cts → function-context-BNpL5bFb.d.cts} +223 -20
  3. package/dist/function-context-BNpL5bFb.d.cts.map +1 -0
  4. package/dist/{function-context-D8eyZuw_.d.mts → function-context-BNpL5bFb.d.mts} +223 -20
  5. package/dist/function-context-BNpL5bFb.d.mts.map +1 -0
  6. package/dist/index.cjs +80 -16
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.cts +164 -3
  9. package/dist/index.d.cts.map +1 -1
  10. package/dist/index.d.mts +164 -3
  11. package/dist/index.d.mts.map +1 -1
  12. package/dist/index.mjs +78 -16
  13. package/dist/index.mjs.map +1 -1
  14. package/dist/ops.d.cts +1 -1
  15. package/dist/ops.d.mts +1 -1
  16. package/dist/{react-DW7Z96sD.d.mts → react-CljeXJuw.d.cts} +142 -8
  17. package/dist/react-CljeXJuw.d.cts.map +1 -0
  18. package/dist/{react-DW7Z96sD.d.cts → react-CljeXJuw.d.mts} +142 -8
  19. package/dist/react-CljeXJuw.d.mts.map +1 -0
  20. package/dist/{react-DcT-mUPj.cjs → react-Dvkv2deI.cjs} +110 -59
  21. package/dist/react-Dvkv2deI.cjs.map +1 -0
  22. package/dist/{react-BXGyzgz0.mjs → react-OW1t_J0M.mjs} +103 -26
  23. package/dist/react-OW1t_J0M.mjs.map +1 -0
  24. package/dist/rolldown-runtime-KC0qvQup.cjs +34 -0
  25. package/dist/shell.cjs +38 -3
  26. package/dist/shell.cjs.map +1 -1
  27. package/dist/shell.d.cts +26 -3
  28. package/dist/shell.d.cts.map +1 -1
  29. package/dist/shell.d.mts +26 -3
  30. package/dist/shell.d.mts.map +1 -1
  31. package/dist/shell.mjs +34 -2
  32. package/dist/shell.mjs.map +1 -1
  33. package/dist/testing.cjs +4431 -0
  34. package/dist/testing.cjs.map +1 -0
  35. package/dist/testing.d.cts +656 -0
  36. package/dist/testing.d.cts.map +1 -0
  37. package/dist/testing.d.mts +656 -0
  38. package/dist/testing.d.mts.map +1 -0
  39. package/dist/testing.mjs +4395 -0
  40. package/dist/testing.mjs.map +1 -0
  41. package/package.json +22 -9
  42. package/dist/function-context-D8eyZuw_.d.cts.map +0 -1
  43. package/dist/function-context-D8eyZuw_.d.mts.map +0 -1
  44. package/dist/react-BXGyzgz0.mjs.map +0 -1
  45. package/dist/react-DW7Z96sD.d.cts.map +0 -1
  46. package/dist/react-DW7Z96sD.d.mts.map +0 -1
  47. package/dist/react-DcT-mUPj.cjs.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
- import { $ as loadCustomAppManifest, A as UseSemanticQueryOpts, B as FunctionError, C as UseProcedureRunInput, D as UseQueryOpts, E as UseQueryInput, F as useProcedureRun, G as apiErrorFromResponse, H as FunctionResult, I as useQuery, J as OxyAppFunctionManifest, K as interpretCustomAppError, L as useResolvedManifest, M as useAgentRun, N as useFunction, O as UseQueryResult, P as useOxyApp, Q as _resetCustomAppManifestCacheForTest, R as useSemanticQuery, S as UseFunctionResult, T as UseProcedureRunResult, U as CustomAppErrorReport, V as FunctionLog, W as OxyApiError, X as OxyAppPerformanceManifest, Y as OxyAppManifest, Z as ResolvedCustomAppManifest, _ as SemanticFilter, a as AppFetcher, b as UseAgentRunInput, c as OxyAppProvider, d as OxyChatProps, f as ProcedureProgress, g as SemanticDateRangeOp, h as SemanticArrayOp, i as AgentSqlArtifact, j as UseSemanticQueryResult, k as UseSemanticQueryInput, l as OxyAppProviderProps, m as ProcedureRunState, n as AgentRunEvent, o as OxyAnswer, p as ProcedureResult, q as LoadManifestOptions, r as AgentRunState, s as OxyAnswerProps, t as AgentArtifact, u as OxyChat, v as SemanticScalarOp, w as UseProcedureRunOpts, x as UseAgentRunResult, y as SemanticTimeDimension, z as useTrackEvent } from "./react-DW7Z96sD.cjs";
3
- import { C as StorageDownloadUrl, D as StoragePutResult, E as StoragePutOptions, O as StorageUploadUrl, S as OxyWarehouseApi, T as StorageObject, _ as OxyReach, a as OxyEmailApi, b as OxyStorageApi, c as OxyFunctionHandler, d as OxyFunctionUser, f as OxyIdentityKind, g as OxyOrgTeam, h as OxyOrgPlace, i as OxyAirwayApi, k as StorageUploadUrlInput, l as OxyFunctionRequest, m as OxyOrgAssignment, n as EmailSendInput, o as OxyFetchResult, p as OxyOltpApi, r as EmailSendResult, s as OxyFunctionContext, t as EmailAttachment, u as OxyFunctionRow, v as OxySecretsApi, w as StorageListPage, x as OxyTransaction, y as OxySemanticApi } from "./function-context-D8eyZuw_.cjs";
2
+ import { $ as loadCustomAppManifest, A as UseSemanticQueryOpts, B as FunctionError, C as UseProcedureRunInput, D as UseQueryOpts, E as UseQueryInput, F as useProcedureRun, G as apiErrorFromResponse, H as FunctionResult, I as useQuery, J as OxyAppFunctionManifest, K as interpretCustomAppError, L as useResolvedManifest, M as useAgentRun, N as useFunction, O as UseQueryResult, P as useOxyApp, Q as _resetCustomAppManifestCacheForTest, R as useSemanticQuery, S as UseFunctionResult, T as UseProcedureRunResult, U as CustomAppErrorReport, V as FunctionLog, W as OxyApiError, X as OxyAppPerformanceManifest, Y as OxyAppManifest, Z as ResolvedCustomAppManifest, _ as SemanticFilter, a as AppFetcher, b as UseAgentRunInput, c as OxyAppProvider, d as OxyChatProps, f as ProcedureProgress, g as SemanticDateRangeOp, h as SemanticArrayOp, i as AgentSqlArtifact, j as UseSemanticQueryResult, k as UseSemanticQueryInput, l as OxyAppProviderProps, m as ProcedureRunState, n as AgentRunEvent, o as OxyAnswer, p as ProcedureResult, q as LoadManifestOptions, r as AgentRunState, s as OxyAnswerProps, t as AgentArtifact, u as OxyChat, v as SemanticScalarOp, w as UseProcedureRunOpts, x as UseAgentRunResult, y as SemanticTimeDimension, z as useTrackEvent } from "./react-CljeXJuw.cjs";
3
+ import { A as StoragePutOptions, C as OxyStorageApi, D as StorageDownloadUrl, E as OxyWarehouseApi, M as StorageUploadUrl, N as StorageUploadUrlInput, O as StorageListPage, S as OxySemanticApi, T as OxyVerifyHmacInput, _ as OxyOrgAssignment, a as OxyAirwayApi, b as OxyReach, c as OxyFetchResult, d as OxyFunctionRequest, f as OxyFunctionRow, g as OxyOltpApi, h as OxyIdentityKind, i as OxyAirhouseApi, j as StoragePutResult, k as StorageObject, l as OxyFunctionContext, m as OxyHmacInput, n as EmailSendInput, o as OxyCryptoApi, p as OxyFunctionUser, r as EmailSendResult, s as OxyEmailApi, t as EmailAttachment, u as OxyFunctionHandler, v as OxyOrgPlace, w as OxyTransaction, x as OxySecretsApi, y as OxyOrgTeam } from "./function-context-BNpL5bFb.cjs";
4
4
  //#region src/config.d.ts
5
5
  /**
6
6
  * Configuration for the Oxy SDK
@@ -40,6 +40,156 @@ interface OxyConfig {
40
40
  disableAutoAuth?: boolean;
41
41
  }
42
42
  //#endregion
43
+ //#region src/peerCohort.d.ts
44
+ /** How a subject's benchmark is computed from its peers. Serde snake_case:
45
+ * `"median"` | `"p75"` | `"best_peer"`. */
46
+ type BenchmarkStatistic = "median" | "p75" | "best_peer";
47
+ /**
48
+ * Why a subject was left out of the comparison entirely — distinct from
49
+ * `sufficient: false` on a {@link CohortSubject}, which still gets a computed
50
+ * comparison. This is the fix for a reference implementation where an excluded
51
+ * store "simply did not appear in the list and no screen said why": every
52
+ * exclusion here carries a reason, and a consumer MUST render these rather
53
+ * than silently drop them.
54
+ */
55
+ interface ExcludedSubject {
56
+ /** For a NULL entity key, a synthesized stable id of the form
57
+ * `"(null) [<require values>]"` rather than an empty string. */
58
+ key: string;
59
+ /** Human-readable prose explaining the exclusion — NOT a coded enum, so
60
+ * render it verbatim rather than switching on it. */
61
+ reason: string;
62
+ }
63
+ /**
64
+ * One subject's comparison against its peer cohort.
65
+ *
66
+ * `sufficient` reflects whether `peer_count` met the cohort's declared
67
+ * `min_peers`, but `min_peers` is a REPORTING predicate, never a filter: a
68
+ * subject below the threshold is still returned with `baseline` and `gap`
69
+ * computed from whatever peers it has. Never filter on `sufficient`
70
+ * client-side — surface it so the caller can decide whether to act on a
71
+ * comparison built from a thin peer set.
72
+ */
73
+ interface CohortSubject {
74
+ key: string;
75
+ value: number;
76
+ /** The peer benchmark value. `0.0` when `peer_count === 0` — this is NOT a
77
+ * baseline of zero, there simply is none. Check `peer_count` before
78
+ * treating `baseline` as meaningful. */
79
+ baseline: number;
80
+ /** Oriented so a positive value always means opportunity, regardless of
81
+ * whether the underlying measure is "bigger is better" or the reverse.
82
+ * `0.0` when there are no peers to compare against. */
83
+ gap: number;
84
+ /** Non-reciprocal: appearing in another subject's `peers` does not imply
85
+ * this subject lists them back. */
86
+ peers: string[];
87
+ peer_count: number;
88
+ /** `peer_count >= cohort's min_peers`. A reporting flag, not a gate — see
89
+ * the type-level doc above. */
90
+ sufficient: boolean;
91
+ }
92
+ /**
93
+ * Result of resolving one subject's peer cohort and every peer's comparison
94
+ * against it.
95
+ */
96
+ interface PeerCohortResult {
97
+ entity: string;
98
+ cohort: string;
99
+ measure: string;
100
+ statistic: BenchmarkStatistic;
101
+ /** `[start, end]` inclusive date strings for the measured period. */
102
+ period: [string, string];
103
+ /**
104
+ * The window peers were drawn from, when the cohort declares a peer band.
105
+ * `Some(period)` when the cohort declares a band with no explicit
106
+ * `window:` of its own; absent only when the cohort declares no band at
107
+ * all. Anchored at `period`'s START and extended backward, so it always
108
+ * CONTAINS `period` — never a disjoint comparison window.
109
+ *
110
+ * `| null` because this mirrors an `Option<(String, String)>` on a
111
+ * GIT-PINNED struct: `skip_serializing_if` is a serde attribute today, not
112
+ * a guarantee, so a reader must accept both encodings. Compare with
113
+ * `!= null`, never `!== undefined`.
114
+ */
115
+ band_window?: [string, string] | null;
116
+ subjects: CohortSubject[];
117
+ excluded: ExcludedSubject[];
118
+ }
119
+ /**
120
+ * Request to resolve a peer cohort. `cohort` and `band_window` are echoed
121
+ * back on {@link PeerCohortResult} specifically so a UI rendering them cannot
122
+ * drift from the query that produced them.
123
+ */
124
+ interface CohortRequest {
125
+ /**
126
+ * The bare name of an `entities:` entry in the semantic model — e.g.
127
+ * `"restaurant_id"` — NOT a column name and NOT a qualified `view.entity`
128
+ * (`"stores.store"`). The server compares this verbatim against the
129
+ * entity half of a measure's `default_cohort: "entity.cohort_name"` and
130
+ * against `Entity::name` when locating the bound view; a qualified name
131
+ * fails both checks and a scoped caller gets `403 cohort_scope_unavailable`.
132
+ */
133
+ entity: string;
134
+ measure: string;
135
+ time_dimension: string;
136
+ /** `[start, end]` inclusive date strings. */
137
+ period: [string, string];
138
+ /** Falls back to the measure's `default_cohort:` when omitted. */
139
+ cohort?: string;
140
+ /** Defaults to `"median"` server-side when omitted. */
141
+ statistic?: string;
142
+ }
143
+ /**
144
+ * Shape of the inner request helper exposed by `OxyClient`. The peer-cohort
145
+ * client reuses it to inherit auth headers, timeout, baseUrl, and project
146
+ * scoping rather than reimplementing fetch end-to-end.
147
+ */
148
+ type RequestFn$2 = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
149
+ /**
150
+ * Client for the `/semantic/cohort` endpoint. Surfaces airlayer's peer-cohort
151
+ * benchmarking — comparing an entity's subjects against their declared peers
152
+ * on a measure, with exclusions explained rather than silently dropped.
153
+ *
154
+ * Construction is internal to {@link OxyClient} — call `client.peerCohort`
155
+ * to access an instance rather than building one yourself.
156
+ *
157
+ * @example
158
+ * ```typescript
159
+ * const client = await OxyClient.create({ projectId: "...", apiKey: "..." });
160
+ * const result = await client.peerCohort.resolve({
161
+ * entity: "restaurant_id",
162
+ * measure: "orders.net_revenue",
163
+ * time_dimension: "orders.order_date",
164
+ * period: ["2025-09-01", "2025-09-30"],
165
+ * });
166
+ * for (const excluded of result.excluded) {
167
+ * console.warn(excluded.key, excluded.reason);
168
+ * }
169
+ * ```
170
+ */
171
+ declare class PeerCohortClient {
172
+ private readonly request;
173
+ private readonly config;
174
+ constructor(config: OxyConfig, request: RequestFn$2);
175
+ private path;
176
+ private buildQuery;
177
+ /**
178
+ * Resolve a subject's peer cohort and every peer's comparison against it.
179
+ *
180
+ * @example
181
+ * ```typescript
182
+ * const result = await client.peerCohort.resolve({
183
+ * entity: "restaurant_id",
184
+ * measure: "orders.net_revenue",
185
+ * time_dimension: "orders.order_date",
186
+ * period: ["2025-09-01", "2025-09-30"],
187
+ * });
188
+ * ```
189
+ */
190
+ resolve(request: CohortRequest): Promise<PeerCohortResult>;
191
+ }
192
+ //#endregion
43
193
  //#region src/metricTree.d.ts
44
194
  type EdgeKind = "component" | "driver";
45
195
  type DriverDirection = "positive" | "negative" | "unknown";
@@ -453,6 +603,17 @@ interface OpportunityRequest {
453
603
  target: string;
454
604
  time_dimension: string;
455
605
  period: [string, string];
606
+ /**
607
+ * How a segment's benchmark is computed from its peers. Defaults to
608
+ * `"p75"` server-side when omitted.
609
+ *
610
+ * An airlayer upgrade deleted the engine's adaptive selection — best-peer
611
+ * for a dimension with too few segments for a percentile to mean anything,
612
+ * p75 once there were enough — in favor of an explicit required argument.
613
+ * No single fixed value reproduced the old behavior, so rather than
614
+ * freezing one server-side, the choice is now the caller's.
615
+ */
616
+ statistic?: BenchmarkStatistic;
456
617
  }
457
618
  interface OpportunityResult {
458
619
  target: string;
@@ -1432,5 +1593,5 @@ declare function createWorldModel(projectId: string | null, fetcher: AppFetcher)
1432
1593
  */
1433
1594
  declare function useWorldModel(): WorldModelApi;
1434
1595
  //#endregion
1435
- export { type AdditivityClass, type AgentArtifact, type AgentRunEvent, type AgentRunState, type AgentSqlArtifact, AnomaliesClient, type Anomaly, type AnomalyFilter, type AnomalySeverity, type AnomalyStatus, type AppFetcher, type BaselineInstance, type BaselineRequest, type BaselineResponse, type BulkUpdateStatusResponse, type CustomAppDebugSnapshot, type CustomAppErrorReport, type DimensionOpportunity, type DistributionRequest, type DriverAttribution, type DriverConfidence, type DriverDirection, type DriverForm, type DriverStrength, type EdgeKind, type EmailAttachment, type EmailSendInput, type EmailSendResult, type ExpandedNode, type ExplainConfigOverride, type ExplainNode, type ExplainOptions, type ExplainOpts, type ExplainRequest, type ExplainResult, type ExplainSibling, type ExplainWarning, type FittedDriver, type ForecastPoint, type FunctionError, type FunctionLog, type FunctionResult, type HistoryPoint, type ListAnomaliesOptions, type ListAnomaliesResponse, type LoadManifestOptions, type MeasureProjection, type MeasureValues, type MetricEdge, type MetricHandle, type MetricNode, type MetricScope, type MetricTree, MetricTreeClient, type MetricTreeHookResult, type OpportunityRequest, type OpportunityResult, type OxyAirwayApi, OxyAnswer, type OxyAnswerProps, OxyApiError, type OxyAppFunctionManifest, type OxyAppLogLevel, type OxyAppLogger, type OxyAppManifest, type OxyAppPerformanceManifest, OxyAppProvider, type OxyAppProviderProps, OxyChat, type OxyChatProps, type OxyEmailApi, type OxyFetchResult, type OxyFunctionContext, type OxyFunctionHandler, type OxyFunctionRequest, type OxyFunctionRow, type OxyFunctionUser, type OxyIdentityKind, type OxyInjectedAppConfig, type OxyOltpApi, type OxyOrgAssignment, type OxyOrgPlace, type OxyOrgTeam, type OxyReach, type OxySecretsApi, type OxySemanticApi, type OxyStorageApi, type OxyTransaction, type OxyWarehouseApi, type PredictChange, type PredictImpact, type PredictOptions, type PredictResult, type ProcedureProgress, type ProcedureResult, type ProcedureRunState, type ProjectionGranularity, type ProjectionRequest, type ProjectionResponse, type ResolvedCustomAppManifest, type ScanFailure, type ScanOptions, type ScanResponse, type SegmentOpportunity, type SemanticArrayOp, type SemanticDateRangeOp, type SemanticFilter, type SemanticScalarOp, type SemanticTimeDimension, type SensitivityDriver, type SensitivityResult, type SizeOpts, type SkippedDimension, type SplitKind, type StorageDownloadUrl, type StorageListPage, type StorageObject, type StoragePutOptions, type StoragePutResult, type StorageUploadUrl, type StorageUploadUrlInput, type TimeDimensionsResponse, type UnvaluedNode, type UseAgentRunInput, type UseAgentRunResult, type UseFunctionResult, type UseMeasureBreakdownResult, type UseMetricTreeOpts, type UsePredictOpts, type UseProcedureRunInput, type UseProcedureRunOpts, type UseProcedureRunResult, type UseQueryInput, type UseQueryOpts, type UseQueryResult, type UseSemanticQueryInput, type UseSemanticQueryOpts, type UseSemanticQueryResult, type UseWorldModelGraphResult, type UseWorldModelInstancesOpts, type UseWorldModelInstancesResult, type WmBreakdownEdge, type WmBreakdownNode, type WmEntityCount, type WmFilterCountsResponse, type WmInstance, type WmInstancesResponse, type WmMeasureBreakdown, type WmMeasureBreakdownEvent, type WorldModel, type WorldModelApi, type WorldModelDimension, type WorldModelEdge, type WorldModelEntity, type WorldModelInducedMeasure, type WorldModelMeasure, WorldModelScopeUnsupportedError, _resetCustomAppManifestCacheForTest, apiErrorFromResponse, base64ToBytes, bytesToBase64, createWorldModel, getCustomAppDebug, getOxyAppLogger, interpretCustomAppError, loadCustomAppManifest, readInjectedAppConfig, readJsonSseStream, setOxyAppLogger, useAgentRun, useBaseline, useDistribution, useExplain, useFunction, useMeasureBreakdown, useMetricTree, useOpportunity, useOxyApp, usePredict, useProcedureRun, useProjection, useQuery, useResolvedManifest, useSemanticQuery, useSensitivity, useTimeDimensions, useTrackEvent, useWorldModel, useWorldModelGraph, useWorldModelInstances };
1596
+ export { type AdditivityClass, type AgentArtifact, type AgentRunEvent, type AgentRunState, type AgentSqlArtifact, AnomaliesClient, type Anomaly, type AnomalyFilter, type AnomalySeverity, type AnomalyStatus, type AppFetcher, type BaselineInstance, type BaselineRequest, type BaselineResponse, type BenchmarkStatistic, type BulkUpdateStatusResponse, type CohortRequest, type CohortSubject, type CustomAppDebugSnapshot, type CustomAppErrorReport, type DimensionOpportunity, type DistributionRequest, type DriverAttribution, type DriverConfidence, type DriverDirection, type DriverForm, type DriverStrength, type EdgeKind, type EmailAttachment, type EmailSendInput, type EmailSendResult, type ExcludedSubject, type ExpandedNode, type ExplainConfigOverride, type ExplainNode, type ExplainOptions, type ExplainOpts, type ExplainRequest, type ExplainResult, type ExplainSibling, type ExplainWarning, type FittedDriver, type ForecastPoint, type FunctionError, type FunctionLog, type FunctionResult, type HistoryPoint, type ListAnomaliesOptions, type ListAnomaliesResponse, type LoadManifestOptions, type MeasureProjection, type MeasureValues, type MetricEdge, type MetricHandle, type MetricNode, type MetricScope, type MetricTree, MetricTreeClient, type MetricTreeHookResult, type OpportunityRequest, type OpportunityResult, type OxyAirhouseApi, type OxyAirwayApi, OxyAnswer, type OxyAnswerProps, OxyApiError, type OxyAppFunctionManifest, type OxyAppLogLevel, type OxyAppLogger, type OxyAppManifest, type OxyAppPerformanceManifest, OxyAppProvider, type OxyAppProviderProps, OxyChat, type OxyChatProps, type OxyCryptoApi, type OxyEmailApi, type OxyFetchResult, type OxyFunctionContext, type OxyFunctionHandler, type OxyFunctionRequest, type OxyFunctionRow, type OxyFunctionUser, type OxyHmacInput, type OxyIdentityKind, type OxyInjectedAppConfig, type OxyOltpApi, type OxyOrgAssignment, type OxyOrgPlace, type OxyOrgTeam, type OxyReach, type OxySecretsApi, type OxySemanticApi, type OxyStorageApi, type OxyTransaction, type OxyVerifyHmacInput, type OxyWarehouseApi, PeerCohortClient, type PeerCohortResult, type PredictChange, type PredictImpact, type PredictOptions, type PredictResult, type ProcedureProgress, type ProcedureResult, type ProcedureRunState, type ProjectionGranularity, type ProjectionRequest, type ProjectionResponse, type ResolvedCustomAppManifest, type ScanFailure, type ScanOptions, type ScanResponse, type SegmentOpportunity, type SemanticArrayOp, type SemanticDateRangeOp, type SemanticFilter, type SemanticScalarOp, type SemanticTimeDimension, type SensitivityDriver, type SensitivityResult, type SizeOpts, type SkippedDimension, type SplitKind, type StorageDownloadUrl, type StorageListPage, type StorageObject, type StoragePutOptions, type StoragePutResult, type StorageUploadUrl, type StorageUploadUrlInput, type TimeDimensionsResponse, type UnvaluedNode, type UseAgentRunInput, type UseAgentRunResult, type UseFunctionResult, type UseMeasureBreakdownResult, type UseMetricTreeOpts, type UsePredictOpts, type UseProcedureRunInput, type UseProcedureRunOpts, type UseProcedureRunResult, type UseQueryInput, type UseQueryOpts, type UseQueryResult, type UseSemanticQueryInput, type UseSemanticQueryOpts, type UseSemanticQueryResult, type UseWorldModelGraphResult, type UseWorldModelInstancesOpts, type UseWorldModelInstancesResult, type WmBreakdownEdge, type WmBreakdownNode, type WmEntityCount, type WmFilterCountsResponse, type WmInstance, type WmInstancesResponse, type WmMeasureBreakdown, type WmMeasureBreakdownEvent, type WorldModel, type WorldModelApi, type WorldModelDimension, type WorldModelEdge, type WorldModelEntity, type WorldModelInducedMeasure, type WorldModelMeasure, WorldModelScopeUnsupportedError, _resetCustomAppManifestCacheForTest, apiErrorFromResponse, base64ToBytes, bytesToBase64, createWorldModel, getCustomAppDebug, getOxyAppLogger, interpretCustomAppError, loadCustomAppManifest, readInjectedAppConfig, readJsonSseStream, setOxyAppLogger, useAgentRun, useBaseline, useDistribution, useExplain, useFunction, useMeasureBreakdown, useMetricTree, useOpportunity, useOxyApp, usePredict, useProcedureRun, useProjection, useQuery, useResolvedManifest, useSemanticQuery, useSensitivity, useTimeDimensions, useTrackEvent, useWorldModel, useWorldModelGraph, useWorldModelInstances };
1436
1597
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/config.ts","../src/metricTree.ts","../src/anomalies.ts","../src/custom-app/base64.ts","../src/custom-app/debug.ts","../src/custom-app/inject.ts","../src/custom-app/logger.ts","../src/custom-app/metric-tree-hooks.tsx","../src/custom-app/sse.ts","../src/worldModel.ts","../src/custom-app/world-model-hooks.tsx","../src/custom-app/world-node.tsx"],"mappings":";;;;;;;UAGiB;;;;EAIf;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;;EAQA;;;;;EAMA;;;;KCjCU;KACA;KACA;KACA;;;;;;;;;KASA;UAWK;EACf;EACA;EACA;EACA;EACA;EACA;EACA;;;;;EAKA;EACA;;UAGe;EACf;EACA;EACA,MAAM;;EAEN;;;;;EAKA;EACA,WAAW;EACX,UAAU;EACV,YAAY;EACZ;EACA,MAAM;;EAEN;EACA;EACA;EACA;EACA;;UAGe;EACf,OAAO;EACP,OAAO;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Aac,mBAAmB;EAAQ;IAA2B;UA6CrD;;EAEf;;EAEA;EACA;;;;;;;;EAQA;;UAGe;EACf,MAAM;EACN;EACA,OAAO;EACP;;;;;;;iBAQc,uBACd,yBACA,OAAM,6BACL;UAwDc;;EAEf,WAAW;EACX;EACA;EACA,OAAO;;;;;;;;iBAmCO,oBACd,yBACA,yBACA,yBACC;;;;KClLS,cAAc,SAAS;;;KAIvB,cAAc,KAAK;;;KAInB,WAAW,KAAK;;;UAIX;;EAEf,MAAM;;EAEN,MAAM;;EAEN,QAAQ;;;;;;;UAQO;;WAEN;;WAEA,OAAO;;EAEhB,KAAK,SAAS,cAAc,QAAQ;;EAEpC,OAAO,SAAS,cAAc,QAAQ;;EAEtC,QAAQ,SAAS,cAAc,QAAQ;;EAEvC,QAAQ,MAAM,aAAa,SAAS,cAAc,QAAQ;;EAE1D,KAAK,MAAM,UAAU,SAAS,cAAc,QAAQ;;EAEpD,MAAM,OAAO,yBAAyB;;;;;;;UAQvB;;WAEN;;EAET,KAAK,eAAe,SAAS,cAAc,QAAQ;;EAEnD,OAAO,aAAa;;;;;;;;cAST,wCAAwC;WAC1C;WACA,OAAO;EAChB,YAAY,cAAc,OAAO;;;;;;;iBAkBnB,iBAAiB,0BAA0B,SAAS,aAAa;;;;;;;;;;;;;;;;;;;;;;iBAqGjE,iBAAiB"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/config.ts","../src/peerCohort.ts","../src/metricTree.ts","../src/anomalies.ts","../src/custom-app/base64.ts","../src/custom-app/debug.ts","../src/custom-app/inject.ts","../src/custom-app/logger.ts","../src/custom-app/metric-tree-hooks.tsx","../src/custom-app/sse.ts","../src/worldModel.ts","../src/custom-app/world-model-hooks.tsx","../src/custom-app/world-node.tsx"],"mappings":";;;;;;;UAGiB;;;;EAIf;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;;EAQA;;;;;EAMA;;;;;;KC/BU;;;;;;;;;UAUK;;;EAGf;;;EAGA;;;;;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AAS,cAAc,QAAQ;;EAEpD,MAAM,OAAO,yBAAyB;;;;;;;UAQvB;;WAEN;;EAET,KAAK,eAAe,SAAS,cAAc,QAAQ;;EAEnD,OAAO,aAAa;;;;;;;;cAST,wCAAwC;WAC1C;WACA,OAAO;EAChB,YAAY,cAAc,OAAO;;;;;;;iBAkBnB,iBAAiB,0BAA0B,SAAS,aAAa;;;;;;;;;;;;;;;;;;;;;;iBAqGjE,iBAAiB"}
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
- import { $ as loadCustomAppManifest, A as UseSemanticQueryOpts, B as FunctionError, C as UseProcedureRunInput, D as UseQueryOpts, E as UseQueryInput, F as useProcedureRun, G as apiErrorFromResponse, H as FunctionResult, I as useQuery, J as OxyAppFunctionManifest, K as interpretCustomAppError, L as useResolvedManifest, M as useAgentRun, N as useFunction, O as UseQueryResult, P as useOxyApp, Q as _resetCustomAppManifestCacheForTest, R as useSemanticQuery, S as UseFunctionResult, T as UseProcedureRunResult, U as CustomAppErrorReport, V as FunctionLog, W as OxyApiError, X as OxyAppPerformanceManifest, Y as OxyAppManifest, Z as ResolvedCustomAppManifest, _ as SemanticFilter, a as AppFetcher, b as UseAgentRunInput, c as OxyAppProvider, d as OxyChatProps, f as ProcedureProgress, g as SemanticDateRangeOp, h as SemanticArrayOp, i as AgentSqlArtifact, j as UseSemanticQueryResult, k as UseSemanticQueryInput, l as OxyAppProviderProps, m as ProcedureRunState, n as AgentRunEvent, o as OxyAnswer, p as ProcedureResult, q as LoadManifestOptions, r as AgentRunState, s as OxyAnswerProps, t as AgentArtifact, u as OxyChat, v as SemanticScalarOp, w as UseProcedureRunOpts, x as UseAgentRunResult, y as SemanticTimeDimension, z as useTrackEvent } from "./react-DW7Z96sD.mjs";
3
- import { C as StorageDownloadUrl, D as StoragePutResult, E as StoragePutOptions, O as StorageUploadUrl, S as OxyWarehouseApi, T as StorageObject, _ as OxyReach, a as OxyEmailApi, b as OxyStorageApi, c as OxyFunctionHandler, d as OxyFunctionUser, f as OxyIdentityKind, g as OxyOrgTeam, h as OxyOrgPlace, i as OxyAirwayApi, k as StorageUploadUrlInput, l as OxyFunctionRequest, m as OxyOrgAssignment, n as EmailSendInput, o as OxyFetchResult, p as OxyOltpApi, r as EmailSendResult, s as OxyFunctionContext, t as EmailAttachment, u as OxyFunctionRow, v as OxySecretsApi, w as StorageListPage, x as OxyTransaction, y as OxySemanticApi } from "./function-context-D8eyZuw_.mjs";
2
+ import { $ as loadCustomAppManifest, A as UseSemanticQueryOpts, B as FunctionError, C as UseProcedureRunInput, D as UseQueryOpts, E as UseQueryInput, F as useProcedureRun, G as apiErrorFromResponse, H as FunctionResult, I as useQuery, J as OxyAppFunctionManifest, K as interpretCustomAppError, L as useResolvedManifest, M as useAgentRun, N as useFunction, O as UseQueryResult, P as useOxyApp, Q as _resetCustomAppManifestCacheForTest, R as useSemanticQuery, S as UseFunctionResult, T as UseProcedureRunResult, U as CustomAppErrorReport, V as FunctionLog, W as OxyApiError, X as OxyAppPerformanceManifest, Y as OxyAppManifest, Z as ResolvedCustomAppManifest, _ as SemanticFilter, a as AppFetcher, b as UseAgentRunInput, c as OxyAppProvider, d as OxyChatProps, f as ProcedureProgress, g as SemanticDateRangeOp, h as SemanticArrayOp, i as AgentSqlArtifact, j as UseSemanticQueryResult, k as UseSemanticQueryInput, l as OxyAppProviderProps, m as ProcedureRunState, n as AgentRunEvent, o as OxyAnswer, p as ProcedureResult, q as LoadManifestOptions, r as AgentRunState, s as OxyAnswerProps, t as AgentArtifact, u as OxyChat, v as SemanticScalarOp, w as UseProcedureRunOpts, x as UseAgentRunResult, y as SemanticTimeDimension, z as useTrackEvent } from "./react-CljeXJuw.mjs";
3
+ import { A as StoragePutOptions, C as OxyStorageApi, D as StorageDownloadUrl, E as OxyWarehouseApi, M as StorageUploadUrl, N as StorageUploadUrlInput, O as StorageListPage, S as OxySemanticApi, T as OxyVerifyHmacInput, _ as OxyOrgAssignment, a as OxyAirwayApi, b as OxyReach, c as OxyFetchResult, d as OxyFunctionRequest, f as OxyFunctionRow, g as OxyOltpApi, h as OxyIdentityKind, i as OxyAirhouseApi, j as StoragePutResult, k as StorageObject, l as OxyFunctionContext, m as OxyHmacInput, n as EmailSendInput, o as OxyCryptoApi, p as OxyFunctionUser, r as EmailSendResult, s as OxyEmailApi, t as EmailAttachment, u as OxyFunctionHandler, v as OxyOrgPlace, w as OxyTransaction, x as OxySecretsApi, y as OxyOrgTeam } from "./function-context-BNpL5bFb.mjs";
4
4
  //#region src/config.d.ts
5
5
  /**
6
6
  * Configuration for the Oxy SDK
@@ -40,6 +40,156 @@ interface OxyConfig {
40
40
  disableAutoAuth?: boolean;
41
41
  }
42
42
  //#endregion
43
+ //#region src/peerCohort.d.ts
44
+ /** How a subject's benchmark is computed from its peers. Serde snake_case:
45
+ * `"median"` | `"p75"` | `"best_peer"`. */
46
+ type BenchmarkStatistic = "median" | "p75" | "best_peer";
47
+ /**
48
+ * Why a subject was left out of the comparison entirely — distinct from
49
+ * `sufficient: false` on a {@link CohortSubject}, which still gets a computed
50
+ * comparison. This is the fix for a reference implementation where an excluded
51
+ * store "simply did not appear in the list and no screen said why": every
52
+ * exclusion here carries a reason, and a consumer MUST render these rather
53
+ * than silently drop them.
54
+ */
55
+ interface ExcludedSubject {
56
+ /** For a NULL entity key, a synthesized stable id of the form
57
+ * `"(null) [<require values>]"` rather than an empty string. */
58
+ key: string;
59
+ /** Human-readable prose explaining the exclusion — NOT a coded enum, so
60
+ * render it verbatim rather than switching on it. */
61
+ reason: string;
62
+ }
63
+ /**
64
+ * One subject's comparison against its peer cohort.
65
+ *
66
+ * `sufficient` reflects whether `peer_count` met the cohort's declared
67
+ * `min_peers`, but `min_peers` is a REPORTING predicate, never a filter: a
68
+ * subject below the threshold is still returned with `baseline` and `gap`
69
+ * computed from whatever peers it has. Never filter on `sufficient`
70
+ * client-side — surface it so the caller can decide whether to act on a
71
+ * comparison built from a thin peer set.
72
+ */
73
+ interface CohortSubject {
74
+ key: string;
75
+ value: number;
76
+ /** The peer benchmark value. `0.0` when `peer_count === 0` — this is NOT a
77
+ * baseline of zero, there simply is none. Check `peer_count` before
78
+ * treating `baseline` as meaningful. */
79
+ baseline: number;
80
+ /** Oriented so a positive value always means opportunity, regardless of
81
+ * whether the underlying measure is "bigger is better" or the reverse.
82
+ * `0.0` when there are no peers to compare against. */
83
+ gap: number;
84
+ /** Non-reciprocal: appearing in another subject's `peers` does not imply
85
+ * this subject lists them back. */
86
+ peers: string[];
87
+ peer_count: number;
88
+ /** `peer_count >= cohort's min_peers`. A reporting flag, not a gate — see
89
+ * the type-level doc above. */
90
+ sufficient: boolean;
91
+ }
92
+ /**
93
+ * Result of resolving one subject's peer cohort and every peer's comparison
94
+ * against it.
95
+ */
96
+ interface PeerCohortResult {
97
+ entity: string;
98
+ cohort: string;
99
+ measure: string;
100
+ statistic: BenchmarkStatistic;
101
+ /** `[start, end]` inclusive date strings for the measured period. */
102
+ period: [string, string];
103
+ /**
104
+ * The window peers were drawn from, when the cohort declares a peer band.
105
+ * `Some(period)` when the cohort declares a band with no explicit
106
+ * `window:` of its own; absent only when the cohort declares no band at
107
+ * all. Anchored at `period`'s START and extended backward, so it always
108
+ * CONTAINS `period` — never a disjoint comparison window.
109
+ *
110
+ * `| null` because this mirrors an `Option<(String, String)>` on a
111
+ * GIT-PINNED struct: `skip_serializing_if` is a serde attribute today, not
112
+ * a guarantee, so a reader must accept both encodings. Compare with
113
+ * `!= null`, never `!== undefined`.
114
+ */
115
+ band_window?: [string, string] | null;
116
+ subjects: CohortSubject[];
117
+ excluded: ExcludedSubject[];
118
+ }
119
+ /**
120
+ * Request to resolve a peer cohort. `cohort` and `band_window` are echoed
121
+ * back on {@link PeerCohortResult} specifically so a UI rendering them cannot
122
+ * drift from the query that produced them.
123
+ */
124
+ interface CohortRequest {
125
+ /**
126
+ * The bare name of an `entities:` entry in the semantic model — e.g.
127
+ * `"restaurant_id"` — NOT a column name and NOT a qualified `view.entity`
128
+ * (`"stores.store"`). The server compares this verbatim against the
129
+ * entity half of a measure's `default_cohort: "entity.cohort_name"` and
130
+ * against `Entity::name` when locating the bound view; a qualified name
131
+ * fails both checks and a scoped caller gets `403 cohort_scope_unavailable`.
132
+ */
133
+ entity: string;
134
+ measure: string;
135
+ time_dimension: string;
136
+ /** `[start, end]` inclusive date strings. */
137
+ period: [string, string];
138
+ /** Falls back to the measure's `default_cohort:` when omitted. */
139
+ cohort?: string;
140
+ /** Defaults to `"median"` server-side when omitted. */
141
+ statistic?: string;
142
+ }
143
+ /**
144
+ * Shape of the inner request helper exposed by `OxyClient`. The peer-cohort
145
+ * client reuses it to inherit auth headers, timeout, baseUrl, and project
146
+ * scoping rather than reimplementing fetch end-to-end.
147
+ */
148
+ type RequestFn$2 = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
149
+ /**
150
+ * Client for the `/semantic/cohort` endpoint. Surfaces airlayer's peer-cohort
151
+ * benchmarking — comparing an entity's subjects against their declared peers
152
+ * on a measure, with exclusions explained rather than silently dropped.
153
+ *
154
+ * Construction is internal to {@link OxyClient} — call `client.peerCohort`
155
+ * to access an instance rather than building one yourself.
156
+ *
157
+ * @example
158
+ * ```typescript
159
+ * const client = await OxyClient.create({ projectId: "...", apiKey: "..." });
160
+ * const result = await client.peerCohort.resolve({
161
+ * entity: "restaurant_id",
162
+ * measure: "orders.net_revenue",
163
+ * time_dimension: "orders.order_date",
164
+ * period: ["2025-09-01", "2025-09-30"],
165
+ * });
166
+ * for (const excluded of result.excluded) {
167
+ * console.warn(excluded.key, excluded.reason);
168
+ * }
169
+ * ```
170
+ */
171
+ declare class PeerCohortClient {
172
+ private readonly request;
173
+ private readonly config;
174
+ constructor(config: OxyConfig, request: RequestFn$2);
175
+ private path;
176
+ private buildQuery;
177
+ /**
178
+ * Resolve a subject's peer cohort and every peer's comparison against it.
179
+ *
180
+ * @example
181
+ * ```typescript
182
+ * const result = await client.peerCohort.resolve({
183
+ * entity: "restaurant_id",
184
+ * measure: "orders.net_revenue",
185
+ * time_dimension: "orders.order_date",
186
+ * period: ["2025-09-01", "2025-09-30"],
187
+ * });
188
+ * ```
189
+ */
190
+ resolve(request: CohortRequest): Promise<PeerCohortResult>;
191
+ }
192
+ //#endregion
43
193
  //#region src/metricTree.d.ts
44
194
  type EdgeKind = "component" | "driver";
45
195
  type DriverDirection = "positive" | "negative" | "unknown";
@@ -453,6 +603,17 @@ interface OpportunityRequest {
453
603
  target: string;
454
604
  time_dimension: string;
455
605
  period: [string, string];
606
+ /**
607
+ * How a segment's benchmark is computed from its peers. Defaults to
608
+ * `"p75"` server-side when omitted.
609
+ *
610
+ * An airlayer upgrade deleted the engine's adaptive selection — best-peer
611
+ * for a dimension with too few segments for a percentile to mean anything,
612
+ * p75 once there were enough — in favor of an explicit required argument.
613
+ * No single fixed value reproduced the old behavior, so rather than
614
+ * freezing one server-side, the choice is now the caller's.
615
+ */
616
+ statistic?: BenchmarkStatistic;
456
617
  }
457
618
  interface OpportunityResult {
458
619
  target: string;
@@ -1432,5 +1593,5 @@ declare function createWorldModel(projectId: string | null, fetcher: AppFetcher)
1432
1593
  */
1433
1594
  declare function useWorldModel(): WorldModelApi;
1434
1595
  //#endregion
1435
- export { type AdditivityClass, type AgentArtifact, type AgentRunEvent, type AgentRunState, type AgentSqlArtifact, AnomaliesClient, type Anomaly, type AnomalyFilter, type AnomalySeverity, type AnomalyStatus, type AppFetcher, type BaselineInstance, type BaselineRequest, type BaselineResponse, type BulkUpdateStatusResponse, type CustomAppDebugSnapshot, type CustomAppErrorReport, type DimensionOpportunity, type DistributionRequest, type DriverAttribution, type DriverConfidence, type DriverDirection, type DriverForm, type DriverStrength, type EdgeKind, type EmailAttachment, type EmailSendInput, type EmailSendResult, type ExpandedNode, type ExplainConfigOverride, type ExplainNode, type ExplainOptions, type ExplainOpts, type ExplainRequest, type ExplainResult, type ExplainSibling, type ExplainWarning, type FittedDriver, type ForecastPoint, type FunctionError, type FunctionLog, type FunctionResult, type HistoryPoint, type ListAnomaliesOptions, type ListAnomaliesResponse, type LoadManifestOptions, type MeasureProjection, type MeasureValues, type MetricEdge, type MetricHandle, type MetricNode, type MetricScope, type MetricTree, MetricTreeClient, type MetricTreeHookResult, type OpportunityRequest, type OpportunityResult, type OxyAirwayApi, OxyAnswer, type OxyAnswerProps, OxyApiError, type OxyAppFunctionManifest, type OxyAppLogLevel, type OxyAppLogger, type OxyAppManifest, type OxyAppPerformanceManifest, OxyAppProvider, type OxyAppProviderProps, OxyChat, type OxyChatProps, type OxyEmailApi, type OxyFetchResult, type OxyFunctionContext, type OxyFunctionHandler, type OxyFunctionRequest, type OxyFunctionRow, type OxyFunctionUser, type OxyIdentityKind, type OxyInjectedAppConfig, type OxyOltpApi, type OxyOrgAssignment, type OxyOrgPlace, type OxyOrgTeam, type OxyReach, type OxySecretsApi, type OxySemanticApi, type OxyStorageApi, type OxyTransaction, type OxyWarehouseApi, type PredictChange, type PredictImpact, type PredictOptions, type PredictResult, type ProcedureProgress, type ProcedureResult, type ProcedureRunState, type ProjectionGranularity, type ProjectionRequest, type ProjectionResponse, type ResolvedCustomAppManifest, type ScanFailure, type ScanOptions, type ScanResponse, type SegmentOpportunity, type SemanticArrayOp, type SemanticDateRangeOp, type SemanticFilter, type SemanticScalarOp, type SemanticTimeDimension, type SensitivityDriver, type SensitivityResult, type SizeOpts, type SkippedDimension, type SplitKind, type StorageDownloadUrl, type StorageListPage, type StorageObject, type StoragePutOptions, type StoragePutResult, type StorageUploadUrl, type StorageUploadUrlInput, type TimeDimensionsResponse, type UnvaluedNode, type UseAgentRunInput, type UseAgentRunResult, type UseFunctionResult, type UseMeasureBreakdownResult, type UseMetricTreeOpts, type UsePredictOpts, type UseProcedureRunInput, type UseProcedureRunOpts, type UseProcedureRunResult, type UseQueryInput, type UseQueryOpts, type UseQueryResult, type UseSemanticQueryInput, type UseSemanticQueryOpts, type UseSemanticQueryResult, type UseWorldModelGraphResult, type UseWorldModelInstancesOpts, type UseWorldModelInstancesResult, type WmBreakdownEdge, type WmBreakdownNode, type WmEntityCount, type WmFilterCountsResponse, type WmInstance, type WmInstancesResponse, type WmMeasureBreakdown, type WmMeasureBreakdownEvent, type WorldModel, type WorldModelApi, type WorldModelDimension, type WorldModelEdge, type WorldModelEntity, type WorldModelInducedMeasure, type WorldModelMeasure, WorldModelScopeUnsupportedError, _resetCustomAppManifestCacheForTest, apiErrorFromResponse, base64ToBytes, bytesToBase64, createWorldModel, getCustomAppDebug, getOxyAppLogger, interpretCustomAppError, loadCustomAppManifest, readInjectedAppConfig, readJsonSseStream, setOxyAppLogger, useAgentRun, useBaseline, useDistribution, useExplain, useFunction, useMeasureBreakdown, useMetricTree, useOpportunity, useOxyApp, usePredict, useProcedureRun, useProjection, useQuery, useResolvedManifest, useSemanticQuery, useSensitivity, useTimeDimensions, useTrackEvent, useWorldModel, useWorldModelGraph, useWorldModelInstances };
1596
+ export { type AdditivityClass, type AgentArtifact, type AgentRunEvent, type AgentRunState, type AgentSqlArtifact, AnomaliesClient, type Anomaly, type AnomalyFilter, type AnomalySeverity, type AnomalyStatus, type AppFetcher, type BaselineInstance, type BaselineRequest, type BaselineResponse, type BenchmarkStatistic, type BulkUpdateStatusResponse, type CohortRequest, type CohortSubject, type CustomAppDebugSnapshot, type CustomAppErrorReport, type DimensionOpportunity, type DistributionRequest, type DriverAttribution, type DriverConfidence, type DriverDirection, type DriverForm, type DriverStrength, type EdgeKind, type EmailAttachment, type EmailSendInput, type EmailSendResult, type ExcludedSubject, type ExpandedNode, type ExplainConfigOverride, type ExplainNode, type ExplainOptions, type ExplainOpts, type ExplainRequest, type ExplainResult, type ExplainSibling, type ExplainWarning, type FittedDriver, type ForecastPoint, type FunctionError, type FunctionLog, type FunctionResult, type HistoryPoint, type ListAnomaliesOptions, type ListAnomaliesResponse, type LoadManifestOptions, type MeasureProjection, type MeasureValues, type MetricEdge, type MetricHandle, type MetricNode, type MetricScope, type MetricTree, MetricTreeClient, type MetricTreeHookResult, type OpportunityRequest, type OpportunityResult, type OxyAirhouseApi, type OxyAirwayApi, OxyAnswer, type OxyAnswerProps, OxyApiError, type OxyAppFunctionManifest, type OxyAppLogLevel, type OxyAppLogger, type OxyAppManifest, type OxyAppPerformanceManifest, OxyAppProvider, type OxyAppProviderProps, OxyChat, type OxyChatProps, type OxyCryptoApi, type OxyEmailApi, type OxyFetchResult, type OxyFunctionContext, type OxyFunctionHandler, type OxyFunctionRequest, type OxyFunctionRow, type OxyFunctionUser, type OxyHmacInput, type OxyIdentityKind, type OxyInjectedAppConfig, type OxyOltpApi, type OxyOrgAssignment, type OxyOrgPlace, type OxyOrgTeam, type OxyReach, type OxySecretsApi, type OxySemanticApi, type OxyStorageApi, type OxyTransaction, type OxyVerifyHmacInput, type OxyWarehouseApi, PeerCohortClient, type PeerCohortResult, type PredictChange, type PredictImpact, type PredictOptions, type PredictResult, type ProcedureProgress, type ProcedureResult, type ProcedureRunState, type ProjectionGranularity, type ProjectionRequest, type ProjectionResponse, type ResolvedCustomAppManifest, type ScanFailure, type ScanOptions, type ScanResponse, type SegmentOpportunity, type SemanticArrayOp, type SemanticDateRangeOp, type SemanticFilter, type SemanticScalarOp, type SemanticTimeDimension, type SensitivityDriver, type SensitivityResult, type SizeOpts, type SkippedDimension, type SplitKind, type StorageDownloadUrl, type StorageListPage, type StorageObject, type StoragePutOptions, type StoragePutResult, type StorageUploadUrl, type StorageUploadUrlInput, type TimeDimensionsResponse, type UnvaluedNode, type UseAgentRunInput, type UseAgentRunResult, type UseFunctionResult, type UseMeasureBreakdownResult, type UseMetricTreeOpts, type UsePredictOpts, type UseProcedureRunInput, type UseProcedureRunOpts, type UseProcedureRunResult, type UseQueryInput, type UseQueryOpts, type UseQueryResult, type UseSemanticQueryInput, type UseSemanticQueryOpts, type UseSemanticQueryResult, type UseWorldModelGraphResult, type UseWorldModelInstancesOpts, type UseWorldModelInstancesResult, type WmBreakdownEdge, type WmBreakdownNode, type WmEntityCount, type WmFilterCountsResponse, type WmInstance, type WmInstancesResponse, type WmMeasureBreakdown, type WmMeasureBreakdownEvent, type WorldModel, type WorldModelApi, type WorldModelDimension, type WorldModelEdge, type WorldModelEntity, type WorldModelInducedMeasure, type WorldModelMeasure, WorldModelScopeUnsupportedError, _resetCustomAppManifestCacheForTest, apiErrorFromResponse, base64ToBytes, bytesToBase64, createWorldModel, getCustomAppDebug, getOxyAppLogger, interpretCustomAppError, loadCustomAppManifest, readInjectedAppConfig, readJsonSseStream, setOxyAppLogger, useAgentRun, useBaseline, useDistribution, useExplain, useFunction, useMeasureBreakdown, useMetricTree, useOpportunity, useOxyApp, usePredict, useProcedureRun, useProjection, useQuery, useResolvedManifest, useSemanticQuery, useSensitivity, useTimeDimensions, useTrackEvent, useWorldModel, useWorldModelGraph, useWorldModelInstances };
1436
1597
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/config.ts","../src/metricTree.ts","../src/anomalies.ts","../src/custom-app/base64.ts","../src/custom-app/debug.ts","../src/custom-app/inject.ts","../src/custom-app/logger.ts","../src/custom-app/metric-tree-hooks.tsx","../src/custom-app/sse.ts","../src/worldModel.ts","../src/custom-app/world-model-hooks.tsx","../src/custom-app/world-node.tsx"],"mappings":";;;;;;;UAGiB;;;;EAIf;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;;EAQA;;;;;EAMA;;;;KCjCU;KACA;KACA;KACA;;;;;;;;;KASA;UAWK;EACf;EACA;EACA;EACA;EACA;EACA;EACA;;;;;EAKA;EACA;;UAGe;EACf;EACA;EACA,MAAM;;EAEN;;;;;EAKA;EACA,WAAW;EACX,UAAU;EACV,YAAY;EACZ;EACA,MAAM;;EAEN;EACA;EACA;EACA;EACA;;UAGe;EACf,OAAO;EACP,OAAO;EACP;;;;EAIA;;UAKe;EACf;EACA;EACA;EACA;EACA,OAAO;EACP,WAAW;EACX,UAAU;EACV;EACA;;UAGe;EACf;EACA,SAAS;;UAKM;EACf;EACA;;UAGe;EACf;EACA;EACA;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;UAwDc;;EAEf,WAAW;EACX;EACA;EACA,OAAO;;;;;;;;iBAmCO,oBACd,yBACA,yBACA,yBACC;;;;KClLS,cAAc,SAAS;;;KAIvB,cAAc,KAAK;;;KAInB,WAAW,KAAK;;;UAIX;;EAEf,MAAM;;EAEN,MAAM;;EAEN,QAAQ;;;;;;;UAQO;;WAEN;;WAEA,OAAO;;EAEhB,KAAK,SAAS,cAAc,QAAQ;;EAEpC,OAAO,SAAS,cAAc,QAAQ;;EAEtC,QAAQ,SAAS,cAAc,QAAQ;;EAEvC,QAAQ,MAAM,aAAa,SAAS,cAAc,QAAQ;;EAE1D,KAAK,MAAM,UAAU,SAAS,cAAc,QAAQ;;EAEpD,MAAM,OAAO,yBAAyB;;;;;;;UAQvB;;WAEN;;EAET,KAAK,eAAe,SAAS,cAAc,QAAQ;;EAEnD,OAAO,aAAa;;;;;;;;cAST,wCAAwC;WAC1C;WACA,OAAO;EAChB,YAAY,cAAc,OAAO;;;;;;;iBAkBnB,iBAAiB,0BAA0B,SAAS,aAAa;;;;;;;;;;;;;;;;;;;;;;iBAqGjE,iBAAiB"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/config.ts","../src/peerCohort.ts","../src/metricTree.ts","../src/anomalies.ts","../src/custom-app/base64.ts","../src/custom-app/debug.ts","../src/custom-app/inject.ts","../src/custom-app/logger.ts","../src/custom-app/metric-tree-hooks.tsx","../src/custom-app/sse.ts","../src/worldModel.ts","../src/custom-app/world-model-hooks.tsx","../src/custom-app/world-node.tsx"],"mappings":";;;;;;;UAGiB;;;;EAIf;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;;EAQA;;;;;EAMA;;;;;;KC/BU;;;;;;;;;UAUK;;;EAGf;;;EAGA;;;;;;;;;;;;UAae;EACf;EACA;;;;EAIA;;;;EAIA;;;EAGA;EACA;;;EAGA;;;;;;UAOe;EACf;EACA;EACA;EACA,WAAW;;EAEX;;;;;;;;;;;;;EAaA;EACA,UAAU;EACV,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