@nuxtseo/protocol 0.4.0 → 0.4.1

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.
@@ -1241,6 +1241,7 @@ export declare const actionShowDataSchema: import("./core.js").CompatibleRespons
1241
1241
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
1242
1242
  }, z.core.$strip>>;
1243
1243
  readonly action: z.ZodString;
1244
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
1244
1245
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
1245
1246
  _tag: z.ZodLiteral<"target-healthy">;
1246
1247
  url: z.ZodString;
@@ -1332,6 +1333,7 @@ export declare const actionShowDataSchema: import("./core.js").CompatibleRespons
1332
1333
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
1333
1334
  }, z.core.$strip>>;
1334
1335
  readonly action: z.ZodString;
1336
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
1335
1337
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
1336
1338
  _tag: z.ZodLiteral<"target-healthy">;
1337
1339
  url: z.ZodString;
@@ -1425,6 +1427,7 @@ export declare const actionShowResponseSchema: import("./core.js").CompatibleRes
1425
1427
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
1426
1428
  }, z.core.$strip>>;
1427
1429
  readonly action: z.ZodString;
1430
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
1428
1431
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
1429
1432
  _tag: z.ZodLiteral<"target-healthy">;
1430
1433
  url: z.ZodString;
@@ -1522,6 +1525,7 @@ export declare const actionShowResponseSchema: import("./core.js").CompatibleRes
1522
1525
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
1523
1526
  }, z.core.$strip>>;
1524
1527
  readonly action: z.ZodString;
1528
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
1525
1529
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
1526
1530
  _tag: z.ZodLiteral<"target-healthy">;
1527
1531
  url: z.ZodString;
@@ -2190,6 +2194,7 @@ export declare const actionShowOperation: {
2190
2194
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
2191
2195
  }, z.core.$strip>>;
2192
2196
  readonly action: z.ZodString;
2197
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
2193
2198
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
2194
2199
  _tag: z.ZodLiteral<"target-healthy">;
2195
2200
  url: z.ZodString;
@@ -2287,6 +2292,7 @@ export declare const actionShowOperation: {
2287
2292
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
2288
2293
  }, z.core.$strip>>;
2289
2294
  readonly action: z.ZodString;
2295
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
2290
2296
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
2291
2297
  _tag: z.ZodLiteral<"target-healthy">;
2292
2298
  url: z.ZodString;
@@ -2471,6 +2477,7 @@ export declare const actionShowOperation: {
2471
2477
  readonly url: 'https://example.com/pricing';
2472
2478
  };
2473
2479
  readonly action: 'Restore or redirect the page.';
2480
+ readonly workPrompt: null;
2474
2481
  readonly verifier: {
2475
2482
  readonly _tag: 'finding-cleared';
2476
2483
  readonly findingType: 'broken-pages';
@@ -3377,6 +3384,7 @@ export declare const actionsV1Registry: import("./core.js").PublicV1Registry<{
3377
3384
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
3378
3385
  }, z.core.$strip>>;
3379
3386
  readonly action: z.ZodString;
3387
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
3380
3388
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
3381
3389
  _tag: z.ZodLiteral<"target-healthy">;
3382
3390
  url: z.ZodString;
@@ -3474,6 +3482,7 @@ export declare const actionsV1Registry: import("./core.js").PublicV1Registry<{
3474
3482
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
3475
3483
  }, z.core.$strip>>;
3476
3484
  readonly action: z.ZodString;
3485
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
3477
3486
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
3478
3487
  _tag: z.ZodLiteral<"target-healthy">;
3479
3488
  url: z.ZodString;
@@ -3658,6 +3667,7 @@ export declare const actionsV1Registry: import("./core.js").PublicV1Registry<{
3658
3667
  readonly url: 'https://example.com/pricing';
3659
3668
  };
3660
3669
  readonly action: 'Restore or redirect the page.';
3670
+ readonly workPrompt: null;
3661
3671
  readonly verifier: {
3662
3672
  readonly _tag: 'finding-cleared';
3663
3673
  readonly findingType: 'broken-pages';
@@ -299,6 +299,7 @@ export const actionShowDataSchema = defineResponseObject({
299
299
  diagnosis: schema.string().min(1),
300
300
  subject: actionSubjectSchema.producer.nullable(),
301
301
  action: schema.string().min(1),
302
+ workPrompt: schema.string().min(1).nullable(),
302
303
  verifier: actionVerifierSchema,
303
304
  materiality: schema.strictObject({
304
305
  affectedSubjects: schema.number().int().nonnegative(),
@@ -315,6 +316,7 @@ export const actionShowDataSchema = defineResponseObject({
315
316
  diagnosis: schema.string().min(1),
316
317
  subject: actionSubjectSchema.client.nullable(),
317
318
  action: schema.string().min(1),
319
+ workPrompt: schema.string().min(1).nullable(),
318
320
  verifier: actionVerifierClientSchema,
319
321
  materiality: schema.looseObject({
320
322
  affectedSubjects: schema.number().int().nonnegative(),
@@ -437,6 +439,7 @@ export const actionShowOperation = defineOperation({
437
439
  diagnosis: 'One page returns HTTP 404.',
438
440
  subject: { kind: 'page', label: '/pricing', url: 'https://example.com/pricing' },
439
441
  action: 'Restore or redirect the page.',
442
+ workPrompt: null,
440
443
  verifier: { _tag: 'finding-cleared', findingType: 'broken-pages' },
441
444
  materiality: { affectedSubjects: 1, internalReferrers: 2 },
442
445
  evidenceGroups: [],