@onetaskgraph/sdk 0.14.13 → 0.14.15

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.
@@ -1,4 +1,4 @@
1
- export declare const SCHEMA_BUNDLE_VERSION: 62;
1
+ export declare const SCHEMA_BUNDLE_VERSION: 64;
2
2
  export declare namespace GeneratedAsset {
3
3
  /**
4
4
  * One asset a record holds, as a read reports it.
@@ -598,6 +598,20 @@ export declare namespace GeneratedCapabilities {
598
598
  * predates priorities says nothing here and is never handed a priority it would drop.
599
599
  */
600
600
  priority?: ("native" | "unsupported");
601
+ /**
602
+ * Whether the source's tasks carry [`Task::assignees`](crate::Task::assignees): set by
603
+ * the source's own `config.assignees: true`, and `unsupported` otherwise.
604
+ *
605
+ * Read exactly as [`priority`](Self::priority) is: it says what the source *holds*, not
606
+ * which predicate it applies. A source declaring `Unsupported` reports no assignees on
607
+ * any task and is never handed any: a write naming an assignee is refused before the
608
+ * source is asked, naming the source and the setting, and a copy into it carries none.
609
+ *
610
+ * Defaulted to [`Support::Unsupported`] when a wire value omits it, and left out of the
611
+ * wire while unsupported, so a plugin that predates assignees — and every source that has
612
+ * not opted in — reads and is read exactly as it was.
613
+ */
614
+ assignees?: ("native" | "unsupported");
601
615
  /**
602
616
  * Whether the source keeps only the tasks whose priority a query lists, itself.
603
617
  *
@@ -1841,6 +1855,20 @@ export declare namespace GeneratedContradictedItem {
1841
1855
  * a task is filed under never tightens it: a task's visibility is its own.
1842
1856
  */
1843
1857
  classification?: ("public" | "private");
1858
+ /**
1859
+ * Every person the task is assigned to, as its source names a person — a GitHub login, a
1860
+ * Linear display name, the string as given in a folder or in memory — in the order the
1861
+ * source holds them; empty means unassigned.
1862
+ *
1863
+ * **Present only for a source that opted in** with `config.assignees: true`
1864
+ * ([`Capabilities::assignees`](crate::Capabilities::assignees) `native`): every other
1865
+ * source leaves it absent, and it is left out of the wire when absent, so a task of a
1866
+ * source that has not opted in reads, and is written, exactly as it was before the field
1867
+ * existed. On a write, absent leaves the item's assignees as they are, and present
1868
+ * replaces them with exactly the people it names — the engine never hands a source more
1869
+ * than one.
1870
+ */
1871
+ assignees?: (string[] | null);
1844
1872
  [k: string]: any;
1845
1873
  }
1846
1874
  /**
@@ -2214,6 +2242,12 @@ export declare namespace GeneratedCopyOutcome {
2214
2242
  * update of a task.
2215
2243
  */
2216
2244
  priority_condition?: (PriorityCondition | null);
2245
+ /**
2246
+ * What `--when-destination-assignees` found the counterpart's assignees at, and whether
2247
+ * that met it — present only when the copy was given the condition and this item was an
2248
+ * update of a task.
2249
+ */
2250
+ assignee_condition?: (AssigneeCondition | null);
2217
2251
  /**
2218
2252
  * What the counterpart held, as the copy's read of it before writing found it — present
2219
2253
  * only on an item the copy refused after that read, such as `destination-status`.
@@ -2580,6 +2614,21 @@ export declare namespace GeneratedCopyOutcome {
2580
2614
  met: boolean;
2581
2615
  [k: string]: any;
2582
2616
  }
2617
+ /**
2618
+ * What a guarded copy found a counterpart's assignees at, and whether that met the condition.
2619
+ */
2620
+ interface AssigneeCondition {
2621
+ /**
2622
+ * Every person the counterpart was assigned to, as the copy's own pre-write read held
2623
+ * them — empty when it was unassigned.
2624
+ */
2625
+ held: string[];
2626
+ /**
2627
+ * Whether those are exactly the people the condition names.
2628
+ */
2629
+ met: boolean;
2630
+ [k: string]: any;
2631
+ }
2583
2632
  /**
2584
2633
  * What a `--comments` copy did to one task's comments at the destination.
2585
2634
  *
@@ -2693,6 +2742,12 @@ export declare namespace GeneratedCopyReport {
2693
2742
  * update of a task.
2694
2743
  */
