@50arms/plugin-sdk 0.2.81 → 0.2.83
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/card-kit.d.ts +29 -9
- package/package.json +1 -1
package/dist/card-kit.d.ts
CHANGED
|
@@ -523,7 +523,9 @@ declare module "@danxbot/card-kit@1" {
|
|
|
523
523
|
}
|
|
524
524
|
interface V2CopyAgentNote {
|
|
525
525
|
author: string;
|
|
526
|
-
|
|
526
|
+
title: string | null;
|
|
527
|
+
summary: string | null;
|
|
528
|
+
body: string | null;
|
|
527
529
|
reduced_text: string | null;
|
|
528
530
|
team_agent: string | null;
|
|
529
531
|
metadata: Record<string, unknown> | null;
|
|
@@ -1259,7 +1261,19 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1259
1261
|
readonly sha: string;
|
|
1260
1262
|
readonly branch: string;
|
|
1261
1263
|
}
|
|
1262
|
-
type DeliveryFlowStep = "card_branch_pushed" | "pull_request_open" | "merged_or_landed";
|
|
1264
|
+
type DeliveryFlowStep = "card_branch_pushed" | "pull_request_open" | "merged_or_landed" | "deployed";
|
|
1265
|
+
|
|
1266
|
+
interface DeployedEnvironment {
|
|
1267
|
+
readonly id: number;
|
|
1268
|
+
readonly name: string;
|
|
1269
|
+
readonly commit: string;
|
|
1270
|
+
readonly deployed_at: string;
|
|
1271
|
+
}
|
|
1272
|
+
interface ChosenEnvironment {
|
|
1273
|
+
readonly id: number;
|
|
1274
|
+
readonly name: string;
|
|
1275
|
+
readonly deploy_target: string;
|
|
1276
|
+
}
|
|
1263
1277
|
|
|
1264
1278
|
type CodeCompleteConditionKey = "step" | "tests" | "gates";
|
|
1265
1279
|
interface CodeCompleteCondition {
|
|
@@ -1519,6 +1533,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1519
1533
|
interface CardLanding {
|
|
1520
1534
|
readonly status: CardLandingStatus;
|
|
1521
1535
|
readonly waiting: boolean;
|
|
1536
|
+
readonly held_gates: readonly string[];
|
|
1522
1537
|
readonly target_branch: string;
|
|
1523
1538
|
readonly sha: string;
|
|
1524
1539
|
readonly registered_at: string;
|
|
@@ -1713,16 +1728,19 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1713
1728
|
stored_row?: undefined | IssueDisplayV2;
|
|
1714
1729
|
agent_notes?: undefined | (Array<{
|
|
1715
1730
|
id: string;
|
|
1716
|
-
|
|
1731
|
+
title: null | string;
|
|
1732
|
+
summary: null | string;
|
|
1717
1733
|
by: AuthorV2;
|
|
1718
|
-
via_key: null | ViaKey;
|
|
1719
1734
|
timestamp: string;
|
|
1720
1735
|
updated_at: string;
|
|
1736
|
+
body_chars: number;
|
|
1737
|
+
author?: undefined | string;
|
|
1738
|
+
via_key?: undefined | null | ViaKey;
|
|
1721
1739
|
content_hash?: undefined | string;
|
|
1722
|
-
|
|
1740
|
+
body?: undefined | null | string;
|
|
1723
1741
|
reduced?: undefined | true;
|
|
1724
1742
|
reduced_text?: undefined | null | string;
|
|
1725
|
-
metadata
|
|
1743
|
+
metadata?: unknown;
|
|
1726
1744
|
}>);
|
|
1727
1745
|
designs?: undefined | (Array<{
|
|
1728
1746
|
ref_num: number;
|
|
@@ -1731,7 +1749,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1731
1749
|
created_by: string;
|
|
1732
1750
|
created_at: string;
|
|
1733
1751
|
archived_at: null | string;
|
|
1734
|
-
review_state: "rejected" | "approved" | "
|
|
1752
|
+
review_state: "rejected" | "approved" | "changes_requested" | "awaiting_review";
|
|
1735
1753
|
revision_count: number;
|
|
1736
1754
|
latest_revision_no: number;
|
|
1737
1755
|
chosen_options: null | OptionSelection;
|
|
@@ -1859,6 +1877,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1859
1877
|
depends_on_landing_dep_ids?: undefined | Record<string, number>;
|
|
1860
1878
|
conflict_on_active_count?: undefined | number;
|
|
1861
1879
|
code_complete?: undefined | null | CodeCompleteState;
|
|
1880
|
+
deployed_environments?: undefined | Array<DeployedEnvironment>;
|
|
1881
|
+
code_complete_environments?: undefined | Array<ChosenEnvironment>;
|
|
1862
1882
|
children?: undefined | Array<string>;
|
|
1863
1883
|
descendant_ids?: undefined | Array<string>;
|
|
1864
1884
|
descendant_needs_you?: undefined | Array<DescendantNeedsYouView>;
|
|
@@ -1901,9 +1921,9 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1901
1921
|
decision_records?: undefined | (Array<{
|
|
1902
1922
|
provenance: null | ProvenanceRecordV2;
|
|
1903
1923
|
text: string;
|
|
1924
|
+
approved: boolean;
|
|
1904
1925
|
made_by: "human" | "agent";
|
|
1905
1926
|
kind: "business_rule" | "architecture" | "design" | "other";
|
|
1906
|
-
approved: boolean;
|
|
1907
1927
|
impact: number;
|
|
1908
1928
|
confidence: number;
|
|
1909
1929
|
title: string;
|
|
@@ -2339,7 +2359,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2339
2359
|
created_by: string;
|
|
2340
2360
|
created_at: string;
|
|
2341
2361
|
archived_at: null | string;
|
|
2342
|
-
review_state: "rejected" | "approved" | "
|
|
2362
|
+
review_state: "rejected" | "approved" | "changes_requested" | "awaiting_review";
|
|
2343
2363
|
revision_count: number;
|
|
2344
2364
|
latest_revision_no: number;
|
|
2345
2365
|
chosen_options: null | OptionSelection;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@50arms/plugin-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.83",
|
|
4
4
|
"description": "SDK for building 50 Arms plugins (DX-5170): the card kit's type declarations, the Widget declaration kit, a Vite preset that builds a plugin against the app's shared runtime and writes its manifest, and the danx-plugin CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|