@talonic/docs 0.21.48 → 0.21.50

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.
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Tailwind CSS preset for @talonic/docs consumers.
3
+ * Adds the Void design system color tokens and font families
4
+ * so doc components render correctly in any host app.
5
+ */
6
+ declare const voidDocsPreset: {
7
+ darkMode: "class";
8
+ theme: {
9
+ extend: {
10
+ colors: {
11
+ 'void-bg': string;
12
+ 'void-bg-elevated': string;
13
+ 'void-surface': string;
14
+ 'void-surface-2': string;
15
+ 'void-surface-3': string;
16
+ 'void-border': string;
17
+ 'void-border-hover': string;
18
+ 'void-text-primary': string;
19
+ 'void-text-secondary': string;
20
+ 'void-text-muted': string;
21
+ 'void-text-tertiary': string;
22
+ 'void-accent': string;
23
+ 'void-accent-hover': string;
24
+ 'void-accent-dim': string;
25
+ 'void-accent-tint': string;
26
+ 'void-danger': string;
27
+ 'void-danger-solid': string;
28
+ 'void-divider': string;
29
+ 'void-warning': string;
30
+ 'void-warning-dim': string;
31
+ 'void-tier-1': string;
32
+ 'void-tier-2': string;
33
+ 'void-tier-3': string;
34
+ };
35
+ fontFamily: {
36
+ space: string[];
37
+ body: string[];
38
+ mono: string[];
39
+ };
40
+ };
41
+ };
42
+ plugins: never[];
43
+ };
44
+
45
+ export { voidDocsPreset as default };
package/openapi.json CHANGED
@@ -23132,6 +23132,7 @@
23132
23132
  "model_substitutions": null,
23133
23133
  "default_models": null,
23134
23134
  "max_attempts": null,
23135
+ "image_attachment_quality": null,
23135
23136
  "model_classes": null,
23136
23137
  "operation_classes": {
23137
23138
  "extraction": "complex"
@@ -23261,6 +23262,19 @@
23261
23262
  "maximum": 8,
23262
23263
  "description": "Ceiling on provider attempts for one logical call."
23263
23264
  },
23265
+ "image_attachment_quality": {
23266
+ "type": [
23267
+ "string",
23268
+ "null"
23269
+ ],
23270
+ "enum": [
23271
+ "low",
23272
+ "medium",
23273
+ "high",
23274
+ null
23275
+ ],
23276
+ "description": "How much the vision model spends rasterising an attached PDF page (Gemini media resolution; medium = 560 tokens per page, high = 1120). Image attachments are unaffected. Null = the deployment default. Omitting it on PUT clears it."
23277
+ },
23264
23278
  "model_classes": {
23265
23279
  "type": "object",
23266
23280
  "description": "Named model lineage overrides. Values are camelCase: { description, chain: [{ model, deployments: [{ provider, region }] }], requiredCapabilities, fallback: chain | primary_only }."
@@ -23338,6 +23352,7 @@
23338
23352
  "model_substitutions": null,
23339
23353
  "default_models": null,
23340
23354
  "max_attempts": null,
23355
+ "image_attachment_quality": null,
23341
23356
  "model_classes": null,
23342
23357
  "operation_classes": {
23343
23358
  "extraction": "complex"
@@ -23473,6 +23488,7 @@
23473
23488
  "model_substitutions": null,
23474
23489
  "default_models": null,
23475
23490
  "max_attempts": null,
23491
+ "image_attachment_quality": null,
23476
23492
  "model_classes": null,
23477
23493
  "operation_classes": null,
23478
23494
  "features": null
@@ -23874,6 +23890,7 @@
23874
23890
  "model_substitutions": null,
23875
23891
  "default_models": null,
23876
23892
  "max_attempts": null,
23893
+ "image_attachment_quality": null,
23877
23894
  "model_classes": null,
23878
23895
  "operation_classes": null,
23879
23896
  "features": null
@@ -23899,6 +23916,7 @@
23899
23916
  "model_substitutions": null,
23900
23917
  "default_models": null,
23901
23918
  "max_attempts": null,
23919
+ "image_attachment_quality": null,
23902
23920
  "model_classes": null,
23903
23921
  "operation_classes": null,
23904
23922
  "features": null
@@ -24773,6 +24791,11 @@
24773
24791
  "assisted",
24774
24792
  "external"
24775
24793
  ]
24794
+ },
24795
+ "description": {
24796
+ "type": "string",
24797
+ "maxLength": 2000,
24798
+ "description": "One sentence about the app, shown on its card. Optional."
24776
24799
  }
24777
24800
  }
24778
24801
  }
