@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.
- 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.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 +492 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +492 -27
- package/dist/index.js.map +1 -1
- package/dist/renderer.cjs +492 -27
- package/dist/renderer.cjs.map +1 -1
- package/dist/renderer.js +492 -27
- package/dist/renderer.js.map +1 -1
- package/dist/resolver.cjs +492 -27
- package/dist/resolver.cjs.map +1 -1
- package/dist/resolver.d.ts.map +1 -1
- package/dist/resolver.js +492 -27
- package/dist/resolver.js.map +1 -1
- package/dist/schemas/index.cjs +84 -3
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.ts +118 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +84 -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 +102 -3
- package/package.json +1 -1
package/dist/schemas/index.d.ts
CHANGED
|
@@ -5041,9 +5041,29 @@ export declare const schemaRegistry: {
|
|
|
5041
5041
|
active: "active";
|
|
5042
5042
|
done: "done";
|
|
5043
5043
|
blocked: "blocked";
|
|
5044
|
+
running: "running";
|
|
5044
5045
|
failed: "failed";
|
|
5045
5046
|
review: "review";
|
|
5046
5047
|
}>;
|
|
5048
|
+
eval: z.ZodOptional<z.ZodObject<{
|
|
5049
|
+
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5050
|
+
verdict: z.ZodOptional<z.ZodEnum<{
|
|
5051
|
+
good: "good";
|
|
5052
|
+
bad: "bad";
|
|
5053
|
+
}>>;
|
|
5054
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
5055
|
+
judge_ok: z.ZodOptional<z.ZodBoolean>;
|
|
5056
|
+
data_quality_flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5057
|
+
field: z.ZodOptional<z.ZodString>;
|
|
5058
|
+
issue: z.ZodOptional<z.ZodString>;
|
|
5059
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
5060
|
+
high: "high";
|
|
5061
|
+
medium: "medium";
|
|
5062
|
+
low: "low";
|
|
5063
|
+
}>>;
|
|
5064
|
+
details: z.ZodOptional<z.ZodString>;
|
|
5065
|
+
}, z.core.$strip>>>;
|
|
5066
|
+
}, z.core.$strip>>;
|
|
5047
5067
|
assignees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5048
5068
|
name: z.ZodString;
|
|
5049
5069
|
kind: z.ZodEnum<{
|
|
@@ -5111,6 +5131,46 @@ export declare const schemaRegistry: {
|
|
|
5111
5131
|
type: string;
|
|
5112
5132
|
enum: string[];
|
|
5113
5133
|
};
|
|
5134
|
+
eval: {
|
|
5135
|
+
type: string;
|
|
5136
|
+
description: string;
|
|
5137
|
+
properties: {
|
|
5138
|
+
score: {
|
|
5139
|
+
type: string;
|
|
5140
|
+
};
|
|
5141
|
+
verdict: {
|
|
5142
|
+
type: string;
|
|
5143
|
+
enum: string[];
|
|
5144
|
+
};
|
|
5145
|
+
reasoning: {
|
|
5146
|
+
type: string;
|
|
5147
|
+
};
|
|
5148
|
+
judge_ok: {
|
|
5149
|
+
type: string;
|
|
5150
|
+
};
|
|
5151
|
+
data_quality_flags: {
|
|
5152
|
+
type: string;
|
|
5153
|
+
items: {
|
|
5154
|
+
type: string;
|
|
5155
|
+
properties: {
|
|
5156
|
+
field: {
|
|
5157
|
+
type: string;
|
|
5158
|
+
};
|
|
5159
|
+
issue: {
|
|
5160
|
+
type: string;
|
|
5161
|
+
};
|
|
5162
|
+
severity: {
|
|
5163
|
+
type: string;
|
|
5164
|
+
enum: string[];
|
|
5165
|
+
};
|
|
5166
|
+
details: {
|
|
5167
|
+
type: string;
|
|
5168
|
+
};
|
|
5169
|
+
};
|
|
5170
|
+
};
|
|
5171
|
+
};
|
|
5172
|
+
};
|
|
5173
|
+
};
|
|
5114
5174
|
assignees: {
|
|
5115
5175
|
type: string;
|
|
5116
5176
|
maxItems: number;
|
|
@@ -5553,6 +5613,64 @@ export declare const schemaRegistry: {
|
|
|
5553
5613
|
};
|
|
5554
5614
|
};
|
|
5555
5615
|
};
|
|
5616
|
+
"tabby-auth": {
|
|
5617
|
+
schema: z.ZodObject<{
|
|
5618
|
+
type: z.ZodLiteral<"tabby-auth">;
|
|
5619
|
+
app: z.ZodString;
|
|
5620
|
+
url: z.ZodString;
|
|
5621
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
5622
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
5623
|
+
pending: "pending";
|
|
5624
|
+
connected: "connected";
|
|
5625
|
+
}>>;
|
|
5626
|
+
ctaLabel: z.ZodOptional<z.ZodString>;
|
|
5627
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5628
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5629
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
5630
|
+
}, z.core.$strip>;
|
|
5631
|
+
tool: {
|
|
5632
|
+
name: string;
|
|
5633
|
+
description: string;
|
|
5634
|
+
input_schema: {
|
|
5635
|
+
type: "object";
|
|
5636
|
+
properties: {
|
|
5637
|
+
type: {
|
|
5638
|
+
type: string;
|
|
5639
|
+
enum: string[];
|
|
5640
|
+
};
|
|
5641
|
+
app: {
|
|
5642
|
+
type: string;
|
|
5643
|
+
};
|
|
5644
|
+
url: {
|
|
5645
|
+
type: string;
|
|
5646
|
+
};
|
|
5647
|
+
workspace: {
|
|
5648
|
+
type: string;
|
|
5649
|
+
};
|
|
5650
|
+
state: {
|
|
5651
|
+
type: string;
|
|
5652
|
+
enum: string[];
|
|
5653
|
+
};
|
|
5654
|
+
ctaLabel: {
|
|
5655
|
+
type: string;
|
|
5656
|
+
};
|
|
5657
|
+
steps: {
|
|
5658
|
+
type: string;
|
|
5659
|
+
items: {
|
|
5660
|
+
type: string;
|
|
5661
|
+
};
|
|
5662
|
+
};
|
|
5663
|
+
description: {
|
|
5664
|
+
type: string;
|
|
5665
|
+
};
|
|
5666
|
+
iconUrl: {
|
|
5667
|
+
type: string;
|
|
5668
|
+
};
|
|
5669
|
+
};
|
|
5670
|
+
required: string[];
|
|
5671
|
+
};
|
|
5672
|
+
};
|
|
5673
|
+
};
|
|
5556
5674
|
};
|
|
5557
5675
|
export type SchemaPayload<T extends keyof typeof schemaRegistry> = z.infer<(typeof schemaRegistry)[T]["schema"]>;
|
|
5558
5676
|
export { buildRenderUITool } from "./buildRenderUITool";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoH4C,CAAC;AAEnE,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,OAAO,cAAc,IAC7D,CAAC,CAAC,KAAK,CAAC,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -3393,7 +3393,32 @@ var workflowStepperSchema = z.object({
|
|
|
3393
3393
|
n: z.number().int().positive().optional(),
|
|
3394
3394
|
title: z.string(),
|
|
3395
3395
|
sub: z.string().optional(),
|
|
3396
|
-
status: z.enum([
|
|
3396
|
+
status: z.enum([
|
|
3397
|
+
"done",
|
|
3398
|
+
"active",
|
|
3399
|
+
"running",
|
|
3400
|
+
"review",
|
|
3401
|
+
"pending",
|
|
3402
|
+
"blocked",
|
|
3403
|
+
"failed"
|
|
3404
|
+
]),
|
|
3405
|
+
// Optional quality-gate verdict for a step run by an executor (e.g. a
|
|
3406
|
+
// pipeline). Surfaces a subtle trust badge; flags hint at issues a human
|
|
3407
|
+
// should review (the full list lives in the escalation dock).
|
|
3408
|
+
eval: z.object({
|
|
3409
|
+
score: z.number().min(0).max(1).nullable().optional(),
|
|
3410
|
+
verdict: z.enum(["good", "bad"]).optional(),
|
|
3411
|
+
reasoning: z.string().optional(),
|
|
3412
|
+
judge_ok: z.boolean().optional(),
|
|
3413
|
+
data_quality_flags: z.array(
|
|
3414
|
+
z.object({
|
|
3415
|
+
field: z.string().optional(),
|
|
3416
|
+
issue: z.string().optional(),
|
|
3417
|
+
severity: z.enum(["low", "medium", "high"]).optional(),
|
|
3418
|
+
details: z.string().optional()
|
|
3419
|
+
})
|
|
3420
|
+
).optional()
|
|
3421
|
+
}).optional(),
|
|
3397
3422
|
assignees: z.array(
|
|
3398
3423
|
z.object({
|
|
3399
3424
|
name: z.string(),
|
|
@@ -3429,7 +3454,32 @@ var workflowStepperTool = {
|
|
|
3429
3454
|
n: { type: "number", description: "Step number; defaults to index + 1" },
|
|
3430
3455
|
title: { type: "string" },
|
|
3431
3456
|
sub: { type: "string", description: "Short status caption, e.g. '7 accounts \xB7 2 exceptions'" },
|
|
3432
|
-
status: {
|
|
3457
|
+
status: {
|
|
3458
|
+
type: "string",
|
|
3459
|
+
enum: ["done", "active", "running", "review", "pending", "blocked", "failed"]
|
|
3460
|
+
},
|
|
3461
|
+
eval: {
|
|
3462
|
+
type: "object",
|
|
3463
|
+
description: "Optional quality-gate verdict for an executor-run step.",
|
|
3464
|
+
properties: {
|
|
3465
|
+
score: { type: "number" },
|
|
3466
|
+
verdict: { type: "string", enum: ["good", "bad"] },
|
|
3467
|
+
reasoning: { type: "string" },
|
|
3468
|
+
judge_ok: { type: "boolean" },
|
|
3469
|
+
data_quality_flags: {
|
|
3470
|
+
type: "array",
|
|
3471
|
+
items: {
|
|
3472
|
+
type: "object",
|
|
3473
|
+
properties: {
|
|
3474
|
+
field: { type: "string" },
|
|
3475
|
+
issue: { type: "string" },
|
|
3476
|
+
severity: { type: "string", enum: ["low", "medium", "high"] },
|
|
3477
|
+
details: { type: "string" }
|
|
3478
|
+
}
|
|
3479
|
+
}
|
|
3480
|
+
}
|
|
3481
|
+
}
|
|
3482
|
+
},
|
|
3433
3483
|
assignees: {
|
|
3434
3484
|
type: "array",
|
|
3435
3485
|
maxItems: 6,
|
|
@@ -3733,6 +3783,36 @@ var decisionCardTool = {
|
|
|
3733
3783
|
required: ["type", "title", "question", "options"]
|
|
3734
3784
|
}
|
|
3735
3785
|
};
|
|
3786
|
+
var tabbyAuthSchema = z.object({
|
|
3787
|
+
type: z.literal("tabby-auth"),
|
|
3788
|
+
app: z.string(),
|
|
3789
|
+
url: z.string(),
|
|
3790
|
+
workspace: z.string().optional(),
|
|
3791
|
+
state: z.enum(["pending", "connected"]).optional(),
|
|
3792
|
+
ctaLabel: z.string().optional(),
|
|
3793
|
+
steps: z.array(z.string()).optional(),
|
|
3794
|
+
description: z.string().optional(),
|
|
3795
|
+
iconUrl: z.string().optional()
|
|
3796
|
+
});
|
|
3797
|
+
var tabbyAuthTool = {
|
|
3798
|
+
name: "render_tabby_auth",
|
|
3799
|
+
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} \xB7 {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 \u2014 never supplied here.",
|
|
3800
|
+
input_schema: {
|
|
3801
|
+
type: "object",
|
|
3802
|
+
properties: {
|
|
3803
|
+
type: { type: "string", enum: ["tabby-auth"] },
|
|
3804
|
+
app: { type: "string" },
|
|
3805
|
+
url: { type: "string" },
|
|
3806
|
+
workspace: { type: "string" },
|
|
3807
|
+
state: { type: "string", enum: ["pending", "connected"] },
|
|
3808
|
+
ctaLabel: { type: "string" },
|
|
3809
|
+
steps: { type: "array", items: { type: "string" } },
|
|
3810
|
+
description: { type: "string" },
|
|
3811
|
+
iconUrl: { type: "string" }
|
|
3812
|
+
},
|
|
3813
|
+
required: ["type", "app", "url"]
|
|
3814
|
+
}
|
|
3815
|
+
};
|
|
3736
3816
|
|
|
3737
3817
|
// src/schemas/buildRenderUITool.ts
|
|
3738
3818
|
function buildRenderUITool(selectedSchemas) {
|
|
@@ -3853,7 +3933,8 @@ var schemaRegistry = {
|
|
|
3853
3933
|
"pipeline-preview": { schema: pipelinePreviewSchema, tool: pipelinePreviewTool },
|
|
3854
3934
|
"workflow-stepper": { schema: workflowStepperSchema, tool: workflowStepperTool },
|
|
3855
3935
|
"document-field-extraction": { schema: documentFieldExtractionSchema, tool: documentFieldExtractionTool },
|
|
3856
|
-
"decision-card": { schema: decisionCardSchema, tool: decisionCardTool }
|
|
3936
|
+
"decision-card": { schema: decisionCardSchema, tool: decisionCardTool },
|
|
3937
|
+
"tabby-auth": { schema: tabbyAuthSchema, tool: tabbyAuthTool }
|
|
3857
3938
|
};
|
|
3858
3939
|
|
|
3859
3940
|
export { buildRenderUITool, schemaRegistry, validatePayload };
|