@kana-ai/edgar-contracts 0.1.5 → 0.1.6
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/config.schema.d.ts
CHANGED
|
@@ -266,6 +266,10 @@ export type CheckCommand = string[];
|
|
|
266
266
|
* The folder of the checkout that the build of `dockerfile` reads; the checkout when unset.
|
|
267
267
|
*/
|
|
268
268
|
export type CheckBuildContext = string | null;
|
|
269
|
+
/**
|
|
270
|
+
* The path prefixes of the checkout that the check tests; its result lists each changed path under one of them, so a pull request can say which changed files the check covers.
|
|
271
|
+
*/
|
|
272
|
+
export type PathsTheCheckCovers = string[];
|
|
269
273
|
/**
|
|
270
274
|
* The Dockerfile in the service's checkout whose image the check builds, outside the sandbox, with no push, and removes after.
|
|
271
275
|
*/
|
|
@@ -847,6 +851,7 @@ export interface Service {
|
|
|
847
851
|
export interface Check {
|
|
848
852
|
cmd?: CheckCommand;
|
|
849
853
|
context?: CheckBuildContext;
|
|
854
|
+
covers?: PathsTheCheckCovers;
|
|
850
855
|
dockerfile?: CheckDockerfile;
|
|
851
856
|
timeout_seconds?: CheckTimeLimit;
|
|
852
857
|
}
|
|
@@ -158,6 +158,10 @@ export interface Tracker {
|
|
|
158
158
|
];
|
|
159
159
|
secrets: SecretName[];
|
|
160
160
|
capabilities: Capability[];
|
|
161
|
+
/**
|
|
162
|
+
* Whether `list_cards` takes `updated_since`, so most sweeps ask only for the cards changed since the last listing.
|
|
163
|
+
*/
|
|
164
|
+
updated_since?: boolean;
|
|
161
165
|
}
|
|
162
166
|
/**
|
|
163
167
|
* An environment provider; the engine calls `environment.<name>.<step>` through `tool.call`.
|
package/dist/rpc.schema.d.ts
CHANGED
|
@@ -737,6 +737,10 @@ export interface Card {
|
|
|
737
737
|
* A stable id of the person in `requested_by`, as `taken_by_id` is of the holder.
|
|
738
738
|
*/
|
|
739
739
|
requested_by_id?: string;
|
|
740
|
+
/**
|
|
741
|
+
* The part of the tracker the card is on, such as a team, for a tracker that watches more than one: the first sweep after a start records the cards of a board with no open card stored, and starts runs only for those in intake. Absent: the tracker is one board.
|
|
742
|
+
*/
|
|
743
|
+
board?: string;
|
|
740
744
|
}
|
|
741
745
|
/**
|
|
742
746
|
* This interface was referenced by `Rpc`'s JSON-Schema
|
|
@@ -780,6 +784,10 @@ export interface Person {
|
|
|
780
784
|
export interface ListCardsInput {
|
|
781
785
|
columns: string[];
|
|
782
786
|
cursor: string | null;
|
|
787
|
+
/**
|
|
788
|
+
* Only the cards changed at or after this RFC 3339 time; the engine sends it only to a tracker whose manifest sets `tracker.updated_since`, and leaves it out for a full listing.
|
|
789
|
+
*/
|
|
790
|
+
updated_since?: string;
|
|
783
791
|
}
|
|
784
792
|
/**
|
|
785
793
|
* This interface was referenced by `Rpc`'s JSON-Schema
|
package/package.json
CHANGED
|
@@ -155,6 +155,20 @@
|
|
|
155
155
|
"group": "project"
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
|
+
"covers": {
|
|
159
|
+
"default": [],
|
|
160
|
+
"description": "The path prefixes of the checkout that the check tests; its result lists each changed path under one of them, so a pull request can say which changed files the check covers.",
|
|
161
|
+
"items": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
"title": "Paths the check covers",
|
|
165
|
+
"type": "array",
|
|
166
|
+
"x-edgar": {
|
|
167
|
+
"apply": "restart",
|
|
168
|
+
"console": "edit",
|
|
169
|
+
"group": "project"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
158
172
|
"dockerfile": {
|
|
159
173
|
"description": "The Dockerfile in the service's checkout whose image the check builds, outside the sandbox, with no push, and removes after.",
|
|
160
174
|
"title": "Check Dockerfile",
|
|
@@ -186,7 +186,11 @@
|
|
|
186
186
|
"minItems": 11
|
|
187
187
|
},
|
|
188
188
|
"secrets": { "type": "array", "items": { "$ref": "#/$defs/SecretName" } },
|
|
189
|
-
"capabilities": { "type": "array", "items": { "$ref": "#/$defs/Capability" } }
|
|
189
|
+
"capabilities": { "type": "array", "items": { "$ref": "#/$defs/Capability" } },
|
|
190
|
+
"updated_since": {
|
|
191
|
+
"type": "boolean",
|
|
192
|
+
"description": "Whether `list_cards` takes `updated_since`, so most sweeps ask only for the cards changed since the last listing."
|
|
193
|
+
}
|
|
190
194
|
},
|
|
191
195
|
"required": ["methods", "secrets", "capabilities"],
|
|
192
196
|
"additionalProperties": false
|
|
@@ -969,6 +969,11 @@
|
|
|
969
969
|
"description": "A stable id of the person in `requested_by`, as `taken_by_id` is of the holder.",
|
|
970
970
|
"type": "string",
|
|
971
971
|
"minLength": 1
|
|
972
|
+
},
|
|
973
|
+
"board": {
|
|
974
|
+
"description": "The part of the tracker the card is on, such as a team, for a tracker that watches more than one: the first sweep after a start records the cards of a board with no open card stored, and starts runs only for those in intake. Absent: the tracker is one board.",
|
|
975
|
+
"type": "string",
|
|
976
|
+
"minLength": 1
|
|
972
977
|
}
|
|
973
978
|
},
|
|
974
979
|
"required": ["id", "title", "description", "column", "labels", "url", "block"],
|
|
@@ -1096,6 +1101,10 @@
|
|
|
1096
1101
|
},
|
|
1097
1102
|
"cursor": {
|
|
1098
1103
|
"type": ["string", "null"]
|
|
1104
|
+
},
|
|
1105
|
+
"updated_since": {
|
|
1106
|
+
"type": "string",
|
|
1107
|
+
"description": "Only the cards changed at or after this RFC 3339 time; the engine sends it only to a tracker whose manifest sets `tracker.updated_since`, and leaves it out for a full listing."
|
|
1099
1108
|
}
|
|
1100
1109
|
},
|
|
1101
1110
|
"required": ["columns", "cursor"],
|