@adoptai/genui-components 0.1.57 → 0.1.59
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/composites/document-field-extraction/FieldAuditLog.d.ts +27 -0
- package/dist/composites/document-field-extraction/FieldAuditLog.d.ts.map +1 -0
- package/dist/composites/document-field-extraction/FieldDetail.d.ts +22 -0
- package/dist/composites/document-field-extraction/FieldDetail.d.ts.map +1 -0
- package/dist/composites/document-field-extraction/FieldDetails.d.ts +18 -0
- package/dist/composites/document-field-extraction/FieldDetails.d.ts.map +1 -0
- package/dist/composites/document-field-extraction/bboxTransform.d.ts +25 -0
- package/dist/composites/document-field-extraction/bboxTransform.d.ts.map +1 -0
- package/dist/composites/document-field-extraction/fieldLabels.d.ts +2 -0
- package/dist/composites/document-field-extraction/fieldLabels.d.ts.map +1 -0
- package/dist/composites/document-field-extraction/resolver.cjs +1920 -0
- package/dist/composites/document-field-extraction/resolver.cjs.map +1 -0
- package/dist/composites/document-field-extraction/resolver.d.ts +16 -0
- package/dist/composites/document-field-extraction/resolver.d.ts.map +1 -0
- package/dist/composites/document-field-extraction/resolver.js +1913 -0
- package/dist/composites/document-field-extraction/resolver.js.map +1 -0
- package/dist/composites/tabby-auth/resolver.cjs +597 -0
- package/dist/composites/tabby-auth/resolver.cjs.map +1 -0
- package/dist/composites/tabby-auth/resolver.d.ts +3 -0
- package/dist/composites/tabby-auth/resolver.d.ts.map +1 -0
- package/dist/composites/tabby-auth/resolver.js +595 -0
- package/dist/composites/tabby-auth/resolver.js.map +1 -0
- package/dist/composites/workflow-stepper/resolver.cjs +86 -18
- package/dist/composites/workflow-stepper/resolver.cjs.map +1 -1
- package/dist/composites/workflow-stepper/resolver.d.ts.map +1 -1
- package/dist/composites/workflow-stepper/resolver.js +86 -18
- package/dist/composites/workflow-stepper/resolver.js.map +1 -1
- package/dist/index.cjs +2661 -345
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2456 -144
- package/dist/index.js.map +1 -1
- package/dist/renderer.cjs +2482 -281
- package/dist/renderer.cjs.map +1 -1
- package/dist/renderer.js +2339 -138
- package/dist/renderer.js.map +1 -1
- package/dist/resolver.cjs +2481 -280
- package/dist/resolver.cjs.map +1 -1
- package/dist/resolver.d.ts.map +1 -1
- package/dist/resolver.js +2339 -138
- package/dist/resolver.js.map +1 -1
- package/dist/schemas/document-field-extraction.d.ts +258 -0
- package/dist/schemas/document-field-extraction.d.ts.map +1 -0
- package/dist/schemas/index.cjs +262 -3
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.ts +376 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +262 -3
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/tabby-auth.d.ts +58 -0
- package/dist/schemas/tabby-auth.d.ts.map +1 -0
- package/dist/schemas/workflow-stepper.d.ts +60 -0
- package/dist/schemas/workflow-stepper.d.ts.map +1 -1
- package/dist/tool-definitions.json +326 -3
- package/package.json +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const tabbyAuthSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"tabby-auth">;
|
|
4
|
+
app: z.ZodString;
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
7
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
pending: "pending";
|
|
9
|
+
connected: "connected";
|
|
10
|
+
}>>;
|
|
11
|
+
ctaLabel: z.ZodOptional<z.ZodString>;
|
|
12
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
|
+
description: z.ZodOptional<z.ZodString>;
|
|
14
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export declare const tabbyAuthTool: {
|
|
17
|
+
name: string;
|
|
18
|
+
description: string;
|
|
19
|
+
input_schema: {
|
|
20
|
+
type: "object";
|
|
21
|
+
properties: {
|
|
22
|
+
type: {
|
|
23
|
+
type: string;
|
|
24
|
+
enum: string[];
|
|
25
|
+
};
|
|
26
|
+
app: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
url: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
workspace: {
|
|
33
|
+
type: string;
|
|
34
|
+
};
|
|
35
|
+
state: {
|
|
36
|
+
type: string;
|
|
37
|
+
enum: string[];
|
|
38
|
+
};
|
|
39
|
+
ctaLabel: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
steps: {
|
|
43
|
+
type: string;
|
|
44
|
+
items: {
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
description: {
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
iconUrl: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
required: string[];
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=tabby-auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabby-auth.d.ts","sourceRoot":"","sources":["../../src/schemas/tabby-auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;;;iBAU1B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBzB,CAAC"}
|
|
@@ -16,9 +16,29 @@ export declare const workflowStepperSchema: z.ZodObject<{
|
|
|
16
16
|
active: "active";
|
|
17
17
|
done: "done";
|
|
18
18
|
blocked: "blocked";
|
|
19
|
+
running: "running";
|
|
19
20
|
failed: "failed";
|
|
20
21
|
review: "review";
|
|
21
22
|
}>;
|
|
23
|
+
eval: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
verdict: z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
good: "good";
|
|
27
|
+
bad: "bad";
|
|
28
|
+
}>>;
|
|
29
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
30
|
+
judge_ok: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
data_quality_flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
|
+
field: z.ZodOptional<z.ZodString>;
|
|
33
|
+
issue: z.ZodOptional<z.ZodString>;
|
|
34
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
high: "high";
|
|
36
|
+
medium: "medium";
|
|
37
|
+
low: "low";
|
|
38
|
+
}>>;
|
|
39
|
+
details: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
22
42
|
assignees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23
43
|
name: z.ZodString;
|
|
24
44
|
kind: z.ZodEnum<{
|
|
@@ -86,6 +106,46 @@ export declare const workflowStepperTool: {
|
|
|
86
106
|
type: string;
|
|
87
107
|
enum: string[];
|
|
88
108
|
};
|
|
109
|
+
eval: {
|
|
110
|
+
type: string;
|
|
111
|
+
description: string;
|
|
112
|
+
properties: {
|
|
113
|
+
score: {
|
|
114
|
+
type: string;
|
|
115
|
+
};
|
|
116
|
+
verdict: {
|
|
117
|
+
type: string;
|
|
118
|
+
enum: string[];
|
|
119
|
+
};
|
|
120
|
+
reasoning: {
|
|
121
|
+
type: string;
|
|
122
|
+
};
|
|
123
|
+
judge_ok: {
|
|
124
|
+
type: string;
|
|
125
|
+
};
|
|
126
|
+
data_quality_flags: {
|
|
127
|
+
type: string;
|
|
128
|
+
items: {
|
|
129
|
+
type: string;
|
|
130
|
+
properties: {
|
|
131
|
+
field: {
|
|
132
|
+
type: string;
|
|
133
|
+
};
|
|
134
|
+
issue: {
|
|
135
|
+
type: string;
|
|
136
|
+
};
|
|
137
|
+
severity: {
|
|
138
|
+
type: string;
|
|
139
|
+
enum: string[];
|
|
140
|
+
};
|
|
141
|
+
details: {
|
|
142
|
+
type: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
};
|
|
89
149
|
assignees: {
|
|
90
150
|
type: string;
|
|
91
151
|
maxItems: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-stepper.d.ts","sourceRoot":"","sources":["../../src/schemas/workflow-stepper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"workflow-stepper.d.ts","sourceRoot":"","sources":["../../src/schemas/workflow-stepper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsDhC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwE/B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
3
|
-
"generated_at": "2026-06-
|
|
4
|
-
"schema_count":
|
|
2
|
+
"version": "0.1.59",
|
|
3
|
+
"generated_at": "2026-06-29T12:53:38.720Z",
|
|
4
|
+
"schema_count": 60,
|
|
5
5
|
"schemas": {
|
|
6
6
|
"data-table": {
|
|
7
7
|
"name": "render_data_table",
|
|
@@ -4683,12 +4683,60 @@
|
|
|
4683
4683
|
"enum": [
|
|
4684
4684
|
"done",
|
|
4685
4685
|
"active",
|
|
4686
|
+
"running",
|
|
4686
4687
|
"review",
|
|
4687
4688
|
"pending",
|
|
4688
4689
|
"blocked",
|
|
4689
4690
|
"failed"
|
|
4690
4691
|
]
|
|
4691
4692
|
},
|
|
4693
|
+
"eval": {
|
|
4694
|
+
"type": "object",
|
|
4695
|
+
"description": "Optional quality-gate verdict for an executor-run step.",
|
|
4696
|
+
"properties": {
|
|
4697
|
+
"score": {
|
|
4698
|
+
"type": "number"
|
|
4699
|
+
},
|
|
4700
|
+
"verdict": {
|
|
4701
|
+
"type": "string",
|
|
4702
|
+
"enum": [
|
|
4703
|
+
"good",
|
|
4704
|
+
"bad"
|
|
4705
|
+
]
|
|
4706
|
+
},
|
|
4707
|
+
"reasoning": {
|
|
4708
|
+
"type": "string"
|
|
4709
|
+
},
|
|
4710
|
+
"judge_ok": {
|
|
4711
|
+
"type": "boolean"
|
|
4712
|
+
},
|
|
4713
|
+
"data_quality_flags": {
|
|
4714
|
+
"type": "array",
|
|
4715
|
+
"items": {
|
|
4716
|
+
"type": "object",
|
|
4717
|
+
"properties": {
|
|
4718
|
+
"field": {
|
|
4719
|
+
"type": "string"
|
|
4720
|
+
},
|
|
4721
|
+
"issue": {
|
|
4722
|
+
"type": "string"
|
|
4723
|
+
},
|
|
4724
|
+
"severity": {
|
|
4725
|
+
"type": "string",
|
|
4726
|
+
"enum": [
|
|
4727
|
+
"low",
|
|
4728
|
+
"medium",
|
|
4729
|
+
"high"
|
|
4730
|
+
]
|
|
4731
|
+
},
|
|
4732
|
+
"details": {
|
|
4733
|
+
"type": "string"
|
|
4734
|
+
}
|
|
4735
|
+
}
|
|
4736
|
+
}
|
|
4737
|
+
}
|
|
4738
|
+
}
|
|
4739
|
+
},
|
|
4692
4740
|
"assignees": {
|
|
4693
4741
|
"type": "array",
|
|
4694
4742
|
"maxItems": 6,
|
|
@@ -4737,6 +4785,230 @@
|
|
|
4737
4785
|
]
|
|
4738
4786
|
}
|
|
4739
4787
|
},
|
|
4788
|
+
"document-field-extraction": {
|
|
4789
|
+
"name": "render_document_field_extraction",
|
|
4790
|
+
"description": "Render extracted document fields as an interactive overlay on the page image(s) — colored bounding boxes per field plus a synced field-card list. Use after the extract_document tool returns; pass the returned payload_ref (the host expands it). For invoices, statements, tax forms, receipts, KYC/loan docs, POs where the user wants to SEE where each value sits on the page.",
|
|
4791
|
+
"input_schema": {
|
|
4792
|
+
"type": "object",
|
|
4793
|
+
"properties": {
|
|
4794
|
+
"type": {
|
|
4795
|
+
"type": "string",
|
|
4796
|
+
"enum": [
|
|
4797
|
+
"document-field-extraction"
|
|
4798
|
+
]
|
|
4799
|
+
},
|
|
4800
|
+
"doc_type": {
|
|
4801
|
+
"type": "string"
|
|
4802
|
+
},
|
|
4803
|
+
"file_name": {
|
|
4804
|
+
"type": "string",
|
|
4805
|
+
"description": "Original uploaded filename; shown as the card title."
|
|
4806
|
+
},
|
|
4807
|
+
"payload_ref": {
|
|
4808
|
+
"type": "string",
|
|
4809
|
+
"description": "Durable store key returned by extract_document; the GenUI host expands it into pages/fields at render time. Pass this verbatim — do NOT hand-build pages/fields."
|
|
4810
|
+
},
|
|
4811
|
+
"store_id": {
|
|
4812
|
+
"type": "string",
|
|
4813
|
+
"description": "Docstore store id; present for persisted workstream docs. The host uses this to open the editable viewer."
|
|
4814
|
+
},
|
|
4815
|
+
"doc_id": {
|
|
4816
|
+
"type": "string",
|
|
4817
|
+
"description": "Docstore document id; present for persisted workstream docs. Required for the editable viewer."
|
|
4818
|
+
},
|
|
4819
|
+
"pages": {
|
|
4820
|
+
"type": "array",
|
|
4821
|
+
"items": {
|
|
4822
|
+
"type": "object",
|
|
4823
|
+
"properties": {
|
|
4824
|
+
"page": {
|
|
4825
|
+
"type": "number",
|
|
4826
|
+
"description": "0-indexed page number"
|
|
4827
|
+
},
|
|
4828
|
+
"imageUrl": {
|
|
4829
|
+
"type": "string"
|
|
4830
|
+
},
|
|
4831
|
+
"width_pt": {
|
|
4832
|
+
"type": "number"
|
|
4833
|
+
},
|
|
4834
|
+
"height_pt": {
|
|
4835
|
+
"type": "number"
|
|
4836
|
+
}
|
|
4837
|
+
},
|
|
4838
|
+
"required": [
|
|
4839
|
+
"page",
|
|
4840
|
+
"width_pt",
|
|
4841
|
+
"height_pt"
|
|
4842
|
+
]
|
|
4843
|
+
}
|
|
4844
|
+
},
|
|
4845
|
+
"fields": {
|
|
4846
|
+
"type": "array",
|
|
4847
|
+
"items": {
|
|
4848
|
+
"type": "object",
|
|
4849
|
+
"properties": {
|
|
4850
|
+
"field_key": {
|
|
4851
|
+
"type": "string"
|
|
4852
|
+
},
|
|
4853
|
+
"label": {
|
|
4854
|
+
"type": "string"
|
|
4855
|
+
},
|
|
4856
|
+
"value": {
|
|
4857
|
+
"type": "string"
|
|
4858
|
+
},
|
|
4859
|
+
"page": {
|
|
4860
|
+
"type": "number",
|
|
4861
|
+
"description": "0-indexed page number"
|
|
4862
|
+
},
|
|
4863
|
+
"bbox": {
|
|
4864
|
+
"type": "array",
|
|
4865
|
+
"items": {
|
|
4866
|
+
"type": "number"
|
|
4867
|
+
},
|
|
4868
|
+
"description": "[x0,y0,x1,y1] PDF points, origin bottom-left; null if unlocated"
|
|
4869
|
+
},
|
|
4870
|
+
"confidence": {
|
|
4871
|
+
"type": "number"
|
|
4872
|
+
},
|
|
4873
|
+
"confidence_tier": {
|
|
4874
|
+
"type": "string",
|
|
4875
|
+
"enum": [
|
|
4876
|
+
"green",
|
|
4877
|
+
"amber",
|
|
4878
|
+
"red"
|
|
4879
|
+
]
|
|
4880
|
+
},
|
|
4881
|
+
"badge": {
|
|
4882
|
+
"type": "string",
|
|
4883
|
+
"enum": [
|
|
4884
|
+
"SC",
|
|
4885
|
+
"CN",
|
|
4886
|
+
"AB",
|
|
4887
|
+
"SW"
|
|
4888
|
+
]
|
|
4889
|
+
},
|
|
4890
|
+
"state": {
|
|
4891
|
+
"type": "string",
|
|
4892
|
+
"enum": [
|
|
4893
|
+
"ok",
|
|
4894
|
+
"corrected",
|
|
4895
|
+
"missing",
|
|
4896
|
+
"warn"
|
|
4897
|
+
]
|
|
4898
|
+
},
|
|
4899
|
+
"entity_type": {
|
|
4900
|
+
"type": "string"
|
|
4901
|
+
},
|
|
4902
|
+
"is_primary": {
|
|
4903
|
+
"type": "boolean"
|
|
4904
|
+
}
|
|
4905
|
+
},
|
|
4906
|
+
"required": [
|
|
4907
|
+
"field_key",
|
|
4908
|
+
"label",
|
|
4909
|
+
"value",
|
|
4910
|
+
"page"
|
|
4911
|
+
]
|
|
4912
|
+
}
|
|
4913
|
+
},
|
|
4914
|
+
"page_count": {
|
|
4915
|
+
"type": "number"
|
|
4916
|
+
},
|
|
4917
|
+
"pages_processed": {
|
|
4918
|
+
"type": "number"
|
|
4919
|
+
},
|
|
4920
|
+
"summary": {
|
|
4921
|
+
"type": "object",
|
|
4922
|
+
"description": "Deterministic document summary for the Details tab (display_name, organization, domain, stats, facts, tags). Produced by the extractor — pass through verbatim.",
|
|
4923
|
+
"properties": {
|
|
4924
|
+
"display_name": {
|
|
4925
|
+
"type": "string"
|
|
4926
|
+
},
|
|
4927
|
+
"short_name": {
|
|
4928
|
+
"type": "string"
|
|
4929
|
+
},
|
|
4930
|
+
"organization": {
|
|
4931
|
+
"type": "string"
|
|
4932
|
+
},
|
|
4933
|
+
"domain": {
|
|
4934
|
+
"type": "string"
|
|
4935
|
+
},
|
|
4936
|
+
"domain_group": {
|
|
4937
|
+
"type": "string"
|
|
4938
|
+
},
|
|
4939
|
+
"tax_year": {
|
|
4940
|
+
"type": "string"
|
|
4941
|
+
},
|
|
4942
|
+
"crumbs": {
|
|
4943
|
+
"type": "array",
|
|
4944
|
+
"items": {
|
|
4945
|
+
"type": "string"
|
|
4946
|
+
}
|
|
4947
|
+
},
|
|
4948
|
+
"tags": {
|
|
4949
|
+
"type": "array",
|
|
4950
|
+
"items": {
|
|
4951
|
+
"type": "string"
|
|
4952
|
+
}
|
|
4953
|
+
},
|
|
4954
|
+
"stats": {
|
|
4955
|
+
"type": "array",
|
|
4956
|
+
"items": {
|
|
4957
|
+
"type": "object",
|
|
4958
|
+
"properties": {
|
|
4959
|
+
"field_key": {
|
|
4960
|
+
"type": "string"
|
|
4961
|
+
},
|
|
4962
|
+
"label": {
|
|
4963
|
+
"type": "string"
|
|
4964
|
+
},
|
|
4965
|
+
"value": {
|
|
4966
|
+
"type": "string"
|
|
4967
|
+
},
|
|
4968
|
+
"caption": {
|
|
4969
|
+
"type": "string"
|
|
4970
|
+
}
|
|
4971
|
+
},
|
|
4972
|
+
"required": [
|
|
4973
|
+
"field_key",
|
|
4974
|
+
"label",
|
|
4975
|
+
"value"
|
|
4976
|
+
]
|
|
4977
|
+
}
|
|
4978
|
+
},
|
|
4979
|
+
"facts": {
|
|
4980
|
+
"type": "array",
|
|
4981
|
+
"items": {
|
|
4982
|
+
"type": "object",
|
|
4983
|
+
"properties": {
|
|
4984
|
+
"field_key": {
|
|
4985
|
+
"type": "string"
|
|
4986
|
+
},
|
|
4987
|
+
"label": {
|
|
4988
|
+
"type": "string"
|
|
4989
|
+
},
|
|
4990
|
+
"value": {
|
|
4991
|
+
"type": "string"
|
|
4992
|
+
},
|
|
4993
|
+
"badge": {
|
|
4994
|
+
"type": "string"
|
|
4995
|
+
}
|
|
4996
|
+
},
|
|
4997
|
+
"required": [
|
|
4998
|
+
"field_key",
|
|
4999
|
+
"label",
|
|
5000
|
+
"value"
|
|
5001
|
+
]
|
|
5002
|
+
}
|
|
5003
|
+
}
|
|
5004
|
+
}
|
|
5005
|
+
}
|
|
5006
|
+
},
|
|
5007
|
+
"required": [
|
|
5008
|
+
"type"
|
|
5009
|
+
]
|
|
5010
|
+
}
|
|
5011
|
+
},
|
|
4740
5012
|
"decision-card": {
|
|
4741
5013
|
"name": "render_decision_card",
|
|
4742
5014
|
"description": "Render an inline human-in-the-loop (HITL) decision card — a single judgment the agent needs from the user, resolved in-thread. Shows a titled question with an optional dollar amount at stake, optional data-quality flags, and 2-5 mutually-exclusive resolution options (the first or `recommended` one renders as the primary action), plus an optional 'view source' link. Use for inline approve/choose decisions the user resolves directly in the conversation. NOT for handing off to an external review portal (use escalation-card) and NOT for collecting multiple typed fields (use render_builder).",
|
|
@@ -4868,6 +5140,57 @@
|
|
|
4868
5140
|
"options"
|
|
4869
5141
|
]
|
|
4870
5142
|
}
|
|
5143
|
+
},
|
|
5144
|
+
"tabby-auth": {
|
|
5145
|
+
"name": "render_tabby_auth",
|
|
5146
|
+
"description": "Render a dedicated, trustworthy sign-in card when a harness skill needs the member to authenticate with a third-party app (e.g. Sage Intacct, Airbnb, an ERP) before a `call_web_api` request can proceed. Use this for the `login_required` path instead of a raw markdown link or a connect-integration card. `app` is the human display name (drives the title context, subtitle, and CTA). `url` is the login/short-link the prominent CTA opens in a new tab. `workspace` adds a subtitle suffix ('{app} · {workspace} workspace'). `state='pending'` (default) is the first-time connect; `state='connected'` is the verify/re-auth case (session already live) with a green badge and an Open deep-link. `steps` overrides the default numbered instructions; `description` is a one-line intro. The card title ('Authentication required') and the 'Credentials not stored by Adopt' trust footer are hardcoded brand constants — never supplied here.",
|
|
5147
|
+
"input_schema": {
|
|
5148
|
+
"type": "object",
|
|
5149
|
+
"properties": {
|
|
5150
|
+
"type": {
|
|
5151
|
+
"type": "string",
|
|
5152
|
+
"enum": [
|
|
5153
|
+
"tabby-auth"
|
|
5154
|
+
]
|
|
5155
|
+
},
|
|
5156
|
+
"app": {
|
|
5157
|
+
"type": "string"
|
|
5158
|
+
},
|
|
5159
|
+
"url": {
|
|
5160
|
+
"type": "string"
|
|
5161
|
+
},
|
|
5162
|
+
"workspace": {
|
|
5163
|
+
"type": "string"
|
|
5164
|
+
},
|
|
5165
|
+
"state": {
|
|
5166
|
+
"type": "string",
|
|
5167
|
+
"enum": [
|
|
5168
|
+
"pending",
|
|
5169
|
+
"connected"
|
|
5170
|
+
]
|
|
5171
|
+
},
|
|
5172
|
+
"ctaLabel": {
|
|
5173
|
+
"type": "string"
|
|
5174
|
+
},
|
|
5175
|
+
"steps": {
|
|
5176
|
+
"type": "array",
|
|
5177
|
+
"items": {
|
|
5178
|
+
"type": "string"
|
|
5179
|
+
}
|
|
5180
|
+
},
|
|
5181
|
+
"description": {
|
|
5182
|
+
"type": "string"
|
|
5183
|
+
},
|
|
5184
|
+
"iconUrl": {
|
|
5185
|
+
"type": "string"
|
|
5186
|
+
}
|
|
5187
|
+
},
|
|
5188
|
+
"required": [
|
|
5189
|
+
"type",
|
|
5190
|
+
"app",
|
|
5191
|
+
"url"
|
|
5192
|
+
]
|
|
5193
|
+
}
|
|
4871
5194
|
}
|
|
4872
5195
|
}
|
|
4873
5196
|
}
|