@talonic/docs 0.21.50 → 0.21.51

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/seo.js CHANGED
@@ -24056,7 +24056,7 @@ var openapi_default = {
24056
24056
  get: {
24057
24057
  operationId: "getAgentTask",
24058
24058
  summary: "Fetch one Agent task payload",
24059
- description: "Fetching the immutable snapshot is recorded as an audited data disclosure.",
24059
+ description: "Fetching the immutable snapshot is recorded as an audited data disclosure. A task the caller itself submitted also carries `result_summary` \u2014 what the platform did with the submit.",
24060
24060
  tags: [
24061
24061
  "Agent Tasks"
24062
24062
  ],
@@ -24223,7 +24223,7 @@ var openapi_default = {
24223
24223
  },
24224
24224
  responses: {
24225
24225
  "200": {
24226
- description: "Submitted task metadata.",
24226
+ description: "Submitted task metadata, with the submit's `result_summary`.",
24227
24227
  content: {
24228
24228
  "application/json": {
24229
24229
  schema: {
@@ -31528,6 +31528,121 @@ var openapi_default = {
31528
31528
  updated_at: {
31529
31529
  type: "string",
31530
31530
  format: "date-time"
31531
+ },
31532
+ result_summary: {
31533
+ $ref: "#/components/schemas/AgentTaskResultSummary"
31534
+ }
31535
+ }
31536
+ },
31537
+ AgentTaskResultSummary: {
31538
+ type: [
31539
+ "object",
31540
+ "null"
31541
+ ],
31542
+ description: "Present only on a task the caller itself submitted (the submit response, and `GET /v1/agent-tasks/{id}` by the claim holder). What the platform did with the submit; keys with nothing to report are omitted.",
31543
+ additionalProperties: true,
31544
+ properties: {
31545
+ fields: {
31546
+ type: "array",
31547
+ items: {
31548
+ type: "string"
31549
+ },
31550
+ description: "Fields written as submitted."
31551
+ },
31552
+ summary: {
31553
+ type: "string"
31554
+ },
31555
+ demoted_below_floor: {
31556
+ type: "array",
31557
+ items: {
31558
+ type: "string"
31559
+ },
31560
+ description: "Values under the autonomy contract's confidence floor; recorded",
31561
+ "never written.": null
31562
+ },
31563
+ skipped_cells: {
31564
+ type: "array",
31565
+ description: "Fields the cell-write guard withheld. `review_authority` = a review decision outranks the agent; `pending_approval` = the cell is held for review. Under `releaseHolds`, a `pending_approval` field also appears in `released_holds` or `release_failed`.",
31566
+ items: {
31567
+ type: "object",
31568
+ properties: {
31569
+ field_key: {
31570
+ type: "string"
31571
+ },
31572
+ reason: {
31573
+ type: "string",
31574
+ enum: [
31575
+ "review_authority",
31576
+ "pending_approval"
31577
+ ]
31578
+ }
31579
+ }
31580
+ }
31581
+ },
31582
+ escalated: {
31583
+ type: "array",
31584
+ description: "Fields handed to a human (agent escalation or an unverified quote).",
31585
+ items: {
31586
+ type: "object",
31587
+ properties: {
31588
+ field_key: {
31589
+ type: "string"
31590
+ },
31591
+ reason: {
31592
+ type: "string"
31593
+ },
31594
+ proposed: {}
31595
+ }
31596
+ }
31597
+ },
31598
+ released_holds: {
31599
+ type: "array",
31600
+ description: "Product grain with the autonomy contract's `releaseHolds`: held fields the submit settled through the review path (`approve` = held value kept, `correct` = submitted value written; a null value clears the field).",
31601
+ items: {
31602
+ type: "object",
31603
+ properties: {
31604
+ field_key: {
31605
+ type: "string"
31606
+ },
31607
+ action: {
31608
+ type: "string",
31609
+ enum: [
31610
+ "approve",
31611
+ "correct"
31612
+ ]
31613
+ },
31614
+ pipeline_document_id: {
31615
+ type: "string",
31616
+ format: "uuid"
31617
+ }
31618
+ }
31619
+ }
31620
+ },
31621
+ release_failed: {
31622
+ type: "array",
31623
+ description: "Held fields the release could not settle; they stay held for a human.",
31624
+ items: {
31625
+ type: "object",
31626
+ properties: {
31627
+ field_key: {
31628
+ type: "string"
31629
+ },
31630
+ reason: {
31631
+ type: "string"
31632
+ }
31633
+ }
31634
+ }
31635
+ },
31636
+ anchor_election: {
31637
+ type: "string",
31638
+ format: "uuid"
31639
+ },
31640
+ autonomy_mode: {
31641
+ type: "string",
31642
+ enum: [
31643
+ "propose",
31644
+ "observe"
31645
+ ]
31531
31646
  }
31532
31647
  }
31533
31648
  },
@@ -31637,6 +31752,19 @@ var openapi_default = {
31637
31752
  reasoning: {
31638
31753
  type: "string",
31639
31754
  maxLength: 4e3
31755
+ },
31756
+ escalate: {
31757
+ type: "boolean",
31758
+ description: "Product-grain (Agentic Review) tasks only. Hand this field to a human instead of writing it; `value` is shown as the proposal and `reasoning` as the reason."
31759
+ },
31760
+ quote: {
31761
+ type: "string",
31762
+ description: "Verbatim evidence for a changed value. Required when the Spec's autonomy contract sets `requireQuote`; a change whose quote is missing or not found in `document_id` is escalated instead of written."
31763
+ },
31764
+ document_id: {
31765
+ type: "string",
31766
+ format: "uuid",
31767
+ description: "The contract document the `quote` comes from (the anchor, a candidate supplier document, or any member document listed in `input_snapshot.memberDocuments`)."
31640
31768
  }
31641
31769
  }
31642
31770
  }
package/openapi.json CHANGED
@@ -24036,7 +24036,7 @@
24036
24036
  "get": {
24037
24037
  "operationId": "getAgentTask",
24038
24038
  "summary": "Fetch one Agent task payload",
24039
- "description": "Fetching the immutable snapshot is recorded as an audited data disclosure.",
24039
+ "description": "Fetching the immutable snapshot is recorded as an audited data disclosure. A task the caller itself submitted also carries `result_summary` — what the platform did with the submit.",
24040
24040
  "tags": [
24041
24041
  "Agent Tasks"
24042
24042
  ],
@@ -24203,7 +24203,7 @@
24203
24203
  },
24204
24204
  "responses": {
24205
24205
  "200": {
24206
- "description": "Submitted task metadata.",
24206
+ "description": "Submitted task metadata, with the submit's `result_summary`.",
24207
24207
  "content": {
24208
24208
  "application/json": {
24209
24209
  "schema": {
@@ -31508,6 +31508,121 @@
31508
31508
  "updated_at": {
31509
31509
  "type": "string",
31510
31510
  "format": "date-time"
31511
+ },
31512
+ "result_summary": {
31513
+ "$ref": "#/components/schemas/AgentTaskResultSummary"
31514
+ }
31515
+ }
31516
+ },
31517
+ "AgentTaskResultSummary": {
31518
+ "type": [
31519
+ "object",
31520
+ "null"
31521
+ ],
31522
+ "description": "Present only on a task the caller itself submitted (the submit response, and `GET /v1/agent-tasks/{id}` by the claim holder). What the platform did with the submit; keys with nothing to report are omitted.",
31523
+ "additionalProperties": true,
31524
+ "properties": {
31525
+ "fields": {
31526
+ "type": "array",
31527
+ "items": {
31528
+ "type": "string"
31529
+ },
31530
+ "description": "Fields written as submitted."
31531
+ },
31532
+ "summary": {
31533
+ "type": "string"
31534
+ },
31535
+ "demoted_below_floor": {
31536
+ "type": "array",
31537
+ "items": {
31538
+ "type": "string"
31539
+ },
31540
+ "description": "Values under the autonomy contract's confidence floor; recorded",
31541
+ "never written.": null
31542
+ },
31543
+ "skipped_cells": {
31544
+ "type": "array",
31545
+ "description": "Fields the cell-write guard withheld. `review_authority` = a review decision outranks the agent; `pending_approval` = the cell is held for review. Under `releaseHolds`, a `pending_approval` field also appears in `released_holds` or `release_failed`.",
31546
+ "items": {
31547
+ "type": "object",
31548
+ "properties": {
31549
+ "field_key": {
31550
+ "type": "string"
31551
+ },
31552
+ "reason": {
31553
+ "type": "string",
31554
+ "enum": [
31555
+ "review_authority",
31556
+ "pending_approval"
31557
+ ]
31558
+ }
31559
+ }
31560
+ }
31561
+ },
31562
+ "escalated": {
31563
+ "type": "array",
31564
+ "description": "Fields handed to a human (agent escalation or an unverified quote).",
31565
+ "items": {
31566
+ "type": "object",
31567
+ "properties": {
31568
+ "field_key": {
31569
+ "type": "string"
31570
+ },
31571
+ "reason": {
31572
+ "type": "string"
31573
+ },
31574
+ "proposed": {}
31575
+ }
31576
+ }
31577
+ },
31578
+ "released_holds": {
31579
+ "type": "array",
31580
+ "description": "Product grain with the autonomy contract's `releaseHolds`: held fields the submit settled through the review path (`approve` = held value kept, `correct` = submitted value written; a null value clears the field).",
31581
+ "items": {
31582
+ "type": "object",
31583
+ "properties": {
31584
+ "field_key": {
31585
+ "type": "string"
31586
+ },
31587
+ "action": {
31588
+ "type": "string",
31589
+ "enum": [
31590
+ "approve",
31591
+ "correct"
31592
+ ]
31593
+ },
31594
+ "pipeline_document_id": {
31595
+ "type": "string",
31596
+ "format": "uuid"
31597
+ }
31598
+ }
31599
+ }
31600
+ },
31601
+ "release_failed": {
31602
+ "type": "array",
31603
+ "description": "Held fields the release could not settle; they stay held for a human.",
31604
+ "items": {
31605
+ "type": "object",
31606
+ "properties": {
31607
+ "field_key": {
31608
+ "type": "string"
31609
+ },
31610
+ "reason": {
31611
+ "type": "string"
31612
+ }
31613
+ }
31614
+ }
31615
+ },
31616
+ "anchor_election": {
31617
+ "type": "string",
31618
+ "format": "uuid"
31619
+ },
31620
+ "autonomy_mode": {
31621
+ "type": "string",
31622
+ "enum": [
31623
+ "propose",
31624
+ "observe"
31625
+ ]
31511
31626
  }
31512
31627
  }
31513
31628
  },
@@ -31617,6 +31732,19 @@
31617
31732
  "reasoning": {
31618
31733
  "type": "string",
31619
31734
  "maxLength": 4000
31735
+ },
31736
+ "escalate": {
31737
+ "type": "boolean",
31738
+ "description": "Product-grain (Agentic Review) tasks only. Hand this field to a human instead of writing it; `value` is shown as the proposal and `reasoning` as the reason."
31739
+ },
31740
+ "quote": {
31741
+ "type": "string",
31742
+ "description": "Verbatim evidence for a changed value. Required when the Spec's autonomy contract sets `requireQuote`; a change whose quote is missing or not found in `document_id` is escalated instead of written."
31743
+ },
31744
+ "document_id": {
31745
+ "type": "string",
31746
+ "format": "uuid",
31747
+ "description": "The contract document the `quote` comes from (the anchor, a candidate supplier document, or any member document listed in `input_snapshot.memberDocuments`)."
31620
31748
  }
31621
31749
  }
31622
31750
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talonic/docs",
3
- "version": "0.21.50",
3
+ "version": "0.21.51",
4
4
  "description": "Talonic documentation components — API Reference & Platform Guide",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -1,45 +0,0 @@
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 };
@@ -1,45 +0,0 @@
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 };