@camstack/types 1.2.441 → 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.
- package/CHANGELOG.md +19 -0
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/index.d.ts +4 -1
- package/dist/capabilities/node-removal-hook.cap.d.ts +67 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +1 -2
- package/dist/{composition-DCmtFE-X.js → composition-C0dlyG9U.js} +17 -0
- package/dist/{composition-DpFv_J6D.mjs → composition-bIBW5_13.mjs} +12 -1
- package/dist/ffmpeg/invocation.d.ts +9 -0
- package/dist/generated/addon-api.d.ts +15 -0
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/index.js +192 -7
- package/dist/index.mjs +189 -8
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/{sleep-DJws6ho7.mjs → sleep-C_u6cEAJ.mjs} +1 -0
- package/dist/{sleep-BpwNJ1Su.js → sleep-E7qAQwTE.js} +1 -0
- package/dist/types/agent-pipeline-settings.d.ts +2 -2
- package/dist/utils/oauth-landing.d.ts +1 -1
- package/dist/vendor-login-proxy/flow-trace.d.ts +29 -0
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -21,7 +21,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
21
|
enumerable: true
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
//#endregion
|
|
24
|
-
const require_composition = require("./composition-
|
|
24
|
+
const require_composition = require("./composition-C0dlyG9U.js");
|
|
25
25
|
const require_err_msg = require("./err-msg-COHgq7Mb.js");
|
|
26
26
|
let node_crypto = require("node:crypto");
|
|
27
27
|
let node_fs = require("node:fs");
|
package/dist/node.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as compositionSourceKey, Fn as FFMPEG_RELEASE, In as getFfmpegArtifact, Ln as getFfmpegDownloadUrl, Mn as FFMPEG_PATH_ENV, Nn as chooseFfmpegBinary, Pn as ffmpegBinaryName, Rn as canonicalHash,
|
|
1
|
+
import { F as compositionSourceKey, Fn as FFMPEG_RELEASE, In as getFfmpegArtifact, Jn as isSoftwareDecode, Ln as getFfmpegDownloadUrl, Mn as FFMPEG_PATH_ENV, Nn as chooseFfmpegBinary, Pn as ffmpegBinaryName, Rn as canonicalHash, Wn as buildFfmpegArgs, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, zn as Fmp4BoxSplitter } from "./composition-bIBW5_13.mjs";
|
|
2
2
|
import { t as errMsg } from "./err-msg-BCdlR2Li.mjs";
|
|
3
3
|
import { createHash, createHmac, randomUUID, timingSafeEqual } from "node:crypto";
|
|
4
4
|
import * as fs from "node:fs";
|
|
@@ -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
|
|
70
|
-
*
|
|
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>;
|