2695
2744
  priority_condition?: (PriorityCondition | null);
2745
+ /**
2746
+ * What `--when-destination-assignees` found the counterpart's assignees at, and whether
2747
+ * that met it — present only when the copy was given the condition and this item was an
2748
+ * update of a task.
2749
+ */
2750
+ assignee_condition?: (AssigneeCondition | null);
2696
2751
  /**
2697
2752
  * What the counterpart held, as the copy's read of it before writing found it — present
2698
2753
  * only on an item the copy refused after that read, such as `destination-status`.
@@ -3198,6 +3253,21 @@ export declare namespace GeneratedCopyReport {
3198
3253
  met: boolean;
3199
3254
  [k: string]: any;
3200
3255
  }
3256
+ /**
3257
+ * What a guarded copy found a counterpart's assignees at, and whether that met the condition.
3258
+ */
3259
+ interface AssigneeCondition {
3260
+ /**
3261
+ * Every person the counterpart was assigned to, as the copy's own pre-write read held
3262
+ * them — empty when it was unassigned.
3263
+ */
3264
+ held: string[];
3265
+ /**
3266
+ * Whether those are exactly the people the condition names.
3267
+ */
3268
+ met: boolean;
3269
+ [k: string]: any;
3270
+ }
3201
3271
  /**
3202
3272
  * What a `--comments` copy did to one task's comments at the destination.
3203
3273
  *
@@ -5496,6 +5566,20 @@ export declare namespace GeneratedFoundTasks {
5496
5566
  * a task is filed under never tightens it: a task's visibility is its own.
5497
5567
  */
5498
5568
  classification?: ("public" | "private");
5569
+ /**
5570
+ * Every person the task is assigned to, as its source names a person — a GitHub login, a
5571
+ * Linear display name, the string as given in a folder or in memory — in the order the
5572
+ * source holds them; empty means unassigned.
5573
+ *
5574
+ * **Present only for a source that opted in** with `config.assignees: true`
5575
+ * ([`Capabilities::assignees`](crate::Capabilities::assignees) `native`): every other
5576
+ * source leaves it absent, and it is left out of the wire when absent, so a task of a
5577
+ * source that has not opted in reads, and is written, exactly as it was before the field
5578
+ * existed. On a write, absent leaves the item's assignees as they are, and present
5579
+ * replaces them with exactly the people it names — the engine never hands a source more
5580
+ * than one.
5581
+ */
5582
+ assignees?: (string[] | null);
5499
5583
  [k: string]: any;
5500
5584
  }
5501
5585
  /**
@@ -6510,6 +6594,29 @@ export declare namespace GeneratedLinearConfig {
6510
6594
  link_types?: {
6511
6595
  [k: string]: LinkTypeConfig;
6512
6596
  };
6597
+ /**
6598
+ * Whether this source's tasks carry their assignee: `false`, the default, reads every task
6599
+ * without an `assignees` member, refuses every write naming one and sends Linear exactly
6600
+ * the documents it sent before assignees existed; `true` reads each issue's
6601
+ * `assignee{displayName}` — a Linear user's display name, unique within its workspace —
6602
+ * and writes one person, or none, as the issue's `assigneeId`.
6603
+ */
6604
+ assignees?: boolean;
6605
+ /**
6606
+ * Caller metadata values this source shows in one collapsed `Fields` section at the end
6607
+ * of each task's, project's and document's visible description, since Linear has no
6608
+ * custom fields and never renders the slot the metadata is kept in.
6609
+ *
6610
+ * Absent or empty, no section is written. Each entry names the `field` a value is shown
6611
+ * under, a top-level metadata `key` and an optional `path` of object keys walked inside
6612
+ * that key's value — the entries a `github-projects` source takes, refused at read for the
6613
+ * same reasons but for that source's own board field names. A string, an array of strings
6614
+ * and an object of string values are shown, an empty one or nothing not at all; any other
6615
+ * JSON type is refused before any mutation. The section is display only: the slot stays
6616
+ * the metadata's one home, every read gives back the caller's content without it, and
6617
+ * every write regenerates it. `docs/metadata.md` states its shape.
6618
+ */
6619
+ metadata_fields?: LinearMetadataField[];
6513
6620
  }
6514
6621
  /**
6515
6622
  * Which workflow state of the configured team a task's status category is, and which of
@@ -6535,6 +6642,26 @@ export declare namespace GeneratedLinearConfig {
6535
6642
  */
