@deliverd/sdk 0.12.0 → 0.13.0
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/released.d.ts +1 -1
- package/dist/released.d.ts.map +1 -1
- package/dist/released.js +739 -0
- package/dist/types.d.ts +23 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/released.ts +739 -0
- package/src/types.ts +32 -0
package/src/types.ts
CHANGED
|
@@ -1305,6 +1305,38 @@ export interface CreateTaskInput {
|
|
|
1305
1305
|
sessionUrl?: string;
|
|
1306
1306
|
/** The starting state, if anything is already known. */
|
|
1307
1307
|
state?: TaskStatePatch;
|
|
1308
|
+
/**
|
|
1309
|
+
* Govern it from the start (Compliance Mode, Business and Enterprise): the
|
|
1310
|
+
* AI system, purpose, owners, risk, data and oversight. Refused on a plan
|
|
1311
|
+
* without Compliance Mode.
|
|
1312
|
+
*/
|
|
1313
|
+
governance?: GovernanceProfileInput;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
/** A governed task's profile, as far as it is known. Every field is optional. */
|
|
1317
|
+
export interface GovernanceProfileInput {
|
|
1318
|
+
aiSystemId?: string | null;
|
|
1319
|
+
purpose?: string | null;
|
|
1320
|
+
businessOwner?: string | null;
|
|
1321
|
+
technicalOwner?: string | null;
|
|
1322
|
+
risk?: "low" | "medium" | "high" | "critical";
|
|
1323
|
+
dataClassification?: "public" | "internal" | "confidential" | "restricted" | null;
|
|
1324
|
+
personalData?: boolean;
|
|
1325
|
+
sensitiveData?: boolean;
|
|
1326
|
+
customerFacing?: boolean;
|
|
1327
|
+
productionUse?: boolean;
|
|
1328
|
+
autonomy?: "assist" | "recommend" | "act_with_approval" | "act_autonomously" | null;
|
|
1329
|
+
decisionImpact?: "none" | "informs" | "supports_decision" | "automated_decision" | null;
|
|
1330
|
+
oversight?:
|
|
1331
|
+
| "none"
|
|
1332
|
+
| "post_action_review"
|
|
1333
|
+
| "sampled_review"
|
|
1334
|
+
| "human_on_the_loop"
|
|
1335
|
+
| "human_in_the_loop"
|
|
1336
|
+
| "pre_action_approval"
|
|
1337
|
+
| "dual_approval"
|
|
1338
|
+
| null;
|
|
1339
|
+
jurisdictions?: string[];
|
|
1308
1340
|
}
|
|
1309
1341
|
|
|
1310
1342
|
export interface ListTasksInput {
|