@cadraos/sdk 0.3.13 → 0.3.14-p102.1
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.
- package/dist/board-host/index.cjs +217 -129
- package/dist/board-host/index.cjs.map +1 -1
- package/dist/board-host/index.d.cts +268 -3
- package/dist/board-host/index.d.ts +268 -3
- package/dist/board-host/index.js +218 -131
- package/dist/board-host/index.js.map +1 -1
- package/dist/board-host/server/index.d.cts +218 -2
- package/dist/board-host/server/index.d.ts +218 -2
- package/dist/chat/index.cjs +4 -1
- package/dist/chat/index.cjs.map +1 -1
- package/dist/chat/index.d.cts +29 -0
- package/dist/chat/index.d.ts +29 -0
- package/dist/chat/index.js +4 -1
- package/dist/chat/index.js.map +1 -1
- package/dist/index.d.cts +27 -0
- package/dist/index.d.ts +27 -0
- package/dist/kanban/engine/index.cjs +1515 -436
- package/dist/kanban/engine/index.cjs.map +1 -1
- package/dist/kanban/engine/index.d.cts +628 -6
- package/dist/kanban/engine/index.d.ts +628 -6
- package/dist/kanban/engine/index.js +1500 -437
- package/dist/kanban/engine/index.js.map +1 -1
- package/dist/kanban/index.cjs +298 -22
- package/dist/kanban/index.cjs.map +1 -1
- package/dist/kanban/index.d.cts +555 -9
- package/dist/kanban/index.d.ts +555 -9
- package/dist/kanban/index.js +294 -23
- package/dist/kanban/index.js.map +1 -1
- package/dist/teams/index.d.cts +27 -0
- package/dist/teams/index.d.ts +27 -0
- package/package.json +1 -1
package/dist/teams/index.d.cts
CHANGED
|
@@ -2604,7 +2604,17 @@ interface KanbanLane {
|
|
|
2604
2604
|
* a tick fans out ⌈cap / chunkSize⌉ runs. Ignored for `per-card`/`event` lanes.
|
|
2605
2605
|
*/
|
|
2606
2606
|
chunkSize?: number;
|
|
2607
|
+
/**
|
|
2608
|
+
* p46 Handoff contract, OPT-IN per lane (D1). Absent ⇒ `off` (existing boards
|
|
2609
|
+
* are byte-identical). `verdict` ⇒ the engine sends
|
|
2610
|
+
* `HANDOFF_VERDICT_JSON_SCHEMA` as the run's `context.outputSchema` and a
|
|
2611
|
+
* completion MUST carry a valid verdict (else the run fails with a FAILED
|
|
2612
|
+
* handoff). Active only on hosts whose adapter implements the ledger group.
|
|
2613
|
+
*/
|
|
2614
|
+
handoff?: KanbanLaneHandoffMode;
|
|
2607
2615
|
}
|
|
2616
|
+
/** Per-lane Handoff mode (p46 D1). */
|
|
2617
|
+
type KanbanLaneHandoffMode = "off" | "verdict";
|
|
2608
2618
|
/**
|
|
2609
2619
|
* A declared edge between two lanes in the lifecycle.
|
|
2610
2620
|
*
|
|
@@ -2696,6 +2706,11 @@ interface KanbanCard {
|
|
|
2696
2706
|
configVersion?: number;
|
|
2697
2707
|
/** Arbitrary shared context carried across transitions. */
|
|
2698
2708
|
sharedContext?: Record<string, unknown>;
|
|
2709
|
+
/**
|
|
2710
|
+
* p46 (P46-002): the card's id in an external host (a Jira issue key).
|
|
2711
|
+
* Absent on native / crm / yobo cards.
|
|
2712
|
+
*/
|
|
2713
|
+
externalRef?: string;
|
|
2699
2714
|
/**
|
|
2700
2715
|
* Execution UUID of the card's current/last run, if any.
|
|
2701
2716
|
*
|
|
@@ -2758,6 +2773,18 @@ interface CreateCardInput {
|
|
|
2758
2773
|
* in the lifecycle's initial lane.
|
|
2759
2774
|
*/
|
|
2760
2775
|
lane?: string;
|
|
2776
|
+
/**
|
|
2777
|
+
* p46 (P46-002): the card's id in an EXTERNAL host (a Jira issue key, e.g.
|
|
2778
|
+
* `CAD-231`). Optional. When set, a card is created at most ONCE per
|
|
2779
|
+
* `(boardConfigUuid, externalRef)`: a repeat create returns the existing card
|
|
2780
|
+
* and dispatches nothing. Hosts that don't store it simply ignore it.
|
|
2781
|
+
*/
|
|
2782
|
+
externalRef?: string;
|
|
2783
|
+
/**
|
|
2784
|
+
* p46 (P46-002): opaque host facts stored with the card (Jira `statusId`,
|
|
2785
|
+
* `mover`, `detached`, …). Passed through to `adapter.createCard` untouched.
|
|
2786
|
+
*/
|
|
2787
|
+
externalMeta?: Record<string, unknown>;
|
|
2761
2788
|
}
|
|
2762
2789
|
/**
|
|
2763
2790
|
* Input for transitioning a card to another lane.
|
package/dist/teams/index.d.ts
CHANGED
|
@@ -2604,7 +2604,17 @@ interface KanbanLane {
|
|
|
2604
2604
|
* a tick fans out ⌈cap / chunkSize⌉ runs. Ignored for `per-card`/`event` lanes.
|
|
2605
2605
|
*/
|
|
2606
2606
|
chunkSize?: number;
|
|
2607
|
+
/**
|
|
2608
|
+
* p46 Handoff contract, OPT-IN per lane (D1). Absent ⇒ `off` (existing boards
|
|
2609
|
+
* are byte-identical). `verdict` ⇒ the engine sends
|
|
2610
|
+
* `HANDOFF_VERDICT_JSON_SCHEMA` as the run's `context.outputSchema` and a
|
|
2611
|
+
* completion MUST carry a valid verdict (else the run fails with a FAILED
|
|
2612
|
+
* handoff). Active only on hosts whose adapter implements the ledger group.
|
|
2613
|
+
*/
|
|
2614
|
+
handoff?: KanbanLaneHandoffMode;
|
|
2607
2615
|
}
|
|
2616
|
+
/** Per-lane Handoff mode (p46 D1). */
|
|
2617
|
+
type KanbanLaneHandoffMode = "off" | "verdict";
|
|
2608
2618
|
/**
|
|
2609
2619
|
* A declared edge between two lanes in the lifecycle.
|
|
2610
2620
|
*
|
|
@@ -2696,6 +2706,11 @@ interface KanbanCard {
|
|
|
2696
2706
|
configVersion?: number;
|
|
2697
2707
|
/** Arbitrary shared context carried across transitions. */
|
|
2698
2708
|
sharedContext?: Record<string, unknown>;
|
|
2709
|
+
/**
|
|
2710
|
+
* p46 (P46-002): the card's id in an external host (a Jira issue key).
|
|
2711
|
+
* Absent on native / crm / yobo cards.
|
|
2712
|
+
*/
|
|
2713
|
+
externalRef?: string;
|
|
2699
2714
|
/**
|
|
2700
2715
|
* Execution UUID of the card's current/last run, if any.
|
|
2701
2716
|
*
|
|
@@ -2758,6 +2773,18 @@ interface CreateCardInput {
|
|
|
2758
2773
|
* in the lifecycle's initial lane.
|
|
2759
2774
|
*/
|
|
2760
2775
|
lane?: string;
|
|
2776
|
+
/**
|
|
2777
|
+
* p46 (P46-002): the card's id in an EXTERNAL host (a Jira issue key, e.g.
|
|
2778
|
+
* `CAD-231`). Optional. When set, a card is created at most ONCE per
|
|
2779
|
+
* `(boardConfigUuid, externalRef)`: a repeat create returns the existing card
|
|
2780
|
+
* and dispatches nothing. Hosts that don't store it simply ignore it.
|
|
2781
|
+
*/
|
|
2782
|
+
externalRef?: string;
|
|
2783
|
+
/**
|
|
2784
|
+
* p46 (P46-002): opaque host facts stored with the card (Jira `statusId`,
|
|
2785
|
+
* `mover`, `detached`, …). Passed through to `adapter.createCard` untouched.
|
|
2786
|
+
*/
|
|
2787
|
+
externalMeta?: Record<string, unknown>;
|
|
2761
2788
|
}
|
|
2762
2789
|
/**
|
|
2763
2790
|
* Input for transitioning a card to another lane.
|