6536
6643
  native?: (string | null);
6537
6644
  }
6645
+ /**
6646
+ * One `metadata_fields` entry of a `linear` source's configuration: the same shape a
6647
+ * `github-projects` source takes.
6648
+ */
6649
+ interface LinearMetadataField {
6650
+ /**
6651
+ * The name the value is shown under, in bold, in the item's `Fields` section.
6652
+ */
6653
+ field: string;
6654
+ /**
6655
+ * The top-level metadata key the value is read from. A key under the reserved
6656
+ * `onetaskgraph.` prefix is refused.
6657
+ */
6658
+ key: string;
6659
+ /**
6660
+ * Object keys walked inside that key's value, outermost first. Absent or empty, the
6661
+ * key's own value is the one shown. Left out of a serialized entry when empty.
6662
+ */
6663
+ path?: string[];
6664
+ }
6538
6665
  }
6539
6666
  export type LinearConfig = GeneratedLinearConfig.LinearConfig;
6540
6667
  export declare namespace GeneratedLinkBatch {
@@ -8021,6 +8148,20 @@ export declare namespace GeneratedPageOfTask {
8021
8148
  * a task is filed under never tightens it: a task's visibility is its own.
8022
8149
  */
8023
8150
  classification?: ("public" | "private");
8151
+ /**
8152
+ * Every person the task is assigned to, as its source names a person — a GitHub login, a
8153
+ * Linear display name, the string as given in a folder or in memory — in the order the
8154
+ * source holds them; empty means unassigned.
8155
+ *
8156
+ * **Present only for a source that opted in** with `config.assignees: true`
8157
+ * ([`Capabilities::assignees`](crate::Capabilities::assignees) `native`): every other
8158
+ * source leaves it absent, and it is left out of the wire when absent, so a task of a
8159
+ * source that has not opted in reads, and is written, exactly as it was before the field
8160
+ * existed. On a write, absent leaves the item's assignees as they are, and present
8161
+ * replaces them with exactly the people it names — the engine never hands a source more
8162
+ * than one.
8163
+ */
8164
+ assignees?: (string[] | null);
8024
8165
  [k: string]: any;
8025
8166
  }
8026
8167
  /**
@@ -9592,6 +9733,20 @@ export declare namespace GeneratedQualifiedTask {
9592
9733
  * a task is filed under never tightens it: a task's visibility is its own.
9593
9734
  */
9594
9735
  classification?: ("public" | "private");
9736
+ /**
9737
+ * Every person the task is assigned to, as its source names a person — a GitHub login, a
9738
+ * Linear display name, the string as given in a folder or in memory — in the order the
9739
+ * source holds them; empty means unassigned.
9740
+ *
9741
+ * **Present only for a source that opted in** with `config.assignees: true`
9742
+ * ([`Capabilities::assignees`](crate::Capabilities::assignees) `native`): every other
9743
+ * source leaves it absent, and it is left out of the wire when absent, so a task of a
9744
+ * source that has not opted in reads, and is written, exactly as it was before the field
9745
+ * existed. On a write, absent leaves the item's assignees as they are, and present
9746
+ * replaces them with exactly the people it names — the engine never hands a source more
9747
+ * than one.
9748
+ */
9749
+ assignees?: (string[] | null);
9595
9750
  [k: string]: any;
9596
9751
  }
9597
9752
  /**
@@ -11449,6 +11604,20 @@ export declare namespace GeneratedQueryResponseOfQualifiedTask {
11449
11604
  * a task is filed under never tightens it: a task's visibility is its own.
11450
11605
  */
11451
11606
  classification?: ("public" | "private");
11607
+ /**
11608
+ * Every person the task is assigned to, as its source names a person — a GitHub login, a
11609
+ * Linear display name, the string as given in a folder or in memory — in the order the
11610
+ * source holds them; empty means unassigned.
11611
+ *
11612
+ * **Present only for a source that opted in** with `config.assignees: true`
11613
+ * ([`Capabilities::assignees`](crate::Capabilities::assignees) `native`): every other
11614
+ * source leaves it absent, and it is left out of the wire when absent, so a task of a
11615
+ * source that has not opted in reads, and is written, exactly as it was before the field
11616
+ * existed. On a write, absent leaves the item's assignees as they are, and present
11617
+ * replaces them with exactly the people it names — the engine never hands a source more
11618
+ * than one.
11619
+ */
11620
+ assignees?: (string[] | null);
11452
11621
  [k: string]: any;
