@kaiban/sdk 0.4.1 → 0.4.16

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.
@@ -50,7 +50,7 @@ function createKaibanClient(config) {
50
50
  teamMembers: new TeamMembersClient_1.TeamMembersClient(http),
51
51
  boards: new BoardsClient_1.BoardsClient(http),
52
52
  resources: new ResourcesClient_1.ResourcesClient(http),
53
- external_channels: new ExternalChannelsClient_1.ExternalChannelsClient(http),
53
+ externalChannels: new ExternalChannelsClient_1.ExternalChannelsClient(http),
54
54
  costs: new ModelCost_1.ModelCost(),
55
55
  };
56
56
  }
@@ -24,6 +24,8 @@ exports.ActivityType = {
24
24
  CARD_CLONED: 'card_cloned',
25
25
  CARD_COLUMN_CHANGED: 'card_column_changed',
26
26
  // A2A task status activities
27
+ // "submitted" | "working" | "input-required" | "completed" | "canceled" | "failed" | "rejected"
28
+ // | "auth-required" | "unknown"
27
29
  A2A_TASK_STATUS_SUBMITTED: 'submitted',
28
30
  A2A_TASK_STATUS_WORKING: 'working',
29
31
  A2A_TASK_STATUS_INPUT_REQUIRED: 'required',
@@ -47,7 +47,7 @@ export function createKaibanClient(config) {
47
47
  teamMembers: new TeamMembersClient(http),
48
48
  boards: new BoardsClient(http),
49
49
  resources: new ResourcesClient(http),
50
- external_channels: new ExternalChannelsClient(http),
50
+ externalChannels: new ExternalChannelsClient(http),
51
51
  costs: new ModelCost(),
52
52
  };
53
53
  }
@@ -21,6 +21,8 @@ export const ActivityType = {
21
21
  CARD_CLONED: 'card_cloned',
22
22
  CARD_COLUMN_CHANGED: 'card_column_changed',
23
23
  // A2A task status activities
24
+ // "submitted" | "working" | "input-required" | "completed" | "canceled" | "failed" | "rejected"
25
+ // | "auth-required" | "unknown"
24
26
  A2A_TASK_STATUS_SUBMITTED: 'submitted',
25
27
  A2A_TASK_STATUS_WORKING: 'working',
26
28
  A2A_TASK_STATUS_INPUT_REQUIRED: 'required',
@@ -33,7 +33,7 @@ export interface KaibanClient {
33
33
  /** Client for managing resources */
34
34
  resources: ResourcesClient;
35
35
  /** Client for managing external channels */
36
- external_channels: ExternalChannelsClient;
36
+ externalChannels: ExternalChannelsClient;
37
37
  /** Client for calculate model usage costs*/
38
38
  costs: ModelCost;
39
39
  }
@@ -24,14 +24,18 @@ export interface Agent {
24
24
  monthly_budget: number;
25
25
  name: string;
26
26
  owner_id: string;
27
- roles?: string[];
27
+ roles: string[];
28
28
  status: (typeof AgentStatus)[keyof typeof AgentStatus];
29
29
  team_id: string;
30
30
  type: (typeof AgentType)[keyof typeof AgentType];
31
- updated_at: ISODate;
32
- active_cards?: number;
33
- created_at?: ISODate;
34
31
  config?: Record<string, unknown>;
32
+ /** Optional alias (e.g. Cursor agent id) for mapping external agents; filterable via list. */
33
+ alias?: string;
34
+ /** Optional alias of the team this agent belongs to (e.g. product-team, backend-team); filterable via list. */
35
+ agent_team_alias?: string;
36
+ created_at: ISODate;
37
+ updated_at?: ISODate;
38
+ active_cards?: number;
35
39
  }
36
40
  export declare const AgentFeedbackStatus: {
37
41
  readonly UNPROCESSED: "unprocessed";
@@ -19,6 +19,9 @@ export interface Board {
19
19
  team_id: string;
20
20
  columns: Column[];
21
21
  allowed_roles: string[];
22
+ tags: string[];
23
+ dashboard_id?: string | null;
24
+ is_favorite?: boolean;
22
25
  }
23
26
  /**
24
27
  * Input type for creating a new board
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaiban/sdk",
3
- "version": "0.4.1",
3
+ "version": "0.4.16",
4
4
  "description": "Official TypeScript SDK for the Kaiban API",
5
5
  "keywords": [
6
6
  "kaiban",
@@ -55,7 +55,7 @@
55
55
  "build:esm": "tsc -p tsconfig.esm.json && node scripts/fix-esm.js dist/esm",
56
56
  "build:cjs": "tsc -p tsconfig.cjs.json && cp dist-package-cjs.json dist/cjs/package.json",
57
57
  "clean": "rimraf dist",
58
- "prepare": "npm run build",
58
+ "other2": "npm run build",
59
59
  "dev": "npm run lint && npm run format && tsc -w -p tsconfig.esm.json",
60
60
  "lint": "eslint .",
61
61
  "lint:fix": "eslint . --fix",
@@ -68,7 +68,7 @@
68
68
  "docs:clean": "rimraf docs",
69
69
  "docs:build": "npm run docs:clean && npm run docs:generate",
70
70
  "docs:serve": "npm run docs:generate && npx serve docs",
71
- "prepublishOnly": "npm run clean && npm run build && npm test",
71
+ "other": "npm run clean && npm run build && npm test",
72
72
  "publish:dry": "npm publish --dry-run",
73
73
  "version:patch": "npm version patch",
74
74
  "version:minor": "npm version minor",