@kici-dev/orchestrator 0.20.0 → 0.21.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.
@@ -491,6 +491,8 @@ export declare class AdminApiClient {
491
491
  workflowName?: string;
492
492
  repo?: string;
493
493
  since?: string;
494
+ /** Only runs whose id starts with these characters. */
495
+ runIdPrefix?: string;
494
496
  limit?: number;
495
497
  offset?: number;
496
498
  }): Promise<{
@@ -7,6 +7,8 @@ import { type AgentStepLogs } from '@kici-dev/engine';
7
7
  * recorded, or a log is stored and holds nothing. `null` when the step has
8
8
  * lines, or when the orchestrator does not report which case applies.
9
9
  */
10
- export declare function emptyStepLogNote(stepIndex: number, logs: Pick<AgentStepLogs, 'totalLines' | 'recorded'>): string | null;
10
+ export declare function emptyStepLogNote(
11
+ /** The step index, or an init step's `init[<n>]` label. */
12
+ step: number | string, logs: Pick<AgentStepLogs, 'totalLines' | 'recorded'>): string | null;
11
13
  export declare function registerRunsCommands(program: Command, getClient: () => AdminApiClient): void;
12
14
  //# sourceMappingURL=runs.d.ts.map
@@ -0,0 +1,4 @@
1
+ import type { AdminApiClient } from '../../api-client.js';
2
+ /** The full run id `ref` names; a prefix resolves through the run list. */
3
+ export declare function resolveRunRef(client: AdminApiClient, ref: string): Promise<string>;
4
+ //# sourceMappingURL=run-ref.d.ts.map
@@ -2,7 +2,7 @@
2
2
  * `kici-admin source` commands: webhook source CRUD. A secret flag takes a
3
3
  * literal value, `@/path/file`, `--from-env <VAR_NAME>` or `--stdin`.
4
4
  */
5
- import type { Command } from 'commander';
5
+ import { type Command } from 'commander';
6
6
  import type { AdminApiClient } from '../api-client.js';
7
7
  /** Satisfied by both the HTTP `GenericSourceResponse` and the DB `GenericWebhookSource`. */
8
8
  interface ListableGenericRow {