@bf-meishijian/aip 0.0.45 → 0.0.47
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/aip-submit-outcome/SKILL.md +41 -0
- package/dist/coding-run-error.d.ts +8 -0
- package/dist/coding-run-error.d.ts.map +1 -0
- package/dist/coding-run-error.js +46 -0
- package/dist/coding-run-error.js.map +1 -0
- package/dist/coding-run-manager.d.ts.map +1 -1
- package/dist/coding-run-manager.js +26 -31
- package/dist/coding-run-manager.js.map +1 -1
- package/dist/coding-subagent-child.d.ts.map +1 -1
- package/dist/coding-subagent-child.js +3 -4
- package/dist/coding-subagent-child.js.map +1 -1
- package/dist/command-executor.d.ts +6 -6
- package/dist/command-executor.d.ts.map +1 -1
- package/dist/command-executor.js +1 -1
- package/dist/command-executor.js.map +1 -1
- package/dist/diagnostics.d.ts +1 -1
- package/dist/diagnostics.d.ts.map +1 -1
- package/dist/diagnostics.js +1 -1
- package/dist/diagnostics.js.map +1 -1
- package/dist/execution-process.d.ts.map +1 -1
- package/dist/execution-process.js.map +1 -1
- package/dist/execution-worker.d.ts +1 -1
- package/dist/execution-worker.d.ts.map +1 -1
- package/dist/execution-worker.js +3 -3
- package/dist/execution-worker.js.map +1 -1
- package/dist/general-run-client.d.ts.map +1 -1
- package/dist/general-run-tools.d.ts.map +1 -1
- package/dist/general-run-tools.js +1 -1
- package/dist/general-run-tools.js.map +1 -1
- package/dist/handoff-cli.js +1 -1
- package/dist/handoff-cli.js.map +1 -1
- package/dist/host-status.d.ts.map +1 -1
- package/dist/host-tools.d.ts.map +1 -1
- package/dist/host-tools.js +5 -3
- package/dist/host-tools.js.map +1 -1
- package/dist/live-employee.d.ts.map +1 -1
- package/dist/live-employee.js +11 -6
- package/dist/live-employee.js.map +1 -1
- package/dist/local-employee-runtime.d.ts.map +1 -1
- package/dist/local-employee-runtime.js +2 -2
- package/dist/local-employee-runtime.js.map +1 -1
- package/dist/local-handoff-workspace.d.ts +27 -0
- package/dist/local-handoff-workspace.d.ts.map +1 -0
- package/dist/local-handoff-workspace.js +71 -0
- package/dist/local-handoff-workspace.js.map +1 -0
- package/dist/managed-process.d.ts.map +1 -1
- package/dist/managed-process.js.map +1 -1
- package/dist/outcome-cli.d.ts +3 -0
- package/dist/outcome-cli.d.ts.map +1 -0
- package/dist/outcome-cli.js +91 -0
- package/dist/outcome-cli.js.map +1 -0
- package/dist/pi-message-queue.d.ts +5 -1
- package/dist/pi-message-queue.d.ts.map +1 -1
- package/dist/pi-message-queue.js +16 -0
- package/dist/pi-message-queue.js.map +1 -1
- package/dist/pi-model-service.d.ts.map +1 -1
- package/dist/platform-client.d.ts +92 -2
- package/dist/platform-client.d.ts.map +1 -1
- package/dist/platform-client.js +33 -0
- package/dist/platform-client.js.map +1 -1
- package/dist/qa-contract.js +2 -1
- package/dist/qa-evidence.d.ts +6 -0
- package/dist/qa-evidence.d.ts.map +1 -0
- package/dist/qa-evidence.js +32 -0
- package/dist/qa-evidence.js.map +1 -0
- package/dist/qa-free-tools.d.ts +14 -0
- package/dist/qa-free-tools.d.ts.map +1 -0
- package/dist/qa-free-tools.js +100 -0
- package/dist/qa-free-tools.js.map +1 -0
- package/dist/qa-http-validation.js +3 -1
- package/dist/qa-project-checkout.d.ts.map +1 -1
- package/dist/qa-project-checkout.js +8 -2
- package/dist/qa-project-checkout.js.map +1 -1
- package/dist/qa-session-manager.d.ts +4 -7
- package/dist/qa-session-manager.d.ts.map +1 -1
- package/dist/qa-session-manager.js +216 -51
- package/dist/qa-session-manager.js.map +1 -1
- package/dist/qa-tool-arguments.js +562 -2
- package/dist/stage-delivery.d.ts +1 -1
- package/dist/stage-delivery.d.ts.map +1 -1
- package/dist/stage-delivery.js +14 -14
- package/dist/stage-delivery.js.map +1 -1
- package/dist/test-cli.js +1 -1
- package/dist/test-cli.js.map +1 -1
- package/dist/test-executor.d.ts.map +1 -1
- package/dist/test-executor.js +4 -3
- package/dist/test-executor.js.map +1 -1
- package/dist/test-run-manager.d.ts.map +1 -1
- package/dist/test-run-manager.js +1 -1
- package/dist/test-run-manager.js.map +1 -1
- package/dist/tool-dispatch.d.ts.map +1 -1
- package/dist/tool-dispatch.js +1 -1
- package/dist/tool-dispatch.js.map +1 -1
- package/dist/workflow-guidance.js +287 -14
- package/dist/workspace-gc.d.ts +1 -1
- package/dist/workspace-gc.d.ts.map +1 -1
- package/dist/workspace-gc.js +110 -1
- package/dist/workspace-gc.js.map +1 -1
- package/package.json +6 -6
|
@@ -231,9 +231,569 @@ var QA_VERIFICATION_TOOL_DEFINITIONS = [
|
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
];
|
|
234
|
+
var QA_FREE_TOOL_DEFINITIONS = [
|
|
235
|
+
{
|
|
236
|
+
"name": "read_free_qa_results",
|
|
237
|
+
"label": "\u8BFB\u53D6\u5F53\u524D\u81EA\u7531 QA \u6210\u679C",
|
|
238
|
+
"description": "\u8BFB\u53D6\u5F53\u524D\u81EA\u7531 QA \u6210\u679C",
|
|
239
|
+
"execution": "HOST",
|
|
240
|
+
"handler": "read_free_qa_results",
|
|
241
|
+
"parameters": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"additionalProperties": false,
|
|
244
|
+
"properties": {},
|
|
245
|
+
"required": []
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "read_qa_source_materials",
|
|
250
|
+
"label": "\u8BFB\u53D6\u5DE5\u5355\u4EA4\u4ED8\u4EA7\u7269\u548C\u5386\u53F2 QA",
|
|
251
|
+
"description": "\u6309\u5DE5\u5355\u7F16\u53F7\u8BFB\u53D6\u6709\u6743\u67E5\u770B\u7684\u4EA4\u4ED8\u4EA7\u7269\u548C\u5DF2\u4FDD\u5B58\u5386\u53F2 QA\uFF1B\u4E0D\u4F20 materialIds \u65F6\u53EA\u8BFB\u53D6\u76EE\u5F55\uFF0C\u9009\u5B9A\u76EE\u5F55\u8FD4\u56DE\u7684\u6750\u6599\u7F16\u53F7\u540E\u8BFB\u53D6\u6B63\u6587\u3002\u5F15\u5165\u5185\u5BB9\u968F\u5F53\u524D\u81EA\u7531\u4EFB\u52A1\u5171\u4EAB\u3002",
|
|
252
|
+
"execution": "HOST",
|
|
253
|
+
"handler": "read_qa_source_materials",
|
|
254
|
+
"parameters": {
|
|
255
|
+
"type": "object",
|
|
256
|
+
"additionalProperties": false,
|
|
257
|
+
"properties": {
|
|
258
|
+
"workItemKey": {
|
|
259
|
+
"type": "string",
|
|
260
|
+
"minLength": 1
|
|
261
|
+
},
|
|
262
|
+
"materialIds": {
|
|
263
|
+
"type": "array",
|
|
264
|
+
"items": {
|
|
265
|
+
"type": "string"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"required": [
|
|
270
|
+
"workItemKey"
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "read_qa_history",
|
|
276
|
+
"label": "\u8BFB\u53D6\u5386\u53F2\u81EA\u7531 QA \u6210\u679C",
|
|
277
|
+
"description": "\u53EA\u8BFB\u6307\u5B9A\u5386\u53F2\u81EA\u7531 QA \u4EFB\u52A1\u7684\u5DF2\u4FDD\u5B58\u6210\u679C\uFF1B\u7ED3\u679C\u5199\u5165\u4ECD\u5F52\u5F53\u524D\u4EFB\u52A1\uFF0C\u4E0D\u4FEE\u6539\u5386\u53F2\u7F3A\u9677\u3002",
|
|
278
|
+
"execution": "HOST",
|
|
279
|
+
"handler": "read_qa_history",
|
|
280
|
+
"parameters": {
|
|
281
|
+
"type": "object",
|
|
282
|
+
"additionalProperties": false,
|
|
283
|
+
"properties": {
|
|
284
|
+
"taskId": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"pattern": "^[0-9abcdefghjkmnpqrstvwxyz]{10}$"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"required": [
|
|
290
|
+
"taskId"
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"name": "read_free_qa_plan",
|
|
296
|
+
"label": "\u8BFB\u53D6\u81EA\u7531 QA \u8BA1\u5212",
|
|
297
|
+
"description": "\u8BFB\u53D6\u81EA\u7531 QA \u8BA1\u5212",
|
|
298
|
+
"execution": "HOST",
|
|
299
|
+
"handler": "read_free_qa_plan",
|
|
300
|
+
"parameters": {
|
|
301
|
+
"type": "object",
|
|
302
|
+
"additionalProperties": false,
|
|
303
|
+
"properties": {},
|
|
304
|
+
"required": []
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "save_free_qa_plan",
|
|
309
|
+
"label": "\u4FDD\u5B58\u81EA\u7531 QA \u8BA1\u5212",
|
|
310
|
+
"description": "\u4FDD\u5B58\u81EA\u7531 QA \u8BA1\u5212",
|
|
311
|
+
"execution": "HOST",
|
|
312
|
+
"handler": "save_free_qa_plan",
|
|
313
|
+
"parameters": {
|
|
314
|
+
"type": "object",
|
|
315
|
+
"additionalProperties": false,
|
|
316
|
+
"properties": {
|
|
317
|
+
"content": {
|
|
318
|
+
"type": "object",
|
|
319
|
+
"additionalProperties": false,
|
|
320
|
+
"properties": {
|
|
321
|
+
"scope": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"minLength": 1
|
|
324
|
+
},
|
|
325
|
+
"strategy": {
|
|
326
|
+
"type": "string",
|
|
327
|
+
"minLength": 1
|
|
328
|
+
},
|
|
329
|
+
"items": {
|
|
330
|
+
"type": "array",
|
|
331
|
+
"items": {
|
|
332
|
+
"type": "object",
|
|
333
|
+
"additionalProperties": false,
|
|
334
|
+
"properties": {
|
|
335
|
+
"id": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"minLength": 1
|
|
338
|
+
},
|
|
339
|
+
"title": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"minLength": 1
|
|
342
|
+
},
|
|
343
|
+
"expected": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"minLength": 1
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"required": [
|
|
349
|
+
"id",
|
|
350
|
+
"title",
|
|
351
|
+
"expected"
|
|
352
|
+
]
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"required": [
|
|
357
|
+
"scope",
|
|
358
|
+
"strategy",
|
|
359
|
+
"items"
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"required": [
|
|
364
|
+
"content"
|
|
365
|
+
]
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "submit_free_qa_verification",
|
|
370
|
+
"label": "\u63D0\u4EA4\u81EA\u7531 QA \u5B9E\u6D4B\u7ED3\u679C",
|
|
371
|
+
"description": "\u8BB0\u5F55\u672C\u6B21\u5B9E\u9645\u6267\u884C\u7684\u9A8C\u8BC1\u548C\u73AF\u5883\uFF0C\u4E0D\u8981\u6C42\u8BA1\u5212\u3001\u5DE5\u5355 AC \u6216\u81EA\u52A8\u5316\u6267\u884C\u3002\u65E0\u6CD5\u9A8C\u8BC1\u65F6\u8BF4\u660E\u771F\u5B9E\u539F\u56E0\uFF1B\u622A\u56FE\u4F7F\u7528\u672C\u5730\u8DEF\u5F84\u3002\u6765\u6E90\u6750\u6599\u7F16\u53F7\u53EA\u80FD\u4ECE\u5F53\u524D\u4EFB\u52A1\u8BFB\u53D6\u7ED3\u679C\u9009\u62E9\u3002",
|
|
372
|
+
"execution": "HOST",
|
|
373
|
+
"handler": "submit_free_qa_verification",
|
|
374
|
+
"parameters": {
|
|
375
|
+
"type": "object",
|
|
376
|
+
"additionalProperties": false,
|
|
377
|
+
"properties": {
|
|
378
|
+
"scope": {
|
|
379
|
+
"type": "string",
|
|
380
|
+
"minLength": 1
|
|
381
|
+
},
|
|
382
|
+
"environment": {
|
|
383
|
+
"type": "object",
|
|
384
|
+
"additionalProperties": false,
|
|
385
|
+
"properties": {
|
|
386
|
+
"name": {
|
|
387
|
+
"type": "string",
|
|
388
|
+
"minLength": 1
|
|
389
|
+
},
|
|
390
|
+
"entry": {
|
|
391
|
+
"anyOf": [
|
|
392
|
+
{
|
|
393
|
+
"type": "string"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"type": "null"
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
"environmentId": {
|
|
401
|
+
"anyOf": [
|
|
402
|
+
{
|
|
403
|
+
"type": "string"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"type": "null"
|
|
407
|
+
}
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
"systemVersion": {
|
|
411
|
+
"anyOf": [
|
|
412
|
+
{
|
|
413
|
+
"type": "string"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"type": "null"
|
|
417
|
+
}
|
|
418
|
+
]
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"required": [
|
|
422
|
+
"name",
|
|
423
|
+
"entry",
|
|
424
|
+
"environmentId",
|
|
425
|
+
"systemVersion"
|
|
426
|
+
]
|
|
427
|
+
},
|
|
428
|
+
"steps": {
|
|
429
|
+
"type": "array",
|
|
430
|
+
"minItems": 1,
|
|
431
|
+
"items": {
|
|
432
|
+
"type": "string",
|
|
433
|
+
"minLength": 1
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"expected": {
|
|
437
|
+
"type": "string",
|
|
438
|
+
"minLength": 1
|
|
439
|
+
},
|
|
440
|
+
"actual": {
|
|
441
|
+
"type": "string",
|
|
442
|
+
"minLength": 1
|
|
443
|
+
},
|
|
444
|
+
"conclusion": {
|
|
445
|
+
"type": "string",
|
|
446
|
+
"enum": [
|
|
447
|
+
"PASSED",
|
|
448
|
+
"FAILED",
|
|
449
|
+
"UNVERIFIABLE"
|
|
450
|
+
]
|
|
451
|
+
},
|
|
452
|
+
"unverifiableReason": {
|
|
453
|
+
"anyOf": [
|
|
454
|
+
{
|
|
455
|
+
"type": "string"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"type": "null"
|
|
459
|
+
}
|
|
460
|
+
]
|
|
461
|
+
},
|
|
462
|
+
"screenshots": {
|
|
463
|
+
"type": "array",
|
|
464
|
+
"items": {
|
|
465
|
+
"type": "string",
|
|
466
|
+
"minLength": 1
|
|
467
|
+
},
|
|
468
|
+
"description": "\u672C\u6B21\u5B9E\u6D4B\u8BC1\u636E\u7684\u672C\u5730\u6587\u4EF6\u8DEF\u5F84\uFF1B\u65E0\u6587\u4EF6\u8BC1\u636E\u53EF\u4F20\u7A7A\u6570\u7EC4\u3002"
|
|
469
|
+
},
|
|
470
|
+
"sourceMaterialIds": {
|
|
471
|
+
"type": "array",
|
|
472
|
+
"items": {
|
|
473
|
+
"type": "string",
|
|
474
|
+
"format": "uuid"
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"required": [
|
|
479
|
+
"scope",
|
|
480
|
+
"environment",
|
|
481
|
+
"steps",
|
|
482
|
+
"expected",
|
|
483
|
+
"actual",
|
|
484
|
+
"conclusion",
|
|
485
|
+
"unverifiableReason",
|
|
486
|
+
"screenshots",
|
|
487
|
+
"sourceMaterialIds"
|
|
488
|
+
]
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "submit_free_qa_report",
|
|
493
|
+
"label": "\u8FFD\u52A0\u81EA\u7531 QA \u62A5\u544A",
|
|
494
|
+
"description": "\u8FFD\u52A0\u81EA\u7531 QA \u62A5\u544A",
|
|
495
|
+
"execution": "HOST",
|
|
496
|
+
"handler": "submit_free_qa_report",
|
|
497
|
+
"parameters": {
|
|
498
|
+
"type": "object",
|
|
499
|
+
"additionalProperties": false,
|
|
500
|
+
"properties": {
|
|
501
|
+
"content": {
|
|
502
|
+
"type": "object",
|
|
503
|
+
"additionalProperties": false,
|
|
504
|
+
"properties": {
|
|
505
|
+
"summary": {
|
|
506
|
+
"type": "string",
|
|
507
|
+
"minLength": 1
|
|
508
|
+
},
|
|
509
|
+
"conclusion": {
|
|
510
|
+
"type": "string",
|
|
511
|
+
"enum": [
|
|
512
|
+
"PASSED",
|
|
513
|
+
"FAILED",
|
|
514
|
+
"UNVERIFIABLE",
|
|
515
|
+
"PARTIAL"
|
|
516
|
+
]
|
|
517
|
+
},
|
|
518
|
+
"verificationIds": {
|
|
519
|
+
"type": "array",
|
|
520
|
+
"items": {
|
|
521
|
+
"type": "string",
|
|
522
|
+
"format": "uuid"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
"executionIds": {
|
|
526
|
+
"type": "array",
|
|
527
|
+
"items": {
|
|
528
|
+
"type": "string",
|
|
529
|
+
"format": "uuid"
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
"sourceMaterialIds": {
|
|
533
|
+
"type": "array",
|
|
534
|
+
"items": {
|
|
535
|
+
"type": "string",
|
|
536
|
+
"format": "uuid"
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"limitations": {
|
|
540
|
+
"type": "array",
|
|
541
|
+
"items": {
|
|
542
|
+
"type": "string"
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"required": [
|
|
547
|
+
"summary",
|
|
548
|
+
"conclusion",
|
|
549
|
+
"verificationIds",
|
|
550
|
+
"executionIds",
|
|
551
|
+
"sourceMaterialIds",
|
|
552
|
+
"limitations"
|
|
553
|
+
]
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"required": [
|
|
557
|
+
"content"
|
|
558
|
+
]
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "report_free_qa_defects",
|
|
563
|
+
"label": "\u767B\u8BB0\u5F53\u524D\u4EFB\u52A1\u7F3A\u9677",
|
|
564
|
+
"description": "\u767B\u8BB0\u5F53\u524D\u4EFB\u52A1\u7F3A\u9677",
|
|
565
|
+
"execution": "HOST",
|
|
566
|
+
"handler": "report_free_qa_defects",
|
|
567
|
+
"parameters": {
|
|
568
|
+
"type": "object",
|
|
569
|
+
"additionalProperties": false,
|
|
570
|
+
"properties": {
|
|
571
|
+
"defects": {
|
|
572
|
+
"type": "array",
|
|
573
|
+
"minItems": 1,
|
|
574
|
+
"items": {
|
|
575
|
+
"type": "object",
|
|
576
|
+
"additionalProperties": false,
|
|
577
|
+
"properties": {
|
|
578
|
+
"title": {
|
|
579
|
+
"type": "string",
|
|
580
|
+
"minLength": 1
|
|
581
|
+
},
|
|
582
|
+
"environment": {
|
|
583
|
+
"type": "object",
|
|
584
|
+
"additionalProperties": false,
|
|
585
|
+
"properties": {
|
|
586
|
+
"name": {
|
|
587
|
+
"type": "string",
|
|
588
|
+
"minLength": 1
|
|
589
|
+
},
|
|
590
|
+
"entry": {
|
|
591
|
+
"anyOf": [
|
|
592
|
+
{
|
|
593
|
+
"type": "string"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"type": "null"
|
|
597
|
+
}
|
|
598
|
+
]
|
|
599
|
+
},
|
|
600
|
+
"environmentId": {
|
|
601
|
+
"anyOf": [
|
|
602
|
+
{
|
|
603
|
+
"type": "string"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"type": "null"
|
|
607
|
+
}
|
|
608
|
+
]
|
|
609
|
+
},
|
|
610
|
+
"systemVersion": {
|
|
611
|
+
"anyOf": [
|
|
612
|
+
{
|
|
613
|
+
"type": "string"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"type": "null"
|
|
617
|
+
}
|
|
618
|
+
]
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
"required": [
|
|
622
|
+
"name",
|
|
623
|
+
"entry",
|
|
624
|
+
"environmentId",
|
|
625
|
+
"systemVersion"
|
|
626
|
+
]
|
|
627
|
+
},
|
|
628
|
+
"steps": {
|
|
629
|
+
"type": "array",
|
|
630
|
+
"minItems": 1,
|
|
631
|
+
"items": {
|
|
632
|
+
"type": "string"
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"expected": {
|
|
636
|
+
"type": "string",
|
|
637
|
+
"minLength": 1
|
|
638
|
+
},
|
|
639
|
+
"actual": {
|
|
640
|
+
"type": "string",
|
|
641
|
+
"minLength": 1
|
|
642
|
+
},
|
|
643
|
+
"evidence": {
|
|
644
|
+
"type": "string"
|
|
645
|
+
},
|
|
646
|
+
"sourceExecutionId": {
|
|
647
|
+
"anyOf": [
|
|
648
|
+
{
|
|
649
|
+
"type": "string",
|
|
650
|
+
"format": "uuid"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"type": "null"
|
|
654
|
+
}
|
|
655
|
+
]
|
|
656
|
+
},
|
|
657
|
+
"sourceVerificationId": {
|
|
658
|
+
"anyOf": [
|
|
659
|
+
{
|
|
660
|
+
"type": "string",
|
|
661
|
+
"format": "uuid"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"type": "null"
|
|
665
|
+
}
|
|
666
|
+
]
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"required": [
|
|
670
|
+
"title",
|
|
671
|
+
"environment",
|
|
672
|
+
"steps",
|
|
673
|
+
"expected",
|
|
674
|
+
"actual",
|
|
675
|
+
"evidence",
|
|
676
|
+
"sourceExecutionId",
|
|
677
|
+
"sourceVerificationId"
|
|
678
|
+
]
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
"required": [
|
|
683
|
+
"defects"
|
|
684
|
+
]
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "retest_free_qa_defect",
|
|
689
|
+
"label": "\u767B\u8BB0\u5F53\u524D\u4EFB\u52A1\u7F3A\u9677\u590D\u6D4B",
|
|
690
|
+
"description": "\u767B\u8BB0\u5F53\u524D\u4EFB\u52A1\u7F3A\u9677\u590D\u6D4B",
|
|
691
|
+
"execution": "HOST",
|
|
692
|
+
"handler": "retest_free_qa_defect",
|
|
693
|
+
"parameters": {
|
|
694
|
+
"type": "object",
|
|
695
|
+
"additionalProperties": false,
|
|
696
|
+
"properties": {
|
|
697
|
+
"defectId": {
|
|
698
|
+
"type": "string",
|
|
699
|
+
"format": "uuid"
|
|
700
|
+
},
|
|
701
|
+
"verificationId": {
|
|
702
|
+
"anyOf": [
|
|
703
|
+
{
|
|
704
|
+
"type": "string",
|
|
705
|
+
"format": "uuid"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"type": "null"
|
|
709
|
+
}
|
|
710
|
+
]
|
|
711
|
+
},
|
|
712
|
+
"executionId": {
|
|
713
|
+
"anyOf": [
|
|
714
|
+
{
|
|
715
|
+
"type": "string",
|
|
716
|
+
"format": "uuid"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"type": "null"
|
|
720
|
+
}
|
|
721
|
+
]
|
|
722
|
+
},
|
|
723
|
+
"status": {
|
|
724
|
+
"type": "string",
|
|
725
|
+
"enum": [
|
|
726
|
+
"OPEN",
|
|
727
|
+
"RESOLVED"
|
|
728
|
+
]
|
|
729
|
+
},
|
|
730
|
+
"resolution": {
|
|
731
|
+
"type": "string",
|
|
732
|
+
"minLength": 1
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
"required": [
|
|
736
|
+
"defectId",
|
|
737
|
+
"verificationId",
|
|
738
|
+
"executionId",
|
|
739
|
+
"status",
|
|
740
|
+
"resolution"
|
|
741
|
+
]
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "request_qa",
|
|
746
|
+
"label": "\u8FD0\u884C\u6D4B\u8BD5\u9879\u76EE\u7528\u4F8B",
|
|
747
|
+
"description": "\u6309\u8FDC\u7AEF\u5206\u652F\u548C\u76EE\u6807\u73AF\u5883\u8FD0\u884C\u660E\u786E\u9009\u62E9\u7684\u7528\u4F8B\u3002\u76EE\u5F55\u53EF\u80FD\u5148\u8FDB\u5165\u91C7\u96C6\uFF0C\u7B49\u5F85executionId\u540E\u8BFB\u53D6\u6267\u884C\u7ED3\u679C\uFF1B\u8349\u7A3F\u548C\u672A\u63A8\u9001\u5206\u652F\u4E0D\u80FD\u6267\u884C\u3002",
|
|
748
|
+
"execution": "HOST",
|
|
749
|
+
"handler": "request_qa",
|
|
750
|
+
"parameters": {
|
|
751
|
+
"type": "object",
|
|
752
|
+
"additionalProperties": false,
|
|
753
|
+
"properties": {
|
|
754
|
+
"groupId": {
|
|
755
|
+
"type": "string",
|
|
756
|
+
"minLength": 1
|
|
757
|
+
},
|
|
758
|
+
"environment": {
|
|
759
|
+
"type": "string",
|
|
760
|
+
"minLength": 1
|
|
761
|
+
},
|
|
762
|
+
"branch": {
|
|
763
|
+
"type": "string",
|
|
764
|
+
"minLength": 1
|
|
765
|
+
},
|
|
766
|
+
"caseIds": {
|
|
767
|
+
"type": "array",
|
|
768
|
+
"items": {
|
|
769
|
+
"type": "string",
|
|
770
|
+
"minLength": 1
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"domains": {
|
|
774
|
+
"type": "array",
|
|
775
|
+
"items": {
|
|
776
|
+
"type": "string",
|
|
777
|
+
"minLength": 1
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
"note": {
|
|
781
|
+
"type": "string",
|
|
782
|
+
"maxLength": 2e3
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
"required": [
|
|
786
|
+
"environment",
|
|
787
|
+
"branch"
|
|
788
|
+
]
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
];
|
|
234
792
|
|
|
235
793
|
// ../../packages/api-contracts/src/qa-tool-arguments.ts
|
|
236
|
-
var names = new Set(
|
|
794
|
+
var names = new Set(
|
|
795
|
+
[...QA_VERIFICATION_TOOL_DEFINITIONS, ...QA_FREE_TOOL_DEFINITIONS].map((tool) => tool.name)
|
|
796
|
+
);
|
|
237
797
|
var ajv = new Ajv({
|
|
238
798
|
allErrors: true,
|
|
239
799
|
strict: false,
|
|
@@ -316,7 +876,7 @@ function prepareQaToolArguments(name, schema) {
|
|
|
316
876
|
return (args) => {
|
|
317
877
|
if (!validate(args)) throw new Error(qaArgumentError(qaArgumentIssues(validate.errors)));
|
|
318
878
|
const value = args;
|
|
319
|
-
if (
|
|
879
|
+
if (["submit_qa_verification", "submit_free_qa_verification"].includes(name) && value.conclusion === "UNVERIFIABLE" && !value.unverifiableReason?.trim())
|
|
320
880
|
throw new Error(
|
|
321
881
|
qaArgumentError([
|
|
322
882
|
{
|
package/dist/stage-delivery.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DELIVERY_FILES,
|
|
1
|
+
export { DELIVERY_FILES, EMPLOYEE_EXECUTION_PROTOCOL, STAGE_DELIVERY_PROTOCOLS, stageEmployeeIds, } from "@ai-platform/api-contracts";
|
|
2
2
|
//# sourceMappingURL=stage-delivery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stage-delivery.d.ts","sourceRoot":"","sources":["../src/stage-delivery.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,
|
|
1
|
+
{"version":3,"file":"stage-delivery.d.ts","sourceRoot":"","sources":["../src/stage-delivery.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,2BAA2B,EAC3B,wBAAwB,EACxB,gBAAgB,GACjB,MAAM,4BAA4B,CAAC"}
|