@wayai/cli 0.2.13 → 0.2.14

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,6 +1,35 @@
1
1
  /**
2
2
  * Shared types for the CLI — mirrors backend CI types
3
3
  */
4
+ /** Keep in sync with workers/backend/src/routes/api/ci/types.ts — cannot import due to separate deployment bundle. */
5
+ export interface HubAsCodeKanbanFollowup {
6
+ id?: string;
7
+ order: number;
8
+ type: 'inactivity' | 'before_event';
9
+ threshold: number;
10
+ timeUnit: 'seconds' | 'minutes' | 'hours' | 'days';
11
+ message: string;
12
+ excludedWeekDays?: number[];
13
+ excludeHolidays?: boolean;
14
+ excludedTimeStart?: string;
15
+ excludedTimeEnd?: string;
16
+ }
17
+ /** Keep in sync with workers/backend/src/routes/api/ci/types.ts — cannot import due to separate deployment bundle. */
18
+ export interface HubAsCodeKanbanStatus {
19
+ id?: string;
20
+ name: string;
21
+ order?: number;
22
+ color?: string;
23
+ isInitialStatus?: boolean;
24
+ triggersAgentResponse?: boolean;
25
+ allowsAgentUpdate?: boolean;
26
+ isTerminalStatus?: boolean;
27
+ isSchedulingStatus?: boolean;
28
+ eventName?: string;
29
+ additional_instructions?: string;
30
+ label_additional_context?: string;
31
+ followups?: HubAsCodeKanbanFollowup[];
32
+ }
4
33
  export interface HubAsCodePayload {
5
34
  version: number;
6
35
  hub_id: string;
@@ -21,9 +50,7 @@ export interface HubAsCodePayload {
21
50
  inactivity_interval?: number;
22
51
  followup_message?: string;
23
52
  hub_sla?: Record<string, number>;
24
- kanban_statuses?: Array<{
25
- name: string;
26
- }>;
53
+ kanban_statuses?: HubAsCodeKanbanStatus[];
27
54
  };
28
55
  agents?: HubAsCodeAgent[];
29
56
  resources?: HubAsCodeResource[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wayai/cli",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "WayAI CLI — sync hub configuration between local files and the platform",
5
5
  "type": "module",
6
6
  "bin": {