11453
11622
  }
11454
11623
  /**
@@ -12782,6 +12951,20 @@ export declare namespace GeneratedSourceListing {
12782
12951
  * predates priorities says nothing here and is never handed a priority it would drop.
12783
12952
  */
12784
12953
  priority?: ("native" | "unsupported");
12954
+ /**
12955
+ * Whether the source's tasks carry [`Task::assignees`](crate::Task::assignees): set by
12956
+ * the source's own `config.assignees: true`, and `unsupported` otherwise.
12957
+ *
12958
+ * Read exactly as [`priority`](Self::priority) is: it says what the source *holds*, not
12959
+ * which predicate it applies. A source declaring `Unsupported` reports no assignees on
12960
+ * any task and is never handed any: a write naming an assignee is refused before the
12961
+ * source is asked, naming the source and the setting, and a copy into it carries none.
12962
+ *
12963
+ * Defaulted to [`Support::Unsupported`] when a wire value omits it, and left out of the
12964
+ * wire while unsupported, so a plugin that predates assignees — and every source that has
12965
+ * not opted in — reads and is read exactly as it was.
12966
+ */
12967
+ assignees?: ("native" | "unsupported");
12785
12968
  /**
12786
12969
  * Whether the source keeps only the tasks whose priority a query lists, itself.
12787
12970
  *
@@ -13053,6 +13236,20 @@ export declare namespace GeneratedSourceListings {
13053
13236
  * predates priorities says nothing here and is never handed a priority it would drop.
13054
13237
  */
13055
13238
  priority?: ("native" | "unsupported");
13239
+ /**
13240
+ * Whether the source's tasks carry [`Task::assignees`](crate::Task::assignees): set by
13241
+ * the source's own `config.assignees: true`, and `unsupported` otherwise.
13242
+ *
13243
+ * Read exactly as [`priority`](Self::priority) is: it says what the source *holds*, not
13244
+ * which predicate it applies. A source declaring `Unsupported` reports no assignees on
13245
+ * any task and is never handed any: a write naming an assignee is refused before the
13246
+ * source is asked, naming the source and the setting, and a copy into it carries none.
13247
+ *
13248
+ * Defaulted to [`Support::Unsupported`] when a wire value omits it, and left out of the
13249
+ * wire while unsupported, so a plugin that predates assignees — and every source that has
13250
+ * not opted in — reads and is read exactly as it was.
13251
+ */
13252
+ assignees?: ("native" | "unsupported");
13056
13253
  /**
13057
13254
  * Whether the source keeps only the tasks whose priority a query lists, itself.
13058
13255
  *
@@ -13514,6 +13711,20 @@ export declare namespace GeneratedStatusContradiction {
13514
13711
  * a task is filed under never tightens it: a task's visibility is its own.
13515
13712
  */
13516
13713
  classification?: ("public" | "private");
13714
+ /**
13715
+ * Every person the task is assigned to, as its source names a person — a GitHub login, a
13716
+ * Linear display name, the string as given in a folder or in memory — in the order the
13717
+ * source holds them; empty means unassigned.
13718
+ *
13719
+ * **Present only for a source that opted in** with `config.assignees: true`
13720
+ * ([`Capabilities::assignees`](crate::Capabilities::assignees) `native`): every other
13721
+ * source leaves it absent, and it is left out of the wire when absent, so a task of a
13722
+ * source that has not opted in reads, and is written, exactly as it was before the field
13723
+ * existed. On a write, absent leaves the item's assignees as they are, and present
13724
+ * replaces them with exactly the people it names — the engine never hands a source more
13725
+ * than one.
13726
+ */
13727
+ assignees?: (string[] | null);
13517
13728
  [k: string]: any;
13518
13729
  }
13519
13730
  /**
@@ -14195,6 +14406,20 @@ export declare namespace GeneratedTask {
14195
14406
  * a task is filed under never tightens it: a task's visibility is its own.
14196
14407
  */
14197
14408
  classification?: ("public" | "private");
14409
+ /**
14410
+ * Every person the task is assigned to, as its source names a person — a GitHub login, a
14411
+ * Linear display name, the string as given in a folder or in memory — in the order the
14412
+ * source holds them; empty means unassigned.
14413
+ *
14414
+ * **Present only for a source that opted in** with `config.assignees: true`
14415
+ * ([`Capabilities::assignees`](crate::Capabilities::assignees) `native`): every other
14416
+ * source leaves it absent, and it is left out of the wire when absent, so a task of a
14417
+ * source that has not opted in reads, and is written, exactly as it was before the field
14418
+ * existed. On a write, absent leaves the item's assignees as they are, and present
14419
+ * replaces them with exactly the people it names — the engine never hands a source more
14420
+ * than one.
14421
+ */
14422
+ assignees?: (string[] | null);
14198
14423
  [k: string]: any;
