@adoptai/genui-components 0.1.58 → 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.
Files changed (40) hide show
  1. package/dist/composites/document-field-extraction/resolver.cjs +1920 -0
  2. package/dist/composites/document-field-extraction/resolver.cjs.map +1 -0
  3. package/dist/composites/document-field-extraction/resolver.js +1913 -0
  4. package/dist/composites/document-field-extraction/resolver.js.map +1 -0
  5. package/dist/composites/tabby-auth/resolver.cjs +597 -0
  6. package/dist/composites/tabby-auth/resolver.cjs.map +1 -0
  7. package/dist/composites/tabby-auth/resolver.d.ts +3 -0
  8. package/dist/composites/tabby-auth/resolver.d.ts.map +1 -0
  9. package/dist/composites/tabby-auth/resolver.js +595 -0
  10. package/dist/composites/tabby-auth/resolver.js.map +1 -0
  11. package/dist/composites/workflow-stepper/resolver.cjs +86 -18
  12. package/dist/composites/workflow-stepper/resolver.cjs.map +1 -1
  13. package/dist/composites/workflow-stepper/resolver.d.ts.map +1 -1
  14. package/dist/composites/workflow-stepper/resolver.js +86 -18
  15. package/dist/composites/workflow-stepper/resolver.js.map +1 -1
  16. package/dist/index.cjs +492 -27
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.js +492 -27
  19. package/dist/index.js.map +1 -1
  20. package/dist/renderer.cjs +492 -27
  21. package/dist/renderer.cjs.map +1 -1
  22. package/dist/renderer.js +492 -27
  23. package/dist/renderer.js.map +1 -1
  24. package/dist/resolver.cjs +492 -27
  25. package/dist/resolver.cjs.map +1 -1
  26. package/dist/resolver.d.ts.map +1 -1
  27. package/dist/resolver.js +492 -27
  28. package/dist/resolver.js.map +1 -1
  29. package/dist/schemas/index.cjs +84 -3
  30. package/dist/schemas/index.cjs.map +1 -1
  31. package/dist/schemas/index.d.ts +118 -0
  32. package/dist/schemas/index.d.ts.map +1 -1
  33. package/dist/schemas/index.js +84 -3
  34. package/dist/schemas/index.js.map +1 -1
  35. package/dist/schemas/tabby-auth.d.ts +58 -0
  36. package/dist/schemas/tabby-auth.d.ts.map +1 -0
  37. package/dist/schemas/workflow-stepper.d.ts +60 -0
  38. package/dist/schemas/workflow-stepper.d.ts.map +1 -1
  39. package/dist/tool-definitions.json +102 -3
  40. 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+BhC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C/B,CAAC"}
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.58",
3
- "generated_at": "2026-06-24T15:47:16.404Z",
4
- "schema_count": 59,
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,
@@ -5092,6 +5140,57 @@
5092
5140
  "options"
5093
5141
  ]
5094
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
+ }
5095
5194
  }
5096
5195
  }
5097
5196
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adoptai/genui-components",
3
- "version": "0.1.58",
3
+ "version": "0.1.59",
4
4
  "description": "Schema-driven generative UI components for Adopt agents",
5
5
  "private": false,
6
6
  "license": "UNLICENSED",