@hop-top/kit 0.5.0-alpha.1 → 0.5.0-alpha.3

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 (107) hide show
  1. package/CHANGELOG.md +107 -0
  2. package/README.md +333 -9
  3. package/dist/aim-CTp-kJW2.d.ts +139 -0
  4. package/dist/aim.d.ts +1 -116
  5. package/dist/alias-dhhr08Ei.d.ts +88 -0
  6. package/dist/alias.d.ts +2 -73
  7. package/dist/api-miiso81x.d.ts +77 -0
  8. package/dist/api.d.ts +1 -62
  9. package/dist/auth-2-jfgiHn.d.ts +34 -0
  10. package/dist/auth.d.ts +1 -26
  11. package/dist/cli-DLygZLi9.d.ts +450 -0
  12. package/dist/cli.d.ts +6 -309
  13. package/dist/cli.js +192 -63
  14. package/dist/config-BUY7_W2n.d.ts +103 -0
  15. package/dist/config.d.ts +1 -97
  16. package/dist/errcorrect-BcX1Ft0K.d.ts +44 -0
  17. package/dist/errcorrect.d.ts +1 -37
  18. package/dist/error-DISJKeDu.d.ts +144 -0
  19. package/dist/id/index.d.ts +2 -83
  20. package/dist/index-Bc5c7Ty5.d.ts +328 -0
  21. package/dist/index-C3Zw4wDJ.d.ts +359 -0
  22. package/dist/index-MLrRDvEG.d.ts +1073 -0
  23. package/dist/index-QSffbLnj.d.ts +94 -0
  24. package/dist/index.d.ts +28 -0
  25. package/dist/index.js +6794 -0
  26. package/dist/llm-B5XUWH8T.d.ts +231 -0
  27. package/dist/llm.d.ts +1 -188
  28. package/dist/mcp/index.d.ts +2 -0
  29. package/dist/mcp/index.js +1453 -0
  30. package/dist/netpolicy-asvCfwi8.d.ts +138 -0
  31. package/dist/netpolicy.d.ts +1 -0
  32. package/dist/netpolicy.js +118 -0
  33. package/dist/output-4aXs91GY.d.ts +396 -0
  34. package/dist/output.d.ts +3 -213
  35. package/dist/output.js +567 -43
  36. package/dist/progress-CAzyxeWl.d.ts +38 -0
  37. package/dist/progress.d.ts +1 -30
  38. package/dist/provenance-SMFHm5gx.d.ts +30 -0
  39. package/dist/provenance.d.ts +1 -24
  40. package/dist/routellm-PGSt2D1y.d.ts +75 -0
  41. package/dist/routellm.d.ts +2 -64
  42. package/dist/rpc-D5xLEf8V.d.ts +32 -0
  43. package/dist/rpc.d.ts +2 -25
  44. package/dist/safety-CUaYEjZc.d.ts +30 -0
  45. package/dist/safety.d.ts +1 -24
  46. package/dist/scope-BrhYB4ij.d.ts +141 -0
  47. package/dist/scope.d.ts +1 -121
  48. package/dist/serve-DE-jscpb.d.ts +646 -0
  49. package/dist/serve.d.ts +3 -0
  50. package/dist/serve.js +1019 -0
  51. package/dist/stream-CrjeCp0M.d.ts +44 -0
  52. package/dist/stream.d.ts +1 -35
  53. package/dist/telemetry/index.d.ts +1 -315
  54. package/dist/telemetry/index.js +12 -1
  55. package/dist/tui/index.d.ts +5 -298
  56. package/dist/tui/index.js +3 -10
  57. package/dist/upgrade-p_zh3pvV.d.ts +102 -0
  58. package/dist/upgrade.d.ts +1 -95
  59. package/dist/xdg-DB7Shoib.d.ts +179 -0
  60. package/dist/xdg.d.ts +1 -169
  61. package/package.json +26 -3
  62. package/src/cli.offline.test.ts +93 -0
  63. package/src/cli.parity.test.ts +192 -0
  64. package/src/cli.ts +112 -12
  65. package/src/index.test.ts +58 -0
  66. package/src/index.ts +37 -0
  67. package/src/log.parity.test.ts +105 -0
  68. package/src/log.ts +64 -13
  69. package/src/mcp/bridge.test.ts +150 -0
  70. package/src/mcp/bridge.ts +246 -0
  71. package/src/mcp/conformance.test.ts +336 -0
  72. package/src/mcp/dispatch.ts +313 -0
  73. package/src/mcp/index.ts +138 -0
  74. package/src/mcp/legacy.ts +314 -0
  75. package/src/mcp/mcp.test.ts +697 -0
  76. package/src/mcp/modern-confirm.test.ts +520 -0
  77. package/src/mcp/modern-confirm.ts +452 -0
  78. package/src/mcp/modern.ts +723 -0
  79. package/src/mcp/tasks.ts +82 -0
  80. package/src/mcp/testtree.ts +250 -0
  81. package/src/mcp/types.ts +504 -0
  82. package/src/netpolicy.test.ts +202 -0
  83. package/src/netpolicy.ts +231 -0
  84. package/src/output/dispatch.ts +10 -2
  85. package/src/output/error.ts +316 -0
  86. package/src/output/formatter.ts +29 -5
  87. package/src/output/formatters/csv.ts +48 -12
  88. package/src/output/formatters/json.ts +4 -25
  89. package/src/output/formatters/project.ts +34 -0
  90. package/src/output/formatters/table.ts +8 -6
  91. package/src/output/formatters/text.ts +7 -3
  92. package/src/output/formatters/yaml.ts +5 -22
  93. package/src/output/projection.test.ts +298 -0
  94. package/src/output/projection.ts +33 -59
  95. package/src/output/template.ts +11 -21
  96. package/src/output.surface.test.ts +41 -0
  97. package/src/output.ts +41 -3
  98. package/src/serve.test.ts +1257 -0
  99. package/src/serve.ts +1665 -0
  100. package/src/telemetry/client.test.ts +31 -0
  101. package/src/telemetry/client.ts +7 -1
  102. package/src/telemetry/offline.test.ts +64 -0
  103. package/src/tui/parity.test.ts +120 -31
  104. package/src/tui/parity.ts +58 -7
  105. package/test/output/csv.test.ts +164 -0
  106. package/test/output/error.test.ts +246 -0
  107. package/src/tui/parity.json +0 -74