14199
14424
  }
14200
14425
  /**
@@ -14249,6 +14474,174 @@ export declare namespace GeneratedTaskAssetNames {
14249
14474
  type TaskAssetNames = AssetName[];
14250
14475
  }
14251
14476
  export type TaskAssetNames = GeneratedTaskAssetNames.TaskAssetNames;
14477
+ export declare namespace GeneratedTaskAssigneeSet {
14478
+ /**
14479
+ * One mutation of an expected write.
14480
+ */
14481
+ type WritePart = ({
14482
+ /**
14483
+ * Which part it was, in the source's words: `fields`, `issue`, `comment`.
14484
+ */
14485
+ part: string;
14486
+ /**
14487
+ * Each field it set, with the value the response shows.
14488
+ */
14489
+ fields: {
14490
+ [k: string]: any;
14491
+ };
14492
+ [k: string]: any;
14493
+ } & WritePart1);
14494
+ type WritePart1 = ({
14495
+ outcome: "landed";
14496
+ [k: string]: any;
14497
+ } | {
14498
+ /**
14499
+ * What the backend said.
14500
+ */
14501
+ error: string;
14502
+ /**
14503
+ * Whether it was refused because an id the write took from a primed context — an
14504
+ * item's node id, a field's or an option's — no longer resolves. Such a part is
14505
+ * sent again once, after one read.
14506
+ */
14507
+ stale?: boolean;
14508
+ outcome: "rejected";
14509
+ [k: string]: any;
14510
+ } | {
14511
+ /**
14512
+ * What went wrong.
14513
+ */
14514
+ error: string;
14515
+ outcome: "unknown";
14516
+ [k: string]: any;
14517
+ });
14518
+ /**
14519
+ * How much a task matters, in the one vocabulary every source is normalised into.
14520
+ *
14521
+ * Five values, most pressing first after [`None`](Self::None): Linear's own priority has
14522
+ * exactly these, and a source whose backend has none of its own maps its representation
14523
+ * onto them. `none` is a value rather than an absent field, because "no priority is set" is
14524
+ * something a person sets — writing `none` clears a priority — and a reader tells it apart
14525
+ * from nothing by the value alone.
14526
+ */
14527
+ type Priority = ("none" | "urgent" | "high" | "medium" | "low");
14528
+ /**
14529
+ * What a locator names.
14530
+ */
14531
+ type LocatorKind = ("source" | "item" | "field" | "metadata-key" | "comment" | "path" | "identity");
14532
+ /**
14533
+ * What `task assignee set` answers with.
14534
+ */
14535
+ interface TaskAssigneeSet {
14536
+ /**
14537
+ * The task whose assignee was set.
14538
+ */
14539
+ id: string;
14540
+ /**
14541
+ * Every person the task is assigned to as its source reads it back after the write —
14542
+ * the one person named, or none.
14543
+ */
14544
+ assignees: string[];
14545
+ /**
14546
+ * What the task holds after the write — its version where the write's own answers
14547
+ * determine it.
14548
+ */
14549
+ result?: (WriteResult | null);
14550
+ sanitization?: (Sanitization | null);
14551
+ [k: string]: any;
14552
+ }
14553
+ /**
14554
+ * What an item holds once a write is done, read off the write's own responses — and, for an
14555
+ * expected write, what each mutation it sent came to.
14556
+ *
14557
+ * Every write verb and every item a copy lands answers one, with no request added for it: a
14558
+ * field the write kept is what the read before it held. `version` is `null` where the source
14559
+ * cannot vouch for a token from its write's responses — a GitHub board for an item it has just
14560
+ * written, a stdio-hosted plugin, an in-memory source — and otherwise the token a read would
14561
+ * then give.
14562
+ */
14563
+ interface WriteResult {
14564
+ /**
14565
+ * The item's version after the write, where the write's responses determine it.
14566
+ */
14567
+ version?: (string | null);
14568
+ /**
14569
+ * One per mutation an expected write sent, in the order sent — absent for a write made
14570
+ * without `--expect`.
14571
+ */
14572
+ parts?: (WritePart[] | null);
14573
+ /**
14574
+ * The item's status after the write, exactly as `task show` spells it — `null` for a
14575
+ * document, which has none, and where an expected write that failed cannot say.
14576
+ */
14577
+ status?: (Status | null);
14578
+ /**
14579
+ * A task's priority after the write — `null` for a project or a document, which carry
14580
+ * none, and where an expected write that failed cannot say.
14581
+ */
14582
+ priority?: (Priority | null);
14583
+ [k: string]: any;
14584
+ }
14585
+ /**
14586
+ * A source's status, kept in both normalised and original form.
14587
+ *
14588
+ * `category` is what every filter compares against; `name` is the source's own
14589
+ * wording, preserved so display never flattens "In Review" into "In Progress".
14590
+ */
14591
+ interface Status {
14592
+ /**
14593
+ * The normalised value filters compare against.
14594
+ */
14595
+ category: ("draft" | "backlog" | "todo" | "queued" | "in-progress" | "done" | "cancelled" | "unknown");
14596
+ /**
14597
+ * The source's own label for this status.
14598
+ */
14599
+ name: string;
14600
+ [k: string]: any;
14601
+ }
14602
+ /**
14603
+ * What the screened writes of one command replaced, and what sanitise-on-refusal changed:
14604
+ * the `sanitization` member a write's answer carries when it is not empty.
14605
+ */
14606
+ interface Sanitization {
14607
+ /**
14608
+ * Spans the writes' own sanitisations rewrote.
14609
+ */
14610
+ replaced: number;
14611
+ /**
14612
+ * Each field or comment of an item sanitisation changed beyond the write itself.
14613
+ */
14614
+ side_effect: SideEffect[];
14615
+ /**
14616
+ * Whether nothing was written, the changes only reported.
14617
+ */
14618
+ dry_run: boolean;
14619
+ [k: string]: any;
14620
+ }
14621
+ /**
14622
+ * One field or comment of an item a sanitisation changed, named by screened locators.
14623
+ */
14624
+ interface SideEffect {
14625
+ /**
14626
+ * The item, by its qualified id as screened.
14627
+ */
14628
+ item: (string | {
14629
+ redacted: true;
14630
+ kind: LocatorKind;
14631
+ ordinal: number;
14632
+ });
14633
+ /**
14634
+ * The field — `content`, `title`, `label`, `metadata:<key>` — or `comment:<id>`.
14635
+ */
14636
+ field: (string | {
14637
+ redacted: true;
14638
+ kind: LocatorKind;
14639
+ ordinal: number;
14640
+ });
14641
+ [k: string]: any;
14642
+ }
14643
+ }
14644
+ export type TaskAssigneeSet = GeneratedTaskAssigneeSet.TaskAssigneeSet;
14252
14645
  export declare namespace GeneratedTaskContentSet {
14253
14646
  /**
14254
14647
  * One mutation of an expected write.
@@ -14794,6 +15187,20 @@ export declare namespace GeneratedTaskDetail {
14794
15187
  * a task is filed under never tightens it: a task's visibility is its own.
14795
15188
  */
14796
15189
  classification?: ("public" | "private");
15190
+ /**
15191
+ * Every person the task is assigned to, as its source names a person — a GitHub login, a
15192
+ * Linear display name, the string as given in a folder or in memory — in the order the
15193
+ * source holds them; empty means unassigned.
15194
+ *
15195
+ * **Present only for a source that opted in** with `config.assignees: true`
15196
+ * ([`Capabilities::assignees`](crate::Capabilities::assignees) `native`): every other
15197
+ * source leaves it absent, and it is left out of the wire when absent, so a task of a
15198
+ * source that has not opted in reads, and is written, exactly as it was before the field
15199
+ * existed. On a write, absent leaves the item's assignees as they are, and present
15200
+ * replaces them with exactly the people it names — the engine never hands a source more
15201
+ * than one.
15202
+ */
15203
+ assignees?: (string[] | null);
14797
15204
  [k: string]: any;
14798
15205
  }
