@kaiban/sdk 0.4.2 → 0.4.17

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.
@@ -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',
@@ -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',
@@ -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.2",
3
+ "version": "0.4.17",
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",