package/dist/aim.d.ts CHANGED
@@ -1,116 +1 @@
1
- interface Modalities {
2
- input?: string[];
3
- output?: string[];
4
- }
5
- interface Limit {
6
- context?: number;
7
- output?: number;
8
- }
9
- interface Cost {
10
- input?: number;
11
- output?: number;
12
- }
13
- interface Model {
14
- id: string;
15
- name: string;
16
- provider?: string;
17
- family?: string;
18
- input: string[];
19
- output: string[];
20
- tool_call: boolean;
21
- reasoning: boolean;
22
- open_weights: boolean;
23
- context: number;
24
- maxOutput: number;
25
- costInput: number;
26
- costOutput: number;
27
- modalities?: Modalities;
28
- limit?: Limit;
29
- cost?: Cost;
30
- }
31
- interface Provider {
32
- id: string;
33
- name: string;
34
- models: Record<string, Model>;
35
- }
36
- interface Filter {
37
- input?: string;
38
- output?: string;
39
- provider?: string;
40
- family?: string;
41
- toolCall?: boolean;
42
- reasoning?: boolean;
43
- openWeights?: boolean;
44
- query?: string;
45
- }
46
- /** Flatten nested wire fields into top-level Model fields. */
47
- declare function normalize(m: Model): Model;
48
- interface Source {
49
- fetch(signal?: AbortSignal): Promise<Record<string, Provider>>;
50
- }
51
- interface ETagSource extends Source {
52
- fetchWithETag(etag: string, signal?: AbortSignal): Promise<{
53
- providers: Record<string, Provider> | null;
54
- etag: string;
55
- notModified: boolean;
56
- }>;
57
- }
58
- interface ModelsDevSourceOptions {
59
- url?: string;
60
- timeout?: number;
61
- maxSize?: number;
62
- }
63
- declare class ModelsDevSource implements ETagSource {
64
- private url;
65
- private timeout;
66
- private maxSize;
67
- constructor(opts?: ModelsDevSourceOptions);
68
- private doFetch;
69
- private readBody;
70
- fetch(signal?: AbortSignal): Promise<Record<string, Provider>>;
71
- fetchWithETag(etag: string, signal?: AbortSignal): Promise<{
72
- providers: null;
73
- etag: string;
74
- notModified: true;
75
- } | {
76
- providers: Record<string, Provider>;
77
- notModified: false;
78
- etag: string;
79
- }>;
80
- }
81
- interface CacheOptions {
82
- ttl?: number;
83
- dir?: string;
84
- }
85
- declare class Cache implements Source {
86
- private src;
87
- private ttl;
88
- private dir;
89
- constructor(src: Source, opts?: CacheOptions);
90
- fetch(signal?: AbortSignal): Promise<Record<string, Provider>>;
91
- forceRefresh(signal?: AbortSignal): Promise<Record<string, Provider>>;
92
- private refresh;
93
- private load;
94
- private store;
95
- private readFile;
96
- private writeFile;
97
- }
98
- declare function parseQuery(q: string): Filter;
99
- interface RegistryOptions {
100
- sources?: Source[];
101
- cacheDir?: string;
102
- cacheTTL?: number;
103
- }
104
- declare class Registry {
105
- private cache;
106
- private providers;
107
- constructor(opts?: RegistryOptions);
108
- ensure(): Promise<void>;
109
- refresh(): Promise<void>;
110
- getProviders(): Promise<Provider[]>;
111
- models(f: Filter): Promise<Model[]>;
112
- get(provider: string, model: string): Promise<Model | undefined>;
113
- query(q: string): Promise<Model[]>;
114
- }
115
-
116
- export { Cache, type CacheOptions, type Cost, type ETagSource, type Filter, type Limit, type Modalities, type Model, ModelsDevSource, type ModelsDevSourceOptions, type Provider, Registry, type RegistryOptions, type Source, normalize, parseQuery };
1
+ export { C as Cache, a as CacheOptions, b as Cost, E as ETagSource, F as Filter, L as Limit, M as Modalities, c as Model, d as ModelsDevSource, e as ModelsDevSourceOptions, P as Provider, R as Registry, f as RegistryOptions, S as Source, n as normalize, p as parseQuery } from './aim-CTp-kJW2.js';
@@ -0,0 +1,88 @@
1
+ import { Command } from 'commander';
2
+
3
+ /**
4
+ * alias.ts — YAML-file-based command alias expansion.
5
+ *
6
+ * Port of Go's cli/alias package. Aliases live in per-tool YAML
7
+ * config files with three-tier priority: seeded < global < local.
8
+ */
9
+
10
+ type AliasMap = Record<string, string>;
11
+ interface ExpanderConfig {
12
+ globalPath: string;
13
+ localPath: string;
14
+ seededAliases?: AliasMap;
15
+ builtins?: Set<string>;
16
+ }
17
+ /** Read aliases from a single YAML config file. */
18
+ declare function loadFrom(filePath: string): AliasMap;
19
+ /** Write aliases into a YAML config file, preserving other keys. */
20
+ declare function saveTo(filePath: string, aliases: AliasMap): void;
21
+ /**
22
+ * Find the first non-flag element in a slice.
23
+ * Returns [index, value]. Flags with `=` are self-contained;
24
+ * short flags without `=` consume the next element as their value.
25
+ */
26
+ declare function findFirstNonFlag(slice: string[]): [number, string];
27
+ /**
28
+ * Simple single-file alias store with load/save, set/get/remove,
29
+ * and first-arg expansion.
30
+ */
31
+ declare class AliasStore {
32
+ private filePath;
33
+ private aliases;
34
+ constructor(filePath: string);
35
+ load(): void;
36
+ save(): void;
37
+ set(name: string, target: string): void;
38
+ remove(name: string): void;
39
+ get(name: string): string | undefined;
40
+ /** Returns a shallow copy. */
41
+ all(): AliasMap;
42
+ /** Expand first arg if it matches an alias. */
43
+ expand(args: string[]): string[];
44
+ }
45
+ /**
46
+ * Three-tier alias expander matching Go's Expander.
47
+ * Priority: seeded < global < local.
48
+ */
49
+ declare class Expander {
50
+ private cfg;
51
+ constructor(cfg: ExpanderConfig);
52
+ /** Merged alias map (seeded < global < local). */
53
+ load(): AliasMap;
54
+ /**
55
+ * Rewrite args if args[1] (or first non-flag arg) matches
56
+ * an alias. Returns [rewrittenArgs, wasExpanded].
57
+ */
58
+ expand(args: string[]): [string[], boolean];
59
+ /** Reject names that shadow builtins or contain whitespace. */
60
+ validateName(name: string): void;
61
+ }
62
+ /** Walk the Commander program tree to find a command by space-delimited path. */
63
+ declare function findCommand(program: Command, cmdPath: string): Command | undefined;
64
+ /**
65
+ * Register loaded aliases with Commander's native .alias() API.
66
+ *
67
+ * Simple single-command aliases use Commander's built-in .alias(),
68
+ * giving free completion and help display. Multi-word or unresolved
69
+ * targets get a hidden proxy command that re-parses with expanded args.
70
+ */
71
+ declare function bridgeAliases(program: Command, store: AliasStore): void;
72
+
73
+ type alias_AliasMap = AliasMap;
74
+ type alias_AliasStore = AliasStore;
75
+ declare const alias_AliasStore: typeof AliasStore;
76
+ type alias_Expander = Expander;
77
+ declare const alias_Expander: typeof Expander;
78
+ type alias_ExpanderConfig = ExpanderConfig;
79
+ declare const alias_bridgeAliases: typeof bridgeAliases;
80
+ declare const alias_findCommand: typeof findCommand;
81
+ declare const alias_findFirstNonFlag: typeof findFirstNonFlag;
82
+ declare const alias_loadFrom: typeof loadFrom;
83
+ declare const alias_saveTo: typeof saveTo;
84
+ declare namespace alias {
85
+ export { type alias_AliasMap as AliasMap, alias_AliasStore as AliasStore, alias_Expander as Expander, type alias_ExpanderConfig as ExpanderConfig, alias_bridgeAliases as bridgeAliases, alias_findCommand as findCommand, alias_findFirstNonFlag as findFirstNonFlag, alias_loadFrom as loadFrom, alias_saveTo as saveTo };
86
+ }
87
+
88
+ export { type AliasMap as A, Expander as E, AliasStore as a, type ExpanderConfig as b, alias as c, bridgeAliases as d, findFirstNonFlag as e, findCommand as f, loadFrom as l, saveTo as s };
package/dist/alias.d.ts CHANGED
@@ -1,73 +1,2 @@
1
- import { Command } from 'commander';
2
-
3
- /**
4
- * alias.ts — YAML-file-based command alias expansion.
5
- *
6
- * Port of Go's cli/alias package. Aliases live in per-tool YAML
7
- * config files with three-tier priority: seeded < global < local.
8
- */
9
-
10
- type AliasMap = Record<string, string>;
11
- interface ExpanderConfig {
12
- globalPath: string;
13
- localPath: string;
14
- seededAliases?: AliasMap;
15
- builtins?: Set<string>;
16
- }
17
- /** Read aliases from a single YAML config file. */
18
- declare function loadFrom(filePath: string): AliasMap;
19
- /** Write aliases into a YAML config file, preserving other keys. */
20
- declare function saveTo(filePath: string, aliases: AliasMap): void;
21
- /**
22
- * Find the first non-flag element in a slice.
23
- * Returns [index, value]. Flags with `=` are self-contained;
24
- * short flags without `=` consume the next element as their value.
25
- */
26
- declare function findFirstNonFlag(slice: string[]): [number, string];
27
- /**
28
- * Simple single-file alias store with load/save, set/get/remove,
29
- * and first-arg expansion.
30
- */
31
- declare class AliasStore {
32
- private filePath;
33
- private aliases;
34
- constructor(filePath: string);
35
- load(): void;
36
- save(): void;
37
- set(name: string, target: string): void;
38
- remove(name: string): void;
39
- get(name: string): string | undefined;
40
- /** Returns a shallow copy. */
41
- all(): AliasMap;
42
- /** Expand first arg if it matches an alias. */
43
- expand(args: string[]): string[];
44
- }
45
- /**
46
- * Three-tier alias expander matching Go's Expander.
47
- * Priority: seeded < global < local.
48
- */
49
- declare class Expander {
50
- private cfg;
51
- constructor(cfg: ExpanderConfig);
52
- /** Merged alias map (seeded < global < local). */
53
- load(): AliasMap;
54
- /**
55
- * Rewrite args if args[1] (or first non-flag arg) matches
56
- * an alias. Returns [rewrittenArgs, wasExpanded].
57
- */
58
- expand(args: string[]): [string[], boolean];
59
- /** Reject names that shadow builtins or contain whitespace. */
60
- validateName(name: string): void;
61
- }
62
- /** Walk the Commander program tree to find a command by space-delimited path. */
63
- declare function findCommand(program: Command, cmdPath: string): Command | undefined;
64
- /**
65
- * Register loaded aliases with Commander's native .alias() API.
66
- *
67
- * Simple single-command aliases use Commander's built-in .alias(),
68
- * giving free completion and help display. Multi-word or unresolved
69
- * targets get a hidden proxy command that re-parses with expanded args.
70
- */
71
- declare function bridgeAliases(program: Command, store: AliasStore): void;
72
-
73
- export { type AliasMap, AliasStore, Expander, type ExpanderConfig, bridgeAliases, findCommand, findFirstNonFlag, loadFrom, saveTo };
1
+ import 'commander';
2
+ export { A as AliasMap, a as AliasStore, E as Expander, b as ExpanderConfig, d as bridgeAliases, f as findCommand, e as findFirstNonFlag, l as loadFrom, s as saveTo } from './alias-dhhr08Ei.js';
@@ -0,0 +1,77 @@
1
+ /**
2
+ * Typed REST API client + WebSocket client for kit services.
3
+ *
4
+ * Mirrors Go-side api.Service[T] (CRUD) and api.WSMessage (pub/sub).
5
+ */
6
+ interface Entity {
7
+ id: string;
8
+ }
9
+ interface Query {
10
+ limit?: number;
11
+ offset?: number;
12
+ sort?: string;
13
+ search?: string;
14
+ }
15
+ interface APIError {
16
+ status: number;
17
+ code: string;
18
+ message: string;
19
+ }
20
+ interface WSMessage {
21
+ type: string;
22
+ topic: string;
23
+ payload: unknown;
24
+ }
25
+ declare class APIRequestError extends Error implements APIError {
26
+ status: number;
27
+ code: string;
28
+ constructor(err: APIError);
29
+ }
30
+ interface APIClientOptions {
31
+ auth?: string;
32
+ fetch?: typeof globalThis.fetch;
33
+ }
34
+ declare class APIClient<T extends Entity> {
35
+ private baseURL;
36
+ private auth?;
37
+ private fetchFn;
38
+ constructor(baseURL: string, opts?: APIClientOptions);
39
+ private headers;
40
+ private request;
41
+ create(entity: Omit<T, "id"> | T): Promise<T>;
42
+ get(id: string): Promise<T>;
43
+ list(q?: Query): Promise<T[]>;
44
+ update(entity: T): Promise<T>;
45
+ delete(id: string): Promise<void>;
46
+ }
47
+ type MessageHandler = (msg: WSMessage) => void;
48
+ declare class WSClient {
49
+ private url;
50
+ private ws?;
51
+ private handlers;
52
+ constructor(url: string);
53
+ private static resolveWS;
54
+ connect(): Promise<void>;
55
+ subscribe(topic: string): void;
56
+ unsubscribe(topic: string): void;
57
+ onMessage(fn: MessageHandler): void;
58
+ close(): void;
59
+ private send;
60
+ }
61
+
62
+ type api_APIClient<T extends Entity> = APIClient<T>;
63
+ declare const api_APIClient: typeof APIClient;
64
+ type api_APIClientOptions = APIClientOptions;
65
+ type api_APIError = APIError;
66
+ type api_APIRequestError = APIRequestError;
67
+ declare const api_APIRequestError: typeof APIRequestError;
68
+ type api_Entity = Entity;
69
+ type api_Query = Query;
70
+ type api_WSClient = WSClient;
71
+ declare const api_WSClient: typeof WSClient;
72
+ type api_WSMessage = WSMessage;
73
+ declare namespace api {
74
+ export { api_APIClient as APIClient, type api_APIClientOptions as APIClientOptions, type api_APIError as APIError, api_APIRequestError as APIRequestError, type api_Entity as Entity, type api_Query as Query, api_WSClient as WSClient, type api_WSMessage as WSMessage };
75
+ }
76
+
77
+ export { APIClient as A, type Entity as E, type Query as Q, WSClient as W, type APIClientOptions as a, type APIError as b, APIRequestError as c, type WSMessage as d, api as e };
package/dist/api.d.ts CHANGED
@@ -1,62 +1 @@
1
- /**
2
- * Typed REST API client + WebSocket client for kit services.
3
- *
4
- * Mirrors Go-side api.Service[T] (CRUD) and api.WSMessage (pub/sub).
5
- */
6
- interface Entity {
7
- id: string;
8
- }
9
- interface Query {
10
- limit?: number;
11
- offset?: number;
12
- sort?: string;
13
- search?: string;
14
- }
15
- interface APIError {
16
- status: number;
17
- code: string;
18
- message: string;
19
- }
20
- interface WSMessage {
21
- type: string;
22
- topic: string;
23
- payload: unknown;
24
- }
25
- declare class APIRequestError extends Error implements APIError {
26
- status: number;
27
- code: string;
28
- constructor(err: APIError);
29
- }
30
- interface APIClientOptions {
31
- auth?: string;
32
- fetch?: typeof globalThis.fetch;
33
- }
34
- declare class APIClient<T extends Entity> {
35
- private baseURL;
36
- private auth?;
37
- private fetchFn;
38
- constructor(baseURL: string, opts?: APIClientOptions);
39
- private headers;
40
- private request;
41
- create(entity: Omit<T, "id"> | T): Promise<T>;
42
- get(id: string): Promise<T>;
43
- list(q?: Query): Promise<T[]>;
44
- update(entity: T): Promise<T>;
45
- delete(id: string): Promise<void>;
46
- }
47
- type MessageHandler = (msg: WSMessage) => void;
48
- declare class WSClient {
49
- private url;
50
- private ws?;
51
- private handlers;
52
- constructor(url: string);
53
- private static resolveWS;
54
- connect(): Promise<void>;
55
- subscribe(topic: string): void;
56
- unsubscribe(topic: string): void;
57
- onMessage(fn: MessageHandler): void;
58
- close(): void;
59
- private send;
60
- }
61
-
62
- export { APIClient, type APIClientOptions, type APIError, APIRequestError, type Entity, type Query, WSClient, type WSMessage };
1
+ export { A as APIClient, a as APIClientOptions, b as APIError, c as APIRequestError, E as Entity, Q as Query, W as WSClient, d as WSMessage } from './api-miiso81x.js';
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @module auth
3
+ * @package @hop-top/kit
4
+ *
5
+ * Factor 12 — Auth and Credential Lifecycle.
6
+ *
7
+ * Provides introspection and refresh for credentials.
8
+ * NoAuth is the zero-value implementation.
9
+ */
10
+ interface Credential {
11
+ source: string;
12
+ identity: string;
13
+ scopes: string[];
14
+ expiresAt?: string;
15
+ renewable: boolean;
16
+ }
17
+ interface AuthIntrospector {
18
+ inspect(): Promise<Credential>;
19
+ refresh(): Promise<void>;
20
+ }
21
+ declare class NoAuth implements AuthIntrospector {
22
+ inspect(): Promise<Credential>;
23
+ refresh(): Promise<void>;
24
+ }
25
+
26
+ type auth_AuthIntrospector = AuthIntrospector;
27
+ type auth_Credential = Credential;
28
+ type auth_NoAuth = NoAuth;
29
+ declare const auth_NoAuth: typeof NoAuth;
30
+ declare namespace auth {
31
+ export { type auth_AuthIntrospector as AuthIntrospector, type auth_Credential as Credential, auth_NoAuth as NoAuth };
32
+ }
33
+
34
+ export { type AuthIntrospector as A, type Credential as C, NoAuth as N, auth as a };
package/dist/auth.d.ts CHANGED
@@ -1,26 +1 @@
1
- /**
2
- * @module auth
3
- * @package @hop-top/kit
4
- *
5
- * Factor 12 — Auth and Credential Lifecycle.
6
- *
7
- * Provides introspection and refresh for credentials.
8
- * NoAuth is the zero-value implementation.
9
- */
10
- interface Credential {
11
- source: string;
12
- identity: string;
13
- scopes: string[];
14
- expiresAt?: string;
15
- renewable: boolean;
16
- }
17
- interface AuthIntrospector {
18
- inspect(): Promise<Credential>;
19
- refresh(): Promise<void>;
20
- }
21
- declare class NoAuth implements AuthIntrospector {
22
- inspect(): Promise<Credential>;
23
- refresh(): Promise<void>;
24
- }
25
-
26
- export { type AuthIntrospector, type Credential, NoAuth };
1
+ export { A as AuthIntrospector, C as Credential, N as NoAuth } from './auth-2-jfgiHn.js';