@ora-ai/cli 0.10.0 → 0.11.0
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/generated/operations.d.ts +1 -1
- package/dist/generated/operations.d.ts.map +1 -1
- package/dist/generated/operations.js +126 -3
- package/dist/generated/operations.js.map +1 -1
- package/dist/generated/types.d.ts +393 -0
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/generated/types.js +1 -1
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@ export interface OperationMeta {
|
|
|
40
40
|
}
|
|
41
41
|
export declare const SPEC: {
|
|
42
42
|
readonly version: "1.0.0";
|
|
43
|
-
readonly contentHash: "
|
|
43
|
+
readonly contentHash: "43cebbdca1928a2f344ae61b881d2ba3871dc2f503e6fbda7c4152e57c385095";
|
|
44
44
|
readonly server: "https://api.agentfront.sh";
|
|
45
45
|
readonly bin: "ora";
|
|
46
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/generated/operations.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3D,IAAI,CAAC,EAAE,MAAM,EAAE,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;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3D,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IACpD,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,aAAa,EAAE,CAAC;IAC5B,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACzC,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;CAC9B;AAED,eAAO,MAAM,IAAI;;;;;CAKP,CAAC;AAEX,eAAO,MAAM,UAAU,EAAE,aAAa,EA2kNrC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// GENERATED by scripts/generate.mjs — DO NOT EDIT.
|
|
2
|
-
// Source: openapi/ora-public.openapi.json (sha256
|
|
2
|
+
// Source: openapi/ora-public.openapi.json (sha256 43cebbdca1928a2f344ae61b881d2ba3871dc2f503e6fbda7c4152e57c385095)
|
|
3
3
|
// Regenerate: yarn nx run ora-cli:generate
|
|
4
4
|
export const SPEC = {
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
-
"contentHash": "
|
|
6
|
+
"contentHash": "43cebbdca1928a2f344ae61b881d2ba3871dc2f503e6fbda7c4152e57c385095",
|
|
7
7
|
"server": "https://api.agentfront.sh",
|
|
8
8
|
"bin": "ora"
|
|
9
9
|
};
|
|
@@ -3424,6 +3424,55 @@ export const OPERATIONS = [
|
|
|
3424
3424
|
"command": "ora studio runs trajectory <id>"
|
|
3425
3425
|
}
|
|
3426
3426
|
},
|
|
3427
|
+
{
|
|
3428
|
+
"id": "study.addAgents",
|
|
3429
|
+
"commandPath": [
|
|
3430
|
+
"study",
|
|
3431
|
+
"add-agents"
|
|
3432
|
+
],
|
|
3433
|
+
"method": "post",
|
|
3434
|
+
"pathTemplate": "/study/v1/studies/{id}/agents",
|
|
3435
|
+
"summary": "Add agents to a running or completed-but-unpublished study — to one group when each group runs its own, to every group when they share the matrix — and create exactly the runs they owe, in the same study. Nothing that exists is re-run or re-graded; each comparison keeps its basis and only gains agents. A completed study re-opens until the new runs finish and are graded. Idempotent: an agent already present is reported, never added twice. dryRun answers the plan.",
|
|
3436
|
+
"scope": "study.studies:write",
|
|
3437
|
+
"product": "study",
|
|
3438
|
+
"pathParams": [
|
|
3439
|
+
{
|
|
3440
|
+
"name": "id"
|
|
3441
|
+
}
|
|
3442
|
+
],
|
|
3443
|
+
"queryParams": [],
|
|
3444
|
+
"hasBody": true,
|
|
3445
|
+
"bodyRequired": true,
|
|
3446
|
+
"isStream": false,
|
|
3447
|
+
"bodyFields": [
|
|
3448
|
+
{
|
|
3449
|
+
"name": "group",
|
|
3450
|
+
"required": false,
|
|
3451
|
+
"kind": "string",
|
|
3452
|
+
"description": "The group the agents join — required when each group runs its own agents, refused when every group runs the shared matrix (then each agent joins every group).",
|
|
3453
|
+
"placeholder": "g2"
|
|
3454
|
+
},
|
|
3455
|
+
{
|
|
3456
|
+
"name": "agents",
|
|
3457
|
+
"required": true,
|
|
3458
|
+
"kind": "array",
|
|
3459
|
+
"description": "The agents to add, in order — each a harness × model (× provider × params) cell the catalog offers. An agent the target already runs is reported in `alreadyPresent` and added once only.",
|
|
3460
|
+
"placeholder": "[{\"harness\":\"claude-code\",\"model\":\"claude-sonnet-5\"}]"
|
|
3461
|
+
},
|
|
3462
|
+
{
|
|
3463
|
+
"name": "dryRun",
|
|
3464
|
+
"required": false,
|
|
3465
|
+
"kind": "boolean",
|
|
3466
|
+
"description": "Answer the full plan — the agents, the jobs it would create, each comparison before and after — writing nothing (default false).",
|
|
3467
|
+
"placeholder": "true"
|
|
3468
|
+
}
|
|
3469
|
+
],
|
|
3470
|
+
"watchable": false,
|
|
3471
|
+
"help": {
|
|
3472
|
+
"command": "ora study add-agents 1f7e4d1c-4b2a-4f3e-9d8c-5a6b7c8d9e0f --file run.json",
|
|
3473
|
+
"body": "{\n \"group\": \"g2\",\n \"agents\": [\n {\n \"harness\": \"claude-code\",\n \"model\": \"claude-sonnet-5\"\n }\n ],\n \"dryRun\": true\n}"
|
|
3474
|
+
}
|
|
3475
|
+
},
|
|
3427
3476
|
{
|
|
3428
3477
|
"id": "study.addons.list",
|
|
3429
3478
|
"commandPath": [
|
|
@@ -4978,7 +5027,7 @@ export const OPERATIONS = [
|
|
|
4978
5027
|
],
|
|
4979
5028
|
"method": "post",
|
|
4980
5029
|
"pathTemplate": "/study/v1/studies/{id}/launch",
|
|
4981
|
-
"summary": "Launch: fan out task × matrix-cell × arm runs (async — poll get until status 'completed')",
|
|
5030
|
+
"summary": "Launch: fan out task × matrix-cell × arm runs (async — poll get until status 'completed'). Launching a RUNNING study again creates exactly the planned runs its launch record says are missing (`launch.missing.retryable`, `relaunchable`), or takes over a fan-out that stopped — never a duplicate",
|
|
4982
5031
|
"scope": "study.studies:write",
|
|
4983
5032
|
"product": "study",
|
|
4984
5033
|
"pathParams": [
|
|
@@ -5428,6 +5477,80 @@ export const OPERATIONS = [
|
|
|
5428
5477
|
"command": "ora study regrade <id> --watch"
|
|
5429
5478
|
}
|
|
5430
5479
|
},
|
|
5480
|
+
{
|
|
5481
|
+
"id": "study.rerunAttempts",
|
|
5482
|
+
"commandPath": [
|
|
5483
|
+
"study",
|
|
5484
|
+
"rerun-attempts"
|
|
5485
|
+
],
|
|
5486
|
+
"method": "get",
|
|
5487
|
+
"pathTemplate": "/study/v1/studies/{id}/rerun-attempts",
|
|
5488
|
+
"summary": "The study's re-run ledger: every in-place re-dispatch of one of its jobs — the run it replaced and how that run ended, why it was re-run (with a declared re-run's evidence), the run it created and whether it dispatched. Oldest first.",
|
|
5489
|
+
"scope": "study.studies:read",
|
|
5490
|
+
"product": "study",
|
|
5491
|
+
"pathParams": [
|
|
5492
|
+
{
|
|
5493
|
+
"name": "id"
|
|
5494
|
+
}
|
|
5495
|
+
],
|
|
5496
|
+
"queryParams": [],
|
|
5497
|
+
"hasBody": false,
|
|
5498
|
+
"bodyRequired": false,
|
|
5499
|
+
"isStream": false,
|
|
5500
|
+
"watchable": false,
|
|
5501
|
+
"help": {
|
|
5502
|
+
"command": "ora study rerun-attempts 1f7e4d1c-4b2a-4f3e-9d8c-5a6b7c8d9e0f"
|
|
5503
|
+
}
|
|
5504
|
+
},
|
|
5505
|
+
{
|
|
5506
|
+
"id": "study.rerunInfraFailures",
|
|
5507
|
+
"commandPath": [
|
|
5508
|
+
"study",
|
|
5509
|
+
"rerun-infra-failures"
|
|
5510
|
+
],
|
|
5511
|
+
"method": "post",
|
|
5512
|
+
"pathTemplate": "/study/v1/studies/{id}/rerun-infra-failures",
|
|
5513
|
+
"summary": "Re-run, in place, the jobs of a running or completed-but-unpublished study whose run ora's own infrastructure killed (or that the launch never created): each new run takes its job's place, the failed run stays in the record, at most 2 re-runs per job, never while the job's run is still running. A completed study re-opens until its re-runs finish and are graded. Synchronous; dryRun answers the plan.",
|
|
5514
|
+
"scope": "study.studies:write",
|
|
5515
|
+
"product": "study",
|
|
5516
|
+
"pathParams": [
|
|
5517
|
+
{
|
|
5518
|
+
"name": "id"
|
|
5519
|
+
}
|
|
5520
|
+
],
|
|
5521
|
+
"queryParams": [],
|
|
5522
|
+
"hasBody": true,
|
|
5523
|
+
"bodyRequired": true,
|
|
5524
|
+
"isStream": false,
|
|
5525
|
+
"bodyFields": [
|
|
5526
|
+
{
|
|
5527
|
+
"name": "dryRun",
|
|
5528
|
+
"required": false,
|
|
5529
|
+
"kind": "boolean",
|
|
5530
|
+
"description": "Answer what WOULD be re-run, dispatching and writing nothing (default false).",
|
|
5531
|
+
"placeholder": "true"
|
|
5532
|
+
},
|
|
5533
|
+
{
|
|
5534
|
+
"name": "limit",
|
|
5535
|
+
"required": false,
|
|
5536
|
+
"kind": "number",
|
|
5537
|
+
"description": "The most jobs this call dispatches (default 200, or every declared run); the rest are counted in `skipped.overLimit` for the next call.",
|
|
5538
|
+
"placeholder": "1"
|
|
5539
|
+
},
|
|
5540
|
+
{
|
|
5541
|
+
"name": "declared",
|
|
5542
|
+
"required": false,
|
|
5543
|
+
"kind": "array",
|
|
5544
|
+
"description": "The DECLARED re-run: exactly these runs are re-run in place (cause declared_infra), each with its evidence — runs ora's own predicate does not flag. Absent: ora's own infra failures and never-created jobs.",
|
|
5545
|
+
"placeholder": "[]"
|
|
5546
|
+
}
|
|
5547
|
+
],
|
|
5548
|
+
"watchable": false,
|
|
5549
|
+
"help": {
|
|
5550
|
+
"command": "ora study rerun-infra-failures 1f7e4d1c-4b2a-4f3e-9d8c-5a6b7c8d9e0f --file run.json",
|
|
5551
|
+
"body": "{\n \"dryRun\": true\n}"
|
|
5552
|
+
}
|
|
5553
|
+
},
|
|
5431
5554
|
{
|
|
5432
5555
|
"id": "study.rotateShareToken",
|
|
5433
5556
|
"commandPath": [
|