@camstack/types 1.2.442 → 1.2.443

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.
@@ -6755,6 +6755,7 @@ var CAP_NAMES = Object.freeze([
6755
6755
  "network-link",
6756
6756
  "network-quality",
6757
6757
  "node-certificates",
6758
+ "node-removal-hook",
6758
6759
  "nodes",
6759
6760
  "notification-output",
6760
6761
  "notification-rules",
@@ -6755,6 +6755,7 @@ var CAP_NAMES = Object.freeze([
6755
6755
  "network-link",
6756
6756
  "network-quality",
6757
6757
  "node-certificates",
6758
+ "node-removal-hook",
6758
6759
  "nodes",
6759
6760
  "notification-output",
6760
6761
  "notification-rules",
@@ -66,8 +66,8 @@ export interface AgentPipelineSettings {
66
66
  * Placement capabilities (placement-model-design §6) — the per-node record
67
67
  * that replaced the four flat orchestrator lists (`enabledNodes`,
68
68
  * `enabledDecoderNodes`, `enabledAudioNodes`, `remoteSourcingNodes`). Each
69
- * flag is optional; an absent flag inherits the node default (`hub` →
70
- * capable, every other node → not). The orchestrator derives its
69
+ * flag is optional; an absent flag is ON for every node (only an
70
+ * explicit `false` turns a role off). The orchestrator derives its
71
71
  * enabled-node sets from these flags across the cluster.
72
72
  */
73
73
  readonly detect?: boolean;
@@ -12,7 +12,7 @@
12
12
  */
13
13
  /** The admin-ui route the hub's OAuth completions land on (relative to its mount). */
14
14
  export declare const OAUTH_LANDING_PATH = "/sso-complete";
15
- export declare const OAUTH_LANDING_REASONS: readonly ['access_denied', 'invalid_state', 'invalid_request', 'unknown_broker', 'not_configured', 'exchange_failed', 'no_refresh_token', 'unavailable', 'unknown'];
15
+ export declare const OAUTH_LANDING_REASONS: readonly ['access_denied', 'invalid_state', 'invalid_request', 'unknown_broker', 'not_configured', 'exchange_failed', 'no_authorization_code', 'no_refresh_token', 'unavailable', 'unknown'];
16
16
  export type OauthLandingReason = (typeof OAUTH_LANDING_REASONS)[number];
17
17
  export declare function isOauthLandingReason(value: unknown): value is OauthLandingReason;
18
18
  export interface OauthLandingOutcome {
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Names-only trace of one proxied login request (D955). A sign-in that loses a parameter on
3
+ * the way (an OAuth extension, a hidden field) is invisible in the page flow; this says WHICH
4
+ * request still carried it. Everything here is a NAME, a count, a status or a boolean: no
5
+ * query value, form value, cookie value or attempt id ever leaves this module.
6
+ */
7
+ /** The most trace lines one login attempt writes; an attempt lives minutes, this is a backstop. */
8
+ export declare const FLOW_TRACE_MAX_LINES = 200;
9
+ export interface FlowTraceInput {
10
+ readonly attemptId: string;
11
+ readonly method: string;
12
+ readonly upstreamHost: string;
13
+ readonly upstreamPath: string;
14
+ readonly requestSearch: string;
15
+ /** The raw urlencoded request body of a form POST, or null. */
16
+ readonly formBody: string | null;
17
+ readonly contentType: string | undefined;
18
+ readonly status: number;
19
+ readonly location: string | null;
20
+ readonly setCookies: readonly string[];
21
+ readonly cookieHeader: string | undefined;
22
+ }
23
+ /** A short stable label for the attempt: enough to group lines, useless as a capability. */
24
+ export declare function attemptLabel(attemptId: string): string;
25
+ /** Distinct parameter names of a `?a=1&b=2` string (or of a urlencoded body), in order. */
26
+ export declare function paramNames(query: string): string[];
27
+ export declare function hasOa2(names: readonly string[]): boolean;
28
+ /** The `meta` of one trace line. Values: never. */
29
+ export declare function flowTraceMeta(input: FlowTraceInput): Record<string, string | number | boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.442",
3
+ "version": "1.2.443",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",