14799
15206
  /**
@@ -15562,6 +15969,20 @@ export declare namespace GeneratedTaskDetails {
15562
15969
  * a task is filed under never tightens it: a task's visibility is its own.
15563
15970
  */
15564
15971
  classification?: ("public" | "private");
15972
+ /**
15973
+ * Every person the task is assigned to, as its source names a person — a GitHub login, a
15974
+ * Linear display name, the string as given in a folder or in memory — in the order the
15975
+ * source holds them; empty means unassigned.
15976
+ *
15977
+ * **Present only for a source that opted in** with `config.assignees: true`
15978
+ * ([`Capabilities::assignees`](crate::Capabilities::assignees) `native`): every other
15979
+ * source leaves it absent, and it is left out of the wire when absent, so a task of a
15980
+ * source that has not opted in reads, and is written, exactly as it was before the field
15981
+ * existed. On a write, absent leaves the item's assignees as they are, and present
15982
+ * replaces them with exactly the people it names — the engine never hands a source more
15983
+ * than one.
15984
+ */
15985
+ assignees?: (string[] | null);
15565
15986
  [k: string]: any;
15566
15987
  }
15567
15988
  /**
@@ -16952,6 +17373,13 @@ export declare namespace GeneratedTaskUpdate {
16952
17373
  * reports it.
16953
17374
  */