@@ -27405,11 +27428,308 @@
27405
27428
  }
27406
27429
  }
27407
27430
  },
27431
+ "/v1/apps/{id}/subjects/summary": {
27432
+ "get": {
27433
+ "operationId": "getAppStandingSummary",
27434
+ "summary": "Counts over the standing decisions of an app",
27435
+ "description": "Total, per-decision counts, not-eligible counts per first blocking card and per-UTC-day counts, over the same standing set as `/subjects` and under the same `rule`+`status`, `decided_after` and `q` filters. `since` keeps subjects decided at or after it.",
27436
+ "tags": [
27437
+ "Apps"
27438
+ ],
27439
+ "parameters": [
27440
+ {
27441
+ "name": "id",
27442
+ "in": "path",
27443
+ "required": true,
27444
+ "schema": {
27445
+ "type": "string",
27446
+ "format": "uuid"
27447
+ }
27448
+ },
27449
+ {
27450
+ "name": "since",
27451
+ "in": "query",
27452
+ "schema": {
27453
+ "type": "string",
27454
+ "format": "date-time"
27455
+ }
27456
+ },
27457
+ {
27458
+ "name": "rule",
27459
+ "in": "query",
27460
+ "schema": {
27461
+ "type": "string"
27462
+ },
27463
+ "description": "Card id; used with status."
27464
+ },
27465
+ {
27466
+ "name": "status",
27467
+ "in": "query",
27468
+ "schema": {
27469
+ "type": "string",
27470
+ "enum": [
27471
+ "passed",
27472
+ "failed",
27473
+ "indeterminate",
27474
+ "not_applicable"
27475
+ ]
27476
+ },
27477
+ "description": "Outcome of the rule named by `rule`."
27478
+ },
27479
+ {
27480
+ "name": "decided_after",
27481
+ "in": "query",
27482
+ "schema": {
27483
+ "type": "string",
27484
+ "format": "date-time"
27485
+ }
27486
+ },
27487
+ {
27488
+ "name": "q",
27489
+ "in": "query",
27490
+ "schema": {
27491
+ "type": "string",
27492
+ "maxLength": 120
27493
+ },
27494
+ "description": "Case-insensitive substring over subject key, label and document names."
27495
+ }
27496
+ ],
27497
+ "responses": {
27498
+ "200": {
27499
+ "description": "Standing summary.",
27500
+ "content": {
27501
+ "application/json": {
27502
+ "schema": {
27503
+ "type": "object",
27504
+ "properties": {
27505
+ "total": {
27506
+ "type": "integer"
27507
+ },
27508
+ "by_decision": {
27509
+ "type": "object",
27510
+ "properties": {
27511
+ "eligible": {
27512
+ "type": "integer"
27513
+ },
27514
+ "ineligible": {
27515
+ "type": "integer"
27516
+ },
27517
+ "unclear": {
27518
+ "type": "integer"
27519
+ }
27520
+ }
27521
+ },
27522
+ "by_reason": {
27523
+ "type": "array",
27524
+ "items": {
27525
+ "type": "object",
27526
+ "properties": {
27527
+ "card_id": {
27528
+ "type": "string",
27529
+ "nullable": true,
27530
+ "description": "Null when the subject is not eligible but no card blocks it."
27531
+ },
27532
+ "count": {
27533
+ "type": "integer"
27534
+ }
27535
+ }
27536
+ }
27537
+ },
27538
+ "by_day": {
27539
+ "type": "array",
27540
+ "items": {
27541
+ "type": "object",
27542
+ "properties": {
27543
+ "day": {
27544
+ "type": "string",
27545
+ "format": "date"
27546
+ },
27547
+ "eligible": {
27548
+ "type": "integer"
27549
+ },
27550
+ "not_eligible": {
27551
+ "type": "integer"
27552
+ }
27553
+ }
27554
+ }
27555
+ }
27556
+ }
27557
+ }
27558
+ }
27559
+ }
27560
+ },
27561
+ "403": {
27562
+ "description": "Master view ('all') or missing workspace — a concrete tenant is required."
27563
+ },
27564
+ "404": {
27565
+ "$ref": "#/components/responses/NotFound"
27566
+ },
27567
+ "501": {
27568
+ "description": "Batch verdicts are not available in this deployment."
27569
+ }
27570
+ }
27571
+ }
27572
+ },
27573
+ "/v1/apps/{id}/subjects/{key}/history": {
27574
+ "get": {
27575
+ "operationId": "getAppSubjectHistory",
27576
+ "summary": "Every decision revision of one subject, oldest first",
27577
+ "description": "All verdict rows for the subject key across the app's runs, including dry and unsealed ones, each with the deciding run's App version, trigger and `sealed` flag. Only sealed, non-dry rows can stand.",
27578
+ "tags": [
27579
+ "Apps"
27580
+ ],
27581
+ "parameters": [
27582
+ {
27583
+ "name": "id",
27584
+ "in": "path",
27585
+ "required": true,
27586
+ "schema": {
27587
+ "type": "string",
27588
+ "format": "uuid"
27589
+ }
27590
+ },
27591
+ {
27592
+ "name": "key",
27593
+ "in": "path",
27594
+ "required": true,
27595
+ "schema": {
27596
+ "type": "string"
27597
+ },
27598
+ "description": "URL-encoded subject key."
27599
+ }
27600
+ ],
27601
+ "responses": {
27602
+ "200": {
27603
+ "description": "Revision history.",
27604
+ "content": {
27605
+ "application/json": {
27606
+ "schema": {
27607
+ "type": "object",
27608
+ "properties": {
27609
+ "subject_key": {
27610
+ "type": "string"
27611
+ },
27612
+ "active_version": {
27613
+ "type": "integer",
27614
+ "nullable": true
27615
+ },
27616
+ "versions": {
27617
+ "type": "object",
27618
+ "description": "Content hash and per-rule fingerprints for the active version and every version that decided an entry.",
27619
+ "additionalProperties": {
27620
+ "type": "object",
27621
+ "properties": {
27622
+ "content_hash": {
27623
+ "type": "string"
27624
+ },
27625
+ "fingerprints": {
27626
+ "type": "object",
27627
+ "additionalProperties": {
27628
+ "type": "string"
27629
+ }
27630
+ }
27631
+ }
27632
+ }
27633
+ },
27634
+ "entries": {
27635
+ "type": "array",
27636
+ "items": {
27637
+ "type": "object",
27638
+ "properties": {
27639
+ "first_blocking_card": {
27640
+ "type": "string",
27641
+ "nullable": true,
27642
+ "description": "Earliest failed or indeterminate card in the authored order of the version that decided this entry; with no deciding version row, ordered by status, then key."
27643
+ },
27644
+ "standing": {
27645
+ "type": "boolean",
27646
+ "description": "True for exactly the entry that is the subject's standing decision (highest revision of a completed, non-dry, sealed run), false for every other entry and for all entries when no run qualifies."
27647
+ },
27648
+ "run_id": {
27649
+ "type": "string",
27650
+ "format": "uuid"
27651
+ },
27652
+ "app_version": {
27653
+ "type": "integer",
27654
+ "nullable": true
27655
+ },
27656
+ "app_version_hash": {
27657
+ "type": "string",
27658
+ "nullable": true
27659
+ },
27660
+ "decision_revision": {
27661
+ "type": "integer",
27662
+ "nullable": true
27663
+ },
27664
+ "decided_at": {
27665
+ "type": "string",
27666
+ "format": "date-time"
27667
+ },
27668
+ "trigger": {
27669
+ "type": "object",
27670
+ "nullable": true
27671
+ },
27672
+ "dry_run": {
27673
+ "type": "boolean"
27674
+ },
27675
+ "sealed": {
27676
+ "type": "boolean"
27677
+ },
27678
+ "rolled_outcome": {
27679
+ "type": "string"
27680
+ },
27681
+ "auto": {
27682
+ "type": "boolean"
27683
+ },
27684
+ "substantive_passes": {
27685
+ "type": "integer"
27686
+ },
27687
+ "subject_label": {
27688
+ "type": "string",
27689
+ "nullable": true
27690
+ },
27691
+ "rule_outcomes": {
27692
+ "type": "object",
27693
+ "nullable": true
27694
+ },
27695
+ "document_outcomes": {
27696
+ "type": "array",
27697
+ "nullable": true,
27698
+ "items": {
27699
+ "type": "object",
27700
+ "properties": {
27701
+ "filename": {
27702
+ "type": "string",
27703
+ "nullable": true
27704
+ }
27705
+ }
27706
+ }
27707
+ }
27708
+ }
27709
+ }
27710
+ }
27711
+ }
27712
+ }
27713
+ }
27714
+ }
27715
+ },
27716
+ "403": {
27717
+ "description": "Master view ('all') or missing workspace — a concrete tenant is required."
27718
+ },
27719
+ "404": {
27720
+ "$ref": "#/components/responses/NotFound"
27721
+ },
27722
+ "501": {
27723
+ "description": "Batch verdicts are not available in this deployment."
27724
+ }
27725
+ }
27726
+ }
27727
+ },
27408
27728
  "/v1/apps/{id}/subjects": {
27409
27729
  "get": {
27410
27730
  "operationId": "listAppStandingSubjects",
27411
27731
  "summary": "Standing decision per record group (highest revision across sealed runs)",
27412
- "description": "One row per subject key: the highest-`decision_revision` verdict among SEALED, non-dry runs — the decision a dedupe-by-max-revision receiver converges on. Each row names the deciding run, its App version and that version's content hash; the `versions` map carries a semantic fingerprint per rule so clients can render historical outcomes only under semantically identical current rules. Cursor-paginated by subject key.",
27732
+ "description": "One row per subject key: the highest-`decision_revision` verdict among SEALED, non-dry runs — the decision a dedupe-by-max-revision receiver converges on. Each row names the deciding run, its App version and that version's content hash; the `versions` map carries a semantic fingerprint per rule so clients can render historical outcomes only under semantically identical current rules. Cursor-paginated by subject key by default, or newest-first with `sort=decided_at_desc`. Filters apply to the standing set and `total` counts every matching subject.",
27413
27733
  "tags": [
27414
27734
  "Apps"
27415
27735
  ],
@@ -27439,7 +27759,7 @@
27439
27759
  "schema": {
27440
27760
  "type": "string"
27441
27761
  },
27442
- "description": "Opaque cursor: the last subject_key of the previous page."
27762
+ "description": "Opaque cursor: the last subject_key of the previous page, or for sort=decided_at_desc the value of `next`."
27443
27763
  },
27444
27764
  {
27445
27765
  "name": "include",
@@ -27447,10 +27767,84 @@
27447
27767
  "schema": {
27448
27768
  "type": "string",
27449
27769
  "enum": [
27450
- "summary"
27770
+ "summary",
27771
+ "full"
27451
27772
  ]
27452
27773
  },
27453
27774
  "description": "'summary' omits rule_outcomes and document_outcomes from each row."
27775
+ },
27776
+ {
27777
+ "name": "decision",
27778
+ "in": "query",
27779
+ "schema": {
27780
+ "type": "string",
27781
+ "enum": [
27782
+ "eligible",
27783
+ "ineligible",
27784
+ "unclear",
27785
+ "not_eligible"
27786
+ ]
27787
+ },
27788
+ "description": "not_eligible = ineligible or unclear."
27789
+ },
27790
+ {
27791
+ "name": "rule",
27792
+ "in": "query",
27793
+ "schema": {
27794
+ "type": "string"
27795
+ },
27796
+ "description": "Card id; used with status."
27797
+ },
27798
+ {
27799
+ "name": "status",
27800
+ "in": "query",
27801
+ "schema": {
27802
+ "type": "string",
27803
+ "enum": [
27804
+ "passed",
27805
+ "failed",
27806
+ "indeterminate",
27807
+ "not_applicable"
27808
+ ]
27809
+ },
27810
+ "description": "Outcome of the rule named by `rule`."
27811
+ },
27812
+ {
27813
+ "name": "reason",
27814
+ "in": "query",
27815
+ "schema": {
27816
+ "type": "string"
27817
+ },
27818
+ "description": "Card id; keeps subjects whose first blocking card (in the deciding version's authored order) is this one."
27819
+ },
27820
+ {
27821
+ "name": "decided_after",
27822
+ "in": "query",
27823
+ "schema": {
27824
+ "type": "string",
27825
+ "format": "date-time"
27826
+ }
27827
+ },
27828
+ {
27829
+ "name": "q",
27830
+ "in": "query",
27831
+ "schema": {
27832
+ "type": "string",
27833
+ "maxLength": 120
27834
+ },
27835
+ "description": "Case-insensitive substring over subject key, label and document names."
27836
+ },
27837
+ {
27838
+ "name": "sort",
27839
+ "in": "query",
27840
+ "schema": {
27841
+ "type": "string",
27842
+ "enum": [
27843
+ "decided_at_desc",
27844
+ "subject_key"
27845
+ ],
27846
+ "default": "subject_key"
27847
+ }
27454
27848
  }
27455
27849
  ],
