@makinbakin/sdk 0.0.1-rc.16 → 0.0.1-rc.18

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.
@@ -1,7 +1,7 @@
1
1
  import { useRender } from "@base-ui/react/use-render";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  declare const badgeVariants: (props?: ({
4
- variant?: "destructive" | "link" | "default" | "outline" | "secondary" | "ghost" | null | undefined;
4
+ variant?: "destructive" | "default" | "link" | "outline" | "secondary" | "ghost" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  declare function Badge({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
7
7
  export { Badge, badgeVariants };
@@ -1,7 +1,7 @@
1
1
  import { Button as ButtonPrimitive } from "@base-ui/react/button";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "info" | "destructive" | "link" | "default" | "outline" | "secondary" | "ghost" | "warning" | "accent" | null | undefined;
4
+ variant?: "info" | "destructive" | "default" | "link" | "outline" | "secondary" | "ghost" | "warning" | "accent" | null | undefined;
5
5
  size?: "default" | "sm" | "lg" | "icon" | "xs" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  declare function Button({ className, variant, size, ...props }: ButtonPrimitive.Props & VariantProps<typeof buttonVariants>): import("react/jsx-runtime").JSX.Element;
@@ -35,9 +35,10 @@ export interface ScheduleJob {
35
35
  export interface RunEntry {
36
36
  runId: string;
37
37
  timestamp: string;
38
- status: 'success' | 'failure' | 'skipped';
38
+ status: 'success' | 'failure' | 'skipped' | 'pending';
39
39
  taskId?: string;
40
40
  error?: string;
41
+ skippedReason?: string;
41
42
  }
42
43
  interface UseScheduleOptions {
43
44
  agent?: string;
@@ -0,0 +1,17 @@
1
+ /** One dispatch attempt for a task (mirrors plugins/tasks TaskRunEntry). */
2
+ export interface TaskRunEntry {
3
+ runId: string;
4
+ taskId: string;
5
+ seq: number;
6
+ agent: string;
7
+ status: 'running' | 'settled' | 'superseded' | 'lost';
8
+ startedAt: string;
9
+ settledAt?: string;
10
+ settleReason?: string;
11
+ durationMs?: number;
12
+ }
13
+ /** Fetch a task's dispatch run history (newest-first) from the execution ledger. */
14
+ export declare function useTaskRunHistory(taskId: string | null, limit?: number): {
15
+ runs: TaskRunEntry[];
16
+ loading: boolean;
17
+ };
@@ -286,7 +286,7 @@ export type RuntimeImageBackground = 'transparent' | 'opaque' | 'auto';
286
286
  * provider with a defaultModel); a rich runtime fills more. Consumers MUST
287
287
  * treat a sparse capability as normal and never require a field a thin runtime
288
288
  * cannot provide — gaps are filled below, in the adapter/shim, not pushed up
289
- * into plugins. See .claude/specs/media-generation-adapter-architecture.md.
289
+ * into plugins. See .claude/knowledge/media-generation-adapter-architecture.md.
290
290
  */
291
291
  export interface RuntimeImageProviderCapabilities {
292
292
  generate?: {
@@ -30,6 +30,7 @@ export interface BakinPaths {
30
30
  workflows: string;
31
31
  settings: string;
32
32
  logs: string;
33
+ db: string;
33
34
  }
34
35
  export declare function getBakinPaths(): BakinPaths;
35
36
  /**
@@ -473,7 +473,10 @@ export interface AssetCreateInput {
473
473
  };
474
474
  generation?: AssetGenerationInfo | null;
475
475
  }
476
- /** Append a new version to an existing asset. */
476
+ /**
477
+ * Append a new version to an existing asset. Note: no `tags` — tags are an
478
+ * asset-level organizational namespace that versioning never touches.
479
+ */
477
480
  export interface AssetVersionCreateInput {
478
481
  sourceFilePath: string;
479
482
  op?: 'edit' | 'generate' | 'upload' | 'import';
@@ -481,7 +484,6 @@ export interface AssetVersionCreateInput {
481
484
  prompt?: string | null;
482
485
  promptHash?: string | null;
483
486
  description?: string;
484
- tags?: string[];
485
487
  generation?: AssetGenerationInfo | null;
486
488
  }
487
489
  /** Render a derived export of a version (keyed/idempotent by surface). */