16954
17375
  repositories?: (Repository[] | null);
17376
+ /**
17377
+ * Replaces every person the task is assigned to with exactly these — empty unassigns.
17378
+ * The engine names at most one, and only to a source declaring
17379
+ * [`Capabilities::assignees`](crate::Capabilities::assignees). A source refuses a person
17380
+ * it cannot assign, naming them, rather than writing the rest without them.
17381
+ */
17382
+ assignees?: (string[] | null);
16955
17383
  [k: string]: any;
16956
17384
  }
16957
17385
  /**
@@ -17070,7 +17498,7 @@ export declare namespace GeneratedTaskUpdateOutcome {
17070
17498
  * kebab-case on the wire. [`Metadata`](Self::Metadata) stands for every metadata key the
17071
17499
  * update set or removed together; [`DependsOn`](Self::DependsOn) for the task's forward edges.
17072
17500
  */
17073
- type UpdatedField = ("title" | "content" | "status" | "priority" | "metadata" | "delivers" | "depends-on" | "repositories");
17501
+ type UpdatedField = ("title" | "content" | "status" | "priority" | "metadata" | "delivers" | "depends-on" | "repositories" | "assignees");
17074
17502
  /**
17075
17503
  * What a source answers a [`TaskUpdate`] of a task it holds with.
17076
17504
  *
@@ -17240,6 +17668,20 @@ export declare namespace GeneratedTaskUpdateOutcome {
17240
17668
  * a task is filed under never tightens it: a task's visibility is its own.
17241
17669
  */
17242
17670
  classification?: ("public" | "private");
17671
+ /**
17672
+ * Every person the task is assigned to, as its source names a person — a GitHub login, a
17673
+ * Linear display name, the string as given in a folder or in memory — in the order the
17674
+ * source holds them; empty means unassigned.
17675
+ *
17676
+ * **Present only for a source that opted in** with `config.assignees: true`
17677
+ * ([`Capabilities::assignees`](crate::Capabilities::assignees) `native`): every other
17678
+ * source leaves it absent, and it is left out of the wire when absent, so a task of a
17679
+ * source that has not opted in reads, and is written, exactly as it was before the field
17680
+ * existed. On a write, absent leaves the item's assignees as they are, and present
17681
+ * replaces them with exactly the people it names — the engine never hands a source more
17682
+ * than one.
17683
+ */
17684
+ assignees?: (string[] | null);
17243
17685
  [k: string]: any;
17244
17686
  }
17245
17687
  /**
@@ -17326,7 +17768,7 @@ export declare namespace GeneratedTaskUpdated {
17326
17768
  * kebab-case on the wire. [`Metadata`](Self::Metadata) stands for every metadata key the
17327
17769
  * update set or removed together; [`DependsOn`](Self::DependsOn) for the task's forward edges.
17328
17770
  */
17329
- type UpdatedField = ("title" | "content" | "status" | "priority" | "metadata" | "delivers" | "depends-on" | "repositories");
17771
+ type UpdatedField = ("title" | "content" | "status" | "priority" | "metadata" | "delivers" | "depends-on" | "repositories" | "assignees");
17330
17772
  /**
17331
17773
  * What keeping one delivered task in step with one deliverer came to.
17332
17774
  */
