@claudexor/schema 2.0.0 → 2.1.2
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/agent-capabilities.d.ts +24 -24
- package/dist/attachment.d.ts +13 -13
- package/dist/auth.d.ts +21 -0
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +54 -0
- package/dist/auth.js.map +1 -1
- package/dist/budget.d.ts +17 -5
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +15 -0
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +380 -20
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +81 -0
- package/dist/config.js.map +1 -1
- package/dist/control-gc.d.ts +185 -0
- package/dist/control-gc.d.ts.map +1 -0
- package/dist/control-gc.js +81 -0
- package/dist/control-gc.js.map +1 -0
- package/dist/control-operation-responses.d.ts +155 -29
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +140 -32
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-spec.d.ts +6 -6
- package/dist/control-thread-apply.d.ts +2 -2
- package/dist/control.d.ts +427 -586
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +155 -54
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +454 -0
- package/dist/credential-profile.d.ts.map +1 -0
- package/dist/credential-profile.js +140 -0
- package/dist/credential-profile.js.map +1 -0
- package/dist/events.d.ts +20 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +22 -0
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +3 -3
- package/dist/harness.d.ts +243 -88
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +124 -46
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/orchestrate.d.ts +23 -0
- package/dist/orchestrate.d.ts.map +1 -1
- package/dist/orchestrate.js +56 -0
- package/dist/orchestrate.js.map +1 -1
- package/dist/project.d.ts +2 -2
- package/dist/quota.d.ts +27 -9
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +14 -2
- package/dist/quota.js.map +1 -1
- package/dist/readiness.d.ts +596 -0
- package/dist/readiness.d.ts.map +1 -0
- package/dist/readiness.js +87 -0
- package/dist/readiness.js.map +1 -0
- package/dist/request-requirements.d.ts +8 -8
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +4 -1
- package/dist/request-requirements.js.map +1 -1
- package/dist/route.d.ts +4 -4
- package/dist/setup.d.ts +69 -24
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +25 -0
- package/dist/setup.js.map +1 -1
- package/dist/spec.d.ts +4 -4
- package/dist/task.d.ts +99 -4
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +48 -1
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +309 -67
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +97 -1
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +26 -15
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +11 -0
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +45 -0
- package/dist/tool-ref.d.ts.map +1 -0
- package/dist/tool-ref.js +45 -0
- package/dist/tool-ref.js.map +1 -0
- package/dist/workspace.d.ts +2 -2
- package/generated/BudgetObservation.schema.json +16 -0
- package/generated/ControlCredentialProfileCreateRequest.schema.json +32 -0
- package/generated/ControlCredentialProfileCreateResponse.schema.json +142 -0
- package/generated/ControlCredentialProfileDeleteResponse.schema.json +107 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +155 -0
- package/generated/ControlGcReceipt.schema.json +170 -0
- package/generated/ControlGcRequest.schema.json +18 -0
- package/generated/ControlHarnessListResponse.schema.json +95 -2
- package/generated/ControlHarnessModelsResponse.schema.json +19 -0
- package/generated/ControlHarnessSettingsPatch.schema.json +9 -0
- package/generated/ControlQuotaResponse.schema.json +3 -2
- package/generated/ControlRunAgainDraft.schema.json +40 -0
- package/generated/ControlRunDetail.schema.json +178 -6
- package/generated/ControlRunListResponse.schema.json +174 -3
- package/generated/ControlRunStartRequest.schema.json +40 -0
- package/generated/ControlRunSummary.schema.json +174 -3
- package/generated/ControlSettingsSnapshot.schema.json +10 -0
- package/generated/ControlSettingsUpdateRequest.schema.json +9 -0
- package/generated/ControlSetupJob.schema.json +8 -0
- package/generated/ControlSetupJobCreateRequest.schema.json +5 -0
- package/generated/ControlSetupJobEvent.schema.json +8 -0
- package/generated/ControlSetupJobListResponse.schema.json +8 -0
- package/generated/ControlSetupJobSnapshot.schema.json +8 -0
- package/generated/ControlThread.schema.json +16 -4
- package/generated/ControlThreadCreateRequest.schema.json +6 -2
- package/generated/ControlThreadDetail.schema.json +32 -8
- package/generated/ControlThreadListResponse.schema.json +16 -4
- package/generated/ControlThreadTurnRequest.schema.json +40 -0
- package/generated/ControlThreadUpdateRequest.schema.json +11 -0
- package/generated/CredentialProfile.schema.json +78 -0
- package/generated/CredentialProfileStatus.schema.json +61 -0
- package/generated/GlobalConfig.schema.json +136 -0
- package/generated/HarnessEvent.schema.json +62 -5
- package/generated/HarnessManifest.schema.json +33 -2
- package/generated/HarnessModel.schema.json +19 -0
- package/generated/HarnessStatusDto.schema.json +95 -2
- package/generated/RunEvent.schema.json +3 -0
- package/generated/RunTelemetry.schema.json +202 -2
- package/generated/Session.schema.json +14 -0
- package/generated/TaskContract.schema.json +65 -4
- package/generated/Thread.schema.json +17 -5
- package/generated/ThreadHeadPing.schema.json +40 -0
- package/package.json +3 -2
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"default": "",
|
|
10
10
|
"description": "The user's prompt for the run."
|
|
11
11
|
},
|
|
12
|
+
"instructions": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "System-level instructions layered onto every task-producing lane; delivered natively (append-system-prompt / developer_instructions) or as a delimited prompt prefix."
|
|
15
|
+
},
|
|
12
16
|
"attachments": {
|
|
13
17
|
"type": "array",
|
|
14
18
|
"items": {
|
|
@@ -434,6 +438,18 @@
|
|
|
434
438
|
],
|
|
435
439
|
"description": "Per-run auth route override."
|
|
436
440
|
},
|
|
441
|
+
"credentialProfileId": {
|
|
442
|
+
"anyOf": [
|
|
443
|
+
{
|
|
444
|
+
"type": "string",
|
|
445
|
+
"minLength": 1
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"type": "null"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"description": "Explicit per-run credential profile id; null FORCES the engine-default ladder past a thread-sticky profile; unknown/disabled ids refuse, never default."
|
|
452
|
+
},
|
|
437
453
|
"autonomy": {
|
|
438
454
|
"type": "string",
|
|
439
455
|
"enum": [
|
|
@@ -447,6 +463,30 @@
|
|
|
447
463
|
"type": "integer",
|
|
448
464
|
"exclusiveMinimum": 0,
|
|
449
465
|
"description": "Cap on orchestrate plan tool calls; only meaningful for mode=orchestrate."
|
|
466
|
+
},
|
|
467
|
+
"maxSeconds": {
|
|
468
|
+
"type": "integer",
|
|
469
|
+
"exclusiveMinimum": 0,
|
|
470
|
+
"maximum": 604800,
|
|
471
|
+
"description": "Hard wall-clock deadline for the whole run (seconds, from scheduler start, max 7 days); on expiry the run is cancelled with reason wall_clock_exceeded and partial artifacts are kept."
|
|
472
|
+
},
|
|
473
|
+
"denyPaths": {
|
|
474
|
+
"type": "array",
|
|
475
|
+
"items": {
|
|
476
|
+
"type": "string",
|
|
477
|
+
"minLength": 1
|
|
478
|
+
},
|
|
479
|
+
"description": "Per-run globs no candidate may touch at all; envelope-only (in-place runs are refused), enforced by the engine post-diff gate, disclosed per lane via path_deny receipts. accept_risk may still deliver (INV-111)."
|
|
480
|
+
},
|
|
481
|
+
"outputSchema": {
|
|
482
|
+
"type": "object",
|
|
483
|
+
"additionalProperties": {},
|
|
484
|
+
"description": "JSON Schema for the run's final answer; mandatory (incapable lane => preflight refusal), engine-validated into final/output.json with a typed outputConformance receipt."
|
|
485
|
+
},
|
|
486
|
+
"maxTurns": {
|
|
487
|
+
"type": "integer",
|
|
488
|
+
"exclusiveMinimum": 0,
|
|
489
|
+
"description": "Per-run turn cap (beats per-harness settings)."
|
|
450
490
|
}
|
|
451
491
|
},
|
|
452
492
|
"additionalProperties": false,
|
|
@@ -351,12 +351,179 @@
|
|
|
351
351
|
"number",
|
|
352
352
|
"null"
|
|
353
353
|
],
|
|
354
|
-
"description": "Settled
|
|
354
|
+
"description": "Settled cash in USD; null when unknown."
|
|
355
355
|
},
|
|
356
356
|
"spendEstimated": {
|
|
357
357
|
"type": "boolean",
|
|
358
358
|
"description": "True when spend is token-derived rather than natively reported."
|
|
359
359
|
},
|
|
360
|
+
"inputTokens": {
|
|
361
|
+
"anyOf": [
|
|
362
|
+
{
|
|
363
|
+
"type": "integer",
|
|
364
|
+
"minimum": 0
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"type": "null"
|
|
368
|
+
}
|
|
369
|
+
],
|
|
370
|
+
"description": "Input tokens summed across all attempts; null when no harness reported them."
|
|
371
|
+
},
|
|
372
|
+
"outputTokens": {
|
|
373
|
+
"anyOf": [
|
|
374
|
+
{
|
|
375
|
+
"type": "integer",
|
|
376
|
+
"minimum": 0
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"type": "null"
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
"description": "Output tokens summed across all attempts; null when no harness reported them."
|
|
383
|
+
},
|
|
384
|
+
"cachedInputTokens": {
|
|
385
|
+
"anyOf": [
|
|
386
|
+
{
|
|
387
|
+
"type": "integer",
|
|
388
|
+
"minimum": 0
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"type": "null"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"description": "Cached input tokens summed across all attempts; null when no harness reported them."
|
|
395
|
+
},
|
|
396
|
+
"outputConformance": {
|
|
397
|
+
"anyOf": [
|
|
398
|
+
{
|
|
399
|
+
"type": "string",
|
|
400
|
+
"enum": [
|
|
401
|
+
"passed",
|
|
402
|
+
"failed"
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"type": "null"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
"description": "Structured-output conformance receipt (passed/failed); null when the run had no outputSchema."
|
|
410
|
+
},
|
|
411
|
+
"authRoute": {
|
|
412
|
+
"anyOf": [
|
|
413
|
+
{
|
|
414
|
+
"type": "object",
|
|
415
|
+
"properties": {
|
|
416
|
+
"requested": {
|
|
417
|
+
"type": "string",
|
|
418
|
+
"enum": [
|
|
419
|
+
"subscription",
|
|
420
|
+
"api_key",
|
|
421
|
+
"auto"
|
|
422
|
+
],
|
|
423
|
+
"description": "Preferred auth route: subscription (native/OAuth session), api_key (a stored API key), or auto (engine picks subscription-first with policy fallback). A preference, not a secret."
|
|
424
|
+
},
|
|
425
|
+
"effective": {
|
|
426
|
+
"anyOf": [
|
|
427
|
+
{
|
|
428
|
+
"type": "string",
|
|
429
|
+
"enum": [
|
|
430
|
+
"local_session",
|
|
431
|
+
"api_key",
|
|
432
|
+
"unknown"
|
|
433
|
+
],
|
|
434
|
+
"description": "Auth mode a route runs under: a native local session, an API key, or unknown."
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"type": "null"
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"description": "Auth mode a route runs under: a native local session, an API key, or unknown.",
|
|
441
|
+
"default": null
|
|
442
|
+
},
|
|
443
|
+
"source": {
|
|
444
|
+
"anyOf": [
|
|
445
|
+
{
|
|
446
|
+
"type": "string",
|
|
447
|
+
"enum": [
|
|
448
|
+
"native_session",
|
|
449
|
+
"oauth_token_env",
|
|
450
|
+
"api_key_env",
|
|
451
|
+
"api_key_flag",
|
|
452
|
+
"provider_auth_file",
|
|
453
|
+
"none"
|
|
454
|
+
],
|
|
455
|
+
"description": "Concrete credential source used or probed by a harness."
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"type": "null"
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"description": "Concrete credential source used or probed by a harness.",
|
|
462
|
+
"default": null
|
|
463
|
+
},
|
|
464
|
+
"reason": {
|
|
465
|
+
"type": "string",
|
|
466
|
+
"enum": [
|
|
467
|
+
"as_requested",
|
|
468
|
+
"native_first",
|
|
469
|
+
"no_native_session_fallback",
|
|
470
|
+
"requested_route_unavailable",
|
|
471
|
+
"undisclosed"
|
|
472
|
+
],
|
|
473
|
+
"description": "Deterministic reason for the effective auth route: as_requested, native_first (auto, INV-061), no_native_session_fallback (auto downgraded to api_key), requested_route_unavailable (explicit preference contradicted), or undisclosed."
|
|
474
|
+
},
|
|
475
|
+
"harnessId": {
|
|
476
|
+
"type": [
|
|
477
|
+
"string",
|
|
478
|
+
"null"
|
|
479
|
+
],
|
|
480
|
+
"default": null
|
|
481
|
+
},
|
|
482
|
+
"attemptId": {
|
|
483
|
+
"type": [
|
|
484
|
+
"string",
|
|
485
|
+
"null"
|
|
486
|
+
],
|
|
487
|
+
"default": null
|
|
488
|
+
},
|
|
489
|
+
"modelMismatch": {
|
|
490
|
+
"anyOf": [
|
|
491
|
+
{
|
|
492
|
+
"type": "object",
|
|
493
|
+
"properties": {
|
|
494
|
+
"requested": {
|
|
495
|
+
"type": "string"
|
|
496
|
+
},
|
|
497
|
+
"observed": {
|
|
498
|
+
"type": "string"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"required": [
|
|
502
|
+
"requested",
|
|
503
|
+
"observed"
|
|
504
|
+
],
|
|
505
|
+
"additionalProperties": false
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"type": "null"
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"default": null,
|
|
512
|
+
"description": "Requested-vs-observed model mismatch; null when none."
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
"required": [
|
|
516
|
+
"requested",
|
|
517
|
+
"reason"
|
|
518
|
+
],
|
|
519
|
+
"additionalProperties": false
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"type": "null"
|
|
523
|
+
}
|
|
524
|
+
],
|
|
525
|
+
"description": "Auth route receipt (requested/effective/source/reason + disclosing attempt), projected verbatim from telemetry; null when unavailable."
|
|
526
|
+
},
|
|
360
527
|
"access": {
|
|
361
528
|
"type": "string",
|
|
362
529
|
"enum": [
|
|
@@ -483,7 +650,10 @@
|
|
|
483
650
|
"properties": {
|
|
484
651
|
"capability": {
|
|
485
652
|
"type": "string",
|
|
486
|
-
"
|
|
653
|
+
"enum": [
|
|
654
|
+
"browser",
|
|
655
|
+
"path_deny"
|
|
656
|
+
]
|
|
487
657
|
},
|
|
488
658
|
"harness_id": {
|
|
489
659
|
"type": "string",
|
|
@@ -505,7 +675,8 @@
|
|
|
505
675
|
"effective",
|
|
506
676
|
"manifest_unsupported",
|
|
507
677
|
"web_policy_off",
|
|
508
|
-
"access_profile_incompatible"
|
|
678
|
+
"access_profile_incompatible",
|
|
679
|
+
"postdiff_only"
|
|
509
680
|
]
|
|
510
681
|
},
|
|
511
682
|
"evidence_refs": {
|
|
@@ -338,6 +338,16 @@
|
|
|
338
338
|
"$ref": "#/definitions/ControlSettingsSnapshot/properties/routing/properties/authPreference",
|
|
339
339
|
"default": "auto",
|
|
340
340
|
"description": "Preferred auth route: subscription (native/OAuth session), api_key (a stored API key), or auto (engine picks subscription-first with policy fallback). A preference, not a secret."
|
|
341
|
+
},
|
|
342
|
+
"profileLimitAction": {
|
|
343
|
+
"type": "string",
|
|
344
|
+
"enum": [
|
|
345
|
+
"fail",
|
|
346
|
+
"ask",
|
|
347
|
+
"rotate"
|
|
348
|
+
],
|
|
349
|
+
"default": "fail",
|
|
350
|
+
"description": "Profile-selection limit action: fail (stop), ask (record), rotate (auto-switch to the next eligible account)."
|
|
341
351
|
}
|
|
342
352
|
},
|
|
343
353
|
"additionalProperties": false,
|
|
@@ -262,6 +262,15 @@
|
|
|
262
262
|
"authPreference": {
|
|
263
263
|
"$ref": "#/definitions/ControlSettingsUpdateRequest/properties/authPreference",
|
|
264
264
|
"description": "New auth route preference."
|
|
265
|
+
},
|
|
266
|
+
"profileLimitAction": {
|
|
267
|
+
"type": "string",
|
|
268
|
+
"enum": [
|
|
269
|
+
"fail",
|
|
270
|
+
"ask",
|
|
271
|
+
"rotate"
|
|
272
|
+
],
|
|
273
|
+
"description": "New profile-selection limit action (fail | ask | rotate)."
|
|
265
274
|
}
|
|
266
275
|
},
|
|
267
276
|
"additionalProperties": false,
|
|
@@ -23,6 +23,14 @@
|
|
|
23
23
|
"const": "login",
|
|
24
24
|
"description": "The daemon-managed native-login action."
|
|
25
25
|
},
|
|
26
|
+
"profileId": {
|
|
27
|
+
"type": [
|
|
28
|
+
"string",
|
|
29
|
+
"null"
|
|
30
|
+
],
|
|
31
|
+
"default": null,
|
|
32
|
+
"description": "Registered profile this login targets; null = the default session."
|
|
33
|
+
},
|
|
26
34
|
"state": {
|
|
27
35
|
"type": "string",
|
|
28
36
|
"enum": [
|
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
"authRequest": {
|
|
22
22
|
"type": "string",
|
|
23
23
|
"const": "subscription"
|
|
24
|
+
},
|
|
25
|
+
"profileId": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"minLength": 1,
|
|
28
|
+
"description": "Registered config_dir_login profile to log in; absent = the default session."
|
|
24
29
|
}
|
|
25
30
|
},
|
|
26
31
|
"required": [
|
|
@@ -88,6 +88,14 @@
|
|
|
88
88
|
"const": "login",
|
|
89
89
|
"description": "The daemon-managed native-login action."
|
|
90
90
|
},
|
|
91
|
+
"profileId": {
|
|
92
|
+
"type": [
|
|
93
|
+
"string",
|
|
94
|
+
"null"
|
|
95
|
+
],
|
|
96
|
+
"default": null,
|
|
97
|
+
"description": "Registered profile this login targets; null = the default session."
|
|
98
|
+
},
|
|
91
99
|
"state": {
|
|
92
100
|
"$ref": "#/definitions/ControlSetupJobEvent/properties/state"
|
|
93
101
|
},
|
|
@@ -28,6 +28,14 @@
|
|
|
28
28
|
"const": "login",
|
|
29
29
|
"description": "The daemon-managed native-login action."
|
|
30
30
|
},
|
|
31
|
+
"profileId": {
|
|
32
|
+
"type": [
|
|
33
|
+
"string",
|
|
34
|
+
"null"
|
|
35
|
+
],
|
|
36
|
+
"default": null,
|
|
37
|
+
"description": "Registered profile this login targets; null = the default session."
|
|
38
|
+
},
|
|
31
39
|
"state": {
|
|
32
40
|
"type": "string",
|
|
33
41
|
"enum": [
|
|
@@ -26,6 +26,14 @@
|
|
|
26
26
|
"const": "login",
|
|
27
27
|
"description": "The daemon-managed native-login action."
|
|
28
28
|
},
|
|
29
|
+
"profileId": {
|
|
30
|
+
"type": [
|
|
31
|
+
"string",
|
|
32
|
+
"null"
|
|
33
|
+
],
|
|
34
|
+
"default": null,
|
|
35
|
+
"description": "Registered profile this login targets; null = the default session."
|
|
36
|
+
},
|
|
29
37
|
"state": {
|
|
30
38
|
"type": "string",
|
|
31
39
|
"enum": [
|
|
@@ -71,6 +71,20 @@
|
|
|
71
71
|
"default": [],
|
|
72
72
|
"description": "Sticky eligible harness pool; empty = the engine auto-pools."
|
|
73
73
|
},
|
|
74
|
+
"credentialProfileId": {
|
|
75
|
+
"anyOf": [
|
|
76
|
+
{
|
|
77
|
+
"type": "string",
|
|
78
|
+
"minLength": 1,
|
|
79
|
+
"description": "Non-empty identifier string."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "null"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"description": "Sticky credential profile for the thread; per-turn selection wins, null = engine-default credentials.",
|
|
86
|
+
"default": null
|
|
87
|
+
},
|
|
74
88
|
"state": {
|
|
75
89
|
"type": "string",
|
|
76
90
|
"enum": [
|
|
@@ -101,9 +115,7 @@
|
|
|
101
115
|
"runIds": {
|
|
102
116
|
"type": "array",
|
|
103
117
|
"items": {
|
|
104
|
-
"
|
|
105
|
-
"minLength": 1,
|
|
106
|
-
"description": "Non-empty identifier string."
|
|
118
|
+
"$ref": "#/definitions/ControlThread/properties/credentialProfileId/anyOf/0"
|
|
107
119
|
},
|
|
108
120
|
"default": [],
|
|
109
121
|
"description": "Ordered run lineage of the thread."
|
|
@@ -111,7 +123,7 @@
|
|
|
111
123
|
"headRunId": {
|
|
112
124
|
"anyOf": [
|
|
113
125
|
{
|
|
114
|
-
"$ref": "#/definitions/ControlThread/properties/
|
|
126
|
+
"$ref": "#/definitions/ControlThread/properties/credentialProfileId/anyOf/0"
|
|
115
127
|
},
|
|
116
128
|
{
|
|
117
129
|
"type": "null"
|
|
@@ -85,16 +85,20 @@
|
|
|
85
85
|
],
|
|
86
86
|
"description": "Per-thread auth preference override."
|
|
87
87
|
},
|
|
88
|
-
"
|
|
88
|
+
"credentialProfileId": {
|
|
89
89
|
"type": "string",
|
|
90
90
|
"minLength": 1,
|
|
91
91
|
"pattern": "\\S",
|
|
92
|
+
"description": "Sticky credential profile for the thread (INV-135); per-turn selection wins."
|
|
93
|
+
},
|
|
94
|
+
"primaryHarness": {
|
|
95
|
+
"$ref": "#/definitions/ControlThreadCreateRequest/properties/credentialProfileId",
|
|
92
96
|
"description": "Sticky primary harness for the thread."
|
|
93
97
|
},
|
|
94
98
|
"eligibleHarnesses": {
|
|
95
99
|
"type": "array",
|
|
96
100
|
"items": {
|
|
97
|
-
"$ref": "#/definitions/ControlThreadCreateRequest/properties/
|
|
101
|
+
"$ref": "#/definitions/ControlThreadCreateRequest/properties/credentialProfileId"
|
|
98
102
|
},
|
|
99
103
|
"description": "Sticky eligible harness pool; turns inherit it when unset."
|
|
100
104
|
}
|
|
@@ -74,6 +74,20 @@
|
|
|
74
74
|
"default": [],
|
|
75
75
|
"description": "Sticky eligible harness pool; empty = the engine auto-pools."
|
|
76
76
|
},
|
|
77
|
+
"credentialProfileId": {
|
|
78
|
+
"anyOf": [
|
|
79
|
+
{
|
|
80
|
+
"type": "string",
|
|
81
|
+
"minLength": 1,
|
|
82
|
+
"description": "Non-empty identifier string."
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "null"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"description": "Sticky credential profile for the thread; per-turn selection wins, null = engine-default credentials.",
|
|
89
|
+
"default": null
|
|
90
|
+
},
|
|
77
91
|
"state": {
|
|
78
92
|
"type": "string",
|
|
79
93
|
"enum": [
|
|
@@ -104,9 +118,7 @@
|
|
|
104
118
|
"runIds": {
|
|
105
119
|
"type": "array",
|
|
106
120
|
"items": {
|
|
107
|
-
"
|
|
108
|
-
"minLength": 1,
|
|
109
|
-
"description": "Non-empty identifier string."
|
|
121
|
+
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/credentialProfileId/anyOf/0"
|
|
110
122
|
},
|
|
111
123
|
"default": [],
|
|
112
124
|
"description": "Ordered run lineage of the thread."
|
|
@@ -114,7 +126,7 @@
|
|
|
114
126
|
"headRunId": {
|
|
115
127
|
"anyOf": [
|
|
116
128
|
{
|
|
117
|
-
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/
|
|
129
|
+
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/credentialProfileId/anyOf/0"
|
|
118
130
|
},
|
|
119
131
|
{
|
|
120
132
|
"type": "null"
|
|
@@ -181,6 +193,18 @@
|
|
|
181
193
|
"default": null,
|
|
182
194
|
"description": "Model last observed on the session's stream."
|
|
183
195
|
},
|
|
196
|
+
"profileId": {
|
|
197
|
+
"anyOf": [
|
|
198
|
+
{
|
|
199
|
+
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/credentialProfileId/anyOf/0"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"type": "null"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"description": "Credential profile the vendor session was created under; resume never crosses profiles (null = engine-default credentials).",
|
|
206
|
+
"default": null
|
|
207
|
+
},
|
|
184
208
|
"state": {
|
|
185
209
|
"type": "string",
|
|
186
210
|
"enum": [
|
|
@@ -221,7 +245,7 @@
|
|
|
221
245
|
"runId": {
|
|
222
246
|
"anyOf": [
|
|
223
247
|
{
|
|
224
|
-
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/
|
|
248
|
+
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/credentialProfileId/anyOf/0"
|
|
225
249
|
},
|
|
226
250
|
{
|
|
227
251
|
"type": "null"
|
|
@@ -233,7 +257,7 @@
|
|
|
233
257
|
"parentRunId": {
|
|
234
258
|
"anyOf": [
|
|
235
259
|
{
|
|
236
|
-
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/
|
|
260
|
+
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/credentialProfileId/anyOf/0"
|
|
237
261
|
},
|
|
238
262
|
{
|
|
239
263
|
"type": "null"
|
|
@@ -245,7 +269,7 @@
|
|
|
245
269
|
"planRunId": {
|
|
246
270
|
"anyOf": [
|
|
247
271
|
{
|
|
248
|
-
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/
|
|
272
|
+
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/credentialProfileId/anyOf/0"
|
|
249
273
|
},
|
|
250
274
|
{
|
|
251
275
|
"type": "null"
|
|
@@ -435,7 +459,7 @@
|
|
|
435
459
|
"number",
|
|
436
460
|
"null"
|
|
437
461
|
],
|
|
438
|
-
"description": "Settled
|
|
462
|
+
"description": "Settled cash in USD; null when unknown."
|
|
439
463
|
},
|
|
440
464
|
"outputReadyState": {
|
|
441
465
|
"type": "string",
|
|
@@ -76,6 +76,20 @@
|
|
|
76
76
|
"default": [],
|
|
77
77
|
"description": "Sticky eligible harness pool; empty = the engine auto-pools."
|
|
78
78
|
},
|
|
79
|
+
"credentialProfileId": {
|
|
80
|
+
"anyOf": [
|
|
81
|
+
{
|
|
82
|
+
"type": "string",
|
|
83
|
+
"minLength": 1,
|
|
84
|
+
"description": "Non-empty identifier string."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"type": "null"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"description": "Sticky credential profile for the thread; per-turn selection wins, null = engine-default credentials.",
|
|
91
|
+
"default": null
|
|
92
|
+
},
|
|
79
93
|
"state": {
|
|
80
94
|
"type": "string",
|
|
81
95
|
"enum": [
|
|
@@ -106,9 +120,7 @@
|
|
|
106
120
|
"runIds": {
|
|
107
121
|
"type": "array",
|
|
108
122
|
"items": {
|
|
109
|
-
"
|
|
110
|
-
"minLength": 1,
|
|
111
|
-
"description": "Non-empty identifier string."
|
|
123
|
+
"$ref": "#/definitions/ControlThreadListResponse/properties/threads/items/properties/credentialProfileId/anyOf/0"
|
|
112
124
|
},
|
|
113
125
|
"default": [],
|
|
114
126
|
"description": "Ordered run lineage of the thread."
|
|
@@ -116,7 +128,7 @@
|
|
|
116
128
|
"headRunId": {
|
|
117
129
|
"anyOf": [
|
|
118
130
|
{
|
|
119
|
-
"$ref": "#/definitions/ControlThreadListResponse/properties/threads/items/properties/
|
|
131
|
+
"$ref": "#/definitions/ControlThreadListResponse/properties/threads/items/properties/credentialProfileId/anyOf/0"
|
|
120
132
|
},
|
|
121
133
|
{
|
|
122
134
|
"type": "null"
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"default": "",
|
|
10
10
|
"description": "The user's prompt for the run."
|
|
11
11
|
},
|
|
12
|
+
"instructions": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "System-level instructions layered onto every task-producing lane; delivered natively (append-system-prompt / developer_instructions) or as a delimited prompt prefix."
|
|
15
|
+
},
|
|
12
16
|
"attachments": {
|
|
13
17
|
"type": "array",
|
|
14
18
|
"items": {
|
|
@@ -350,6 +354,18 @@
|
|
|
350
354
|
],
|
|
351
355
|
"description": "Per-run auth route override."
|
|
352
356
|
},
|
|
357
|
+
"credentialProfileId": {
|
|
358
|
+
"anyOf": [
|
|
359
|
+
{
|
|
360
|
+
"type": "string",
|
|
361
|
+
"minLength": 1
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"type": "null"
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
"description": "Explicit per-run credential profile id; null FORCES the engine-default ladder past a thread-sticky profile; unknown/disabled ids refuse, never default."
|
|
368
|
+
},
|
|
353
369
|
"autonomy": {
|
|
354
370
|
"type": "string",
|
|
355
371
|
"enum": [
|
|
@@ -363,6 +379,30 @@
|
|
|
363
379
|
"type": "integer",
|
|
364
380
|
"exclusiveMinimum": 0,
|
|
365
381
|
"description": "Cap on orchestrate plan tool calls; only meaningful for mode=orchestrate."
|
|
382
|
+
},
|
|
383
|
+
"maxSeconds": {
|
|
384
|
+
"type": "integer",
|
|
385
|
+
"exclusiveMinimum": 0,
|
|
386
|
+
"maximum": 604800,
|
|
387
|
+
"description": "Hard wall-clock deadline for the whole run (seconds, from scheduler start, max 7 days); on expiry the run is cancelled with reason wall_clock_exceeded and partial artifacts are kept."
|
|
388
|
+
},
|
|
389
|
+
"denyPaths": {
|
|
390
|
+
"type": "array",
|
|
391
|
+
"items": {
|
|
392
|
+
"type": "string",
|
|
393
|
+
"minLength": 1
|
|
394
|
+
},
|
|
395
|
+
"description": "Per-run globs no candidate may touch at all; envelope-only (in-place runs are refused), enforced by the engine post-diff gate, disclosed per lane via path_deny receipts. accept_risk may still deliver (INV-111)."
|
|
396
|
+
},
|
|
397
|
+
"outputSchema": {
|
|
398
|
+
"type": "object",
|
|
399
|
+
"additionalProperties": {},
|
|
400
|
+
"description": "JSON Schema for the run's final answer; mandatory (incapable lane => preflight refusal), engine-validated into final/output.json with a typed outputConformance receipt."
|
|
401
|
+
},
|
|
402
|
+
"maxTurns": {
|
|
403
|
+
"type": "integer",
|
|
404
|
+
"exclusiveMinimum": 0,
|
|
405
|
+
"description": "Per-run turn cap (beats per-harness settings)."
|
|
366
406
|
}
|
|
367
407
|
},
|
|
368
408
|
"additionalProperties": false,
|
|
@@ -30,6 +30,17 @@
|
|
|
30
30
|
],
|
|
31
31
|
"description": "New sticky primary harness; null clears back to engine routing."
|
|
32
32
|
},
|
|
33
|
+
"credentialProfileId": {
|
|
34
|
+
"anyOf": [
|
|
35
|
+
{
|
|
36
|
+
"$ref": "#/definitions/ControlThreadUpdateRequest/properties/primaryHarness/anyOf/0"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "null"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"description": "New sticky credential profile; null clears back to engine-default credentials."
|
|
43
|
+
},
|
|
33
44
|
"eligibleHarnesses": {
|
|
34
45
|
"type": "array",
|
|
35
46
|
"items": {
|