27456
27850
  "responses": {
@@ -27469,6 +27863,14 @@
27469
27863
  "subject_key": {
27470
27864
  "type": "string"
27471
27865
  },
27866
+ "subject_label": {
27867
+ "type": "string",
27868
+ "nullable": true
27869
+ },
27870
+ "first_blocking_card": {
27871
+ "type": "string",
27872
+ "nullable": true
27873
+ },
27472
27874
  "rolled_outcome": {
27473
27875
  "type": "string",
27474
27876
  "enum": [
@@ -27492,7 +27894,13 @@
27492
27894
  "type": "array",
27493
27895
  "nullable": true,
27494
27896
  "items": {
27495
- "type": "object"
27897
+ "type": "object",
27898
+ "properties": {
27899
+ "filename": {
27900
+ "type": "string",
27901
+ "nullable": true
27902
+ }
27903
+ }
27496
27904
  }
27497
27905
  },
27498
27906
  "decision_state": {
@@ -27529,6 +27937,10 @@
27529
27937
  "type": "string",
27530
27938
  "nullable": true
27531
27939
  },
27940
+ "total": {
27941
+ "type": "integer",
27942
+ "description": "Subjects matching the filters, across all pages; read it from the first page (an empty page past the end reports 0)."
27943
+ },
27532
27944
  "active_version": {
27533
27945
  "type": "integer",
27534
27946
  "nullable": true
@@ -28442,13 +28854,18 @@
28442
28854
  "subject_label": {
28443
28855
  "type": "string",
28444
28856
  "nullable": true,
28445
- "description": "Readable subject label from the subject binding's data product (cleaned alias); null when unresolvable."
28857
+ "description": "Subject label stored when the verdict was decided; for older rows without one, the readable label from the subject binding's data product (cleaned alias); null when neither resolves."
28446
28858
  },
28447
28859
  "subject_record_id": {
28448
28860
  "type": "string",
28449
28861
  "nullable": true,
28450
28862
  "description": "Anchor record id in the subject binding's data product — deep-links the product review; null when unresolvable."
28451
28863
  },
28864
+ "decided_at": {
28865
+ "type": "string",
28866
+ "format": "date-time",
28867
+ "description": "When this verdict was decided."
28868
+ },
28452
28869
  "rolled_outcome": {
28453
28870
  "type": "string",
28454
28871
  "enum": [
@@ -28588,6 +29005,92 @@
28588
29005
  }
28589
29006
  }
28590
29007
  },
29008
+ "/v1/runs/{runId}/records": {
29009
+ "get": {
29010
+ "operationId": "getRunSubjectRecords",
29011
+ "summary": "One subject's frozen package records in a run",
29012
+ "description": "The records of the run's frozen input package that belong to one subject (group), exactly as frozen, with the source documents those records cite.",
29013
+ "tags": [
29014
+ "Apps"
29015
+ ],
29016
+ "parameters": [
29017
+ {
29018
+ "name": "runId",
29019
+ "in": "path",
29020
+ "required": true,
29021
+ "schema": {
29022
+ "type": "string",
29023
+ "format": "uuid"
29024
+ }
29025
+ },
29026
+ {
29027
+ "name": "subject",
29028
+ "in": "query",
29029
+ "required": true,
29030
+ "schema": {
29031
+ "type": "string"
29032
+ }
29033
+ }
29034
+ ],
29035
+ "responses": {
29036
+ "200": {
29037
+ "description": "Subject records.",
29038
+ "content": {
29039
+ "application/json": {
29040
+ "schema": {
29041
+ "type": "object",
29042
+ "properties": {
29043
+ "run_id": {
29044
+ "type": "string",
29045
+ "format": "uuid"
29046
+ },
29047
+ "subject_key": {
29048
+ "type": "string"
29049
+ },
29050
+ "records": {
29051
+ "type": "array",
29052
+ "items": {
29053
+ "type": "object"
29054
+ }
29055
+ },
29056
+ "documents": {
29057
+ "type": "array",
29058
+ "items": {
29059
+ "type": "object",
29060
+ "properties": {
29061
+ "document_id": {
29062
+ "type": "string",
29063
+ "format": "uuid"
29064
+ },
29065
+ "filename": {
29066
+ "type": "string"
29067
+ },
29068
+ "mime_type": {
29069
+ "type": "string"
29070
+ },
29071
+ "file_url": {
29072
+ "type": "string"
29073
+ }
29074
+ }
29075
+ }
29076
+ }
29077
+ }
29078
+ }
29079
+ }
29080
+ }
29081
+ },
29082
+ "400": {
29083
+ "description": "subject is missing or longer than 512 characters."
29084
+ },
29085
+ "404": {
29086
+ "$ref": "#/components/responses/NotFound"
29087
+ },
29088
+ "501": {
29089
+ "description": "Batch verdicts are not available in this deployment."
29090
+ }
29091
+ }
29092
+ }
29093
+ },
28591
29094
  "/v1/runs/{runId}/reconstruction": {
28592
29095
  "get": {
28593
29096
  "operationId": "reconstructRunDocumentMatrix",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talonic/docs",
3
- "version": "0.21.48",
3
+ "version": "0.21.50",
4
4
  "description": "Talonic documentation components — API Reference & Platform Guide",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,