@@ -17646,6 +18088,20 @@ export declare namespace GeneratedTaskUpdated {
17646
18088
  * a task is filed under never tightens it: a task's visibility is its own.
17647
18089
  */
17648
18090
  classification?: ("public" | "private");
18091
+ /**
18092
+ * Every person the task is assigned to, as its source names a person — a GitHub login, a
18093
+ * Linear display name, the string as given in a folder or in memory — in the order the
18094
+ * source holds them; empty means unassigned.
18095
+ *
18096
+ * **Present only for a source that opted in** with `config.assignees: true`
18097
+ * ([`Capabilities::assignees`](crate::Capabilities::assignees) `native`): every other
18098
+ * source leaves it absent, and it is left out of the wire when absent, so a task of a
18099
+ * source that has not opted in reads, and is written, exactly as it was before the field
18100
+ * existed. On a write, absent leaves the item's assignees as they are, and present
18101
+ * replaces them with exactly the people it names — the engine never hands a source more
18102
+ * than one.
18103
+ */
18104
+ assignees?: (string[] | null);
17649
18105
  [k: string]: any;
17650
18106
  }
17651
18107
  /**
@@ -18239,6 +18695,18 @@ export declare namespace GeneratedUpdateBatch {
18239
18695
  * Its repositories, replaced whole; an empty list clears them.
18240
18696
  */
18241
18697
  repositories?: (Repository[] | null);
18698
+ /**
18699
+ * The one person it is assigned to, replacing every person it holds — `null` unassigns
18700
+ * it, and leaving the member out leaves its assignees as they are. Only for a source that
18701
+ * opted in with `config.assignees: true`.
18702
+ */
18703
+ assignee?: (string | null);
18704
+ /**
18705
+ * Write only while the task is assigned to exactly these people, whatever their order —
18706
+ * `[]` only while it is unassigned. Otherwise nothing of the update is written and it
18707
+ * answers `held`. Left out, it sets no guard.
18708
+ */
18709
+ when_assignees?: (string[] | null);
18242
18710
  }
18243
18711
  }
18244
18712
  export type UpdateBatch = GeneratedUpdateBatch.UpdateBatch;
@@ -18249,7 +18717,7 @@ export declare namespace GeneratedUpdatedField {
18249
18717
  * kebab-case on the wire. [`Metadata`](Self::Metadata) stands for every metadata key the
18250
18718
  * update set or removed together; [`DependsOn`](Self::DependsOn) for the task's forward edges.
18251
18719
  */
18252
- type UpdatedField = ("title" | "content" | "status" | "priority" | "metadata" | "delivers" | "depends-on" | "repositories");
18720
+ type UpdatedField = ("title" | "content" | "status" | "priority" | "metadata" | "delivers" | "depends-on" | "repositories" | "assignees");
18253
18721
  }
18254
18722
  export type UpdatedField = GeneratedUpdatedField.UpdatedField;
18255
18723
  export declare namespace GeneratedVariableType {
@@ -18578,6 +19046,12 @@ export declare namespace GeneratedStatusNamesReport {
18578
19046
  * The create Linear refused, which stopped an `--apply`; absent when nothing was refused.
18579
19047
  */
18580
19048
  refused?: (RefusedCreate | null);
19049
+ /**
19050
+ * Each `metadata_fields` entry, in configuration order: each is shown in an item's
19051
+ * `Fields` section rather than in a field Linear holds, so none is ever missing and
19052
+ * `--apply` creates nothing for it. Absent when the source configures none.
19053
+ */
19054
+ metadata_fields?: SectionFieldReport[];
18581
19055
  [k: string]: any;
18582
19056
  }
18583
19057
  /**
@@ -18637,5 +19111,27 @@ export declare namespace GeneratedStatusNamesReport {
18637
19111
  message: string;
18638
19112
  [k: string]: any;
18639
19113
  }
19114
+ /**
19115
+ * One `metadata_fields` entry of a `linear` source, as `sources fields` reports it.
19116
+ */
19117
+ interface SectionFieldReport {
19118
+ /**
19119
+ * The name the value is shown under.
19120
+ */
19121
+ field: string;
19122
+ /**
19123
+ * The top-level metadata key the value is read from.
19124
+ */
19125
+ key: string;
19126
+ /**
19127
+ * Object keys walked inside that key's value; absent when the key's own value is shown.
19128
+ */
19129
+ path: string[];
19130
+ /**
19131
+ * Where the value is carried: always `section`, the item's `Fields` section.
19132
+ */
19133
+ carried: "section";
19134
+ [k: string]: any;
19135
+ }
18640
19136
  }
18641
19137
  export type StatusNamesReport = GeneratedStatusNamesReport.StatusNamesReport;