openpond-sdk 0.12.3 → 0.12.4
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/actions-local.js +2 -1
- package/dist/actions-local.js.map +1 -7
- package/dist/actions.js +2 -1
- package/dist/actions.js.map +1 -7
- package/dist/advanced-refiner-evaluations.js +13 -12
- package/dist/advanced-refiner-evaluations.js.map +1 -7
- package/dist/candidate-evaluations.js +9 -8
- package/dist/candidate-evaluations.js.map +1 -7
- package/dist/{chunk-VY5AFE7A.js → chunk-24N6A6SF.js} +4 -4
- package/dist/chunk-24N6A6SF.js.map +1 -0
- package/dist/{chunk-YCQVVFE5.js → chunk-3B5KSH3V.js} +2 -2
- package/dist/chunk-3B5KSH3V.js.map +1 -0
- package/dist/{chunk-2DMYAJLS.js → chunk-3DWPLYFJ.js} +2 -2
- package/dist/chunk-3DWPLYFJ.js.map +1 -0
- package/dist/{chunk-CTVKI3BV.js → chunk-53LLNDXF.js} +3 -3
- package/dist/chunk-53LLNDXF.js.map +1 -0
- package/dist/{chunk-36WJTS5V.js → chunk-B5XTGEBE.js} +25 -13
- package/dist/chunk-B5XTGEBE.js.map +1 -0
- package/dist/{chunk-HKWX624G.js → chunk-BVMR5OFW.js} +5 -5
- package/dist/chunk-BVMR5OFW.js.map +1 -0
- package/dist/{chunk-3KXDH6OB.js → chunk-CL3IOOVL.js} +1 -1
- package/dist/chunk-CL3IOOVL.js.map +1 -0
- package/dist/{chunk-FY7NHCEH.js → chunk-CMWZZZGW.js} +5 -5
- package/dist/chunk-CMWZZZGW.js.map +1 -0
- package/dist/{chunk-UPS52OPZ.js → chunk-DF2QXVZ3.js} +8 -8
- package/dist/chunk-DF2QXVZ3.js.map +1 -0
- package/dist/{chunk-AG5DDL7T.js → chunk-DH6O4JFB.js} +2 -2
- package/dist/chunk-DH6O4JFB.js.map +1 -0
- package/dist/{chunk-QEIT5VXJ.js → chunk-EFUT3XKW.js} +4 -4
- package/dist/chunk-EFUT3XKW.js.map +1 -0
- package/dist/{chunk-BSK3VLM3.js → chunk-ETX25FTB.js} +3 -3
- package/dist/chunk-ETX25FTB.js.map +1 -0
- package/dist/{chunk-MEKWESBF.js → chunk-FBZTDDRC.js} +2 -2
- package/dist/chunk-FBZTDDRC.js.map +1 -0
- package/dist/{chunk-CWXM57QR.js → chunk-GAIDBPFY.js} +5 -5
- package/dist/chunk-GAIDBPFY.js.map +1 -0
- package/dist/{chunk-YVUIHH6Z.js → chunk-GPQLBVQC.js} +1 -1
- package/dist/chunk-GPQLBVQC.js.map +1 -0
- package/dist/{chunk-KAE7AMYE.js → chunk-H3367ISL.js} +2 -2
- package/dist/chunk-H3367ISL.js.map +1 -0
- package/dist/{chunk-COPVBJPL.js → chunk-H3JZ3P5T.js} +2 -1
- package/dist/chunk-H3JZ3P5T.js.map +1 -0
- package/dist/{chunk-3LP7DNLQ.js → chunk-H4NTJFEE.js} +2 -2
- package/dist/chunk-H4NTJFEE.js.map +1 -0
- package/dist/{chunk-TCHAWJMB.js → chunk-HGXVOFCL.js} +2 -2
- package/dist/chunk-HGXVOFCL.js.map +1 -0
- package/dist/{chunk-CEZEVILU.js → chunk-HJ2AIAKX.js} +1 -1
- package/dist/chunk-HJ2AIAKX.js.map +1 -0
- package/dist/{chunk-K5WRVSOL.js → chunk-I54WQBXL.js} +8 -8
- package/dist/chunk-I54WQBXL.js.map +1 -0
- package/dist/{chunk-G6Y6CQYV.js → chunk-K5LWSWV7.js} +4 -4
- package/dist/chunk-K5LWSWV7.js.map +1 -0
- package/dist/{chunk-IWT6JUZD.js → chunk-L6EJX2VQ.js} +2 -2
- package/dist/chunk-L6EJX2VQ.js.map +1 -0
- package/dist/{chunk-XYQD4LDI.js → chunk-LHX7ENKZ.js} +3 -3
- package/dist/chunk-LHX7ENKZ.js.map +1 -0
- package/dist/{chunk-BFR3VC25.js → chunk-LR5CTOC5.js} +18 -18
- package/dist/chunk-LR5CTOC5.js.map +1 -0
- package/dist/chunk-MO4HAJZG.js +8709 -0
- package/dist/chunk-MO4HAJZG.js.map +1 -0
- package/dist/{chunk-T4APHDES.js → chunk-O6FKHAWN.js} +1 -1
- package/dist/chunk-O6FKHAWN.js.map +1 -0
- package/dist/{chunk-77N3QEIL.js → chunk-OR3TMIJN.js} +5 -5
- package/dist/chunk-OR3TMIJN.js.map +1 -0
- package/dist/{chunk-P27DQ65Z.js → chunk-OVGDDKO2.js} +1 -1
- package/dist/chunk-OVGDDKO2.js.map +1 -0
- package/dist/{chunk-O4GE6VTR.js → chunk-PWW5QKZS.js} +2 -2
- package/dist/chunk-PWW5QKZS.js.map +1 -0
- package/dist/{chunk-DUKW3R7O.js → chunk-Q4TKI2MV.js} +2 -2
- package/dist/chunk-Q4TKI2MV.js.map +1 -0
- package/dist/{chunk-QTJQIHDZ.js → chunk-QRS7Y3EM.js} +4 -3
- package/dist/chunk-QRS7Y3EM.js.map +1 -0
- package/dist/{chunk-TMUAKJWX.js → chunk-RRKRA237.js} +14 -5
- package/dist/chunk-RRKRA237.js.map +1 -0
- package/dist/{chunk-2U54EOXJ.js → chunk-TK3DXH7A.js} +1 -1
- package/dist/chunk-TK3DXH7A.js.map +1 -0
- package/dist/{chunk-CK3ONRRC.js → chunk-U7XWIOSB.js} +3 -3
- package/dist/chunk-U7XWIOSB.js.map +1 -0
- package/dist/{chunk-YUKV7RCD.js → chunk-VHGC44HA.js} +5 -5
- package/dist/chunk-VHGC44HA.js.map +1 -0
- package/dist/{chunk-ZJ3H3VS7.js → chunk-VN5V2E2S.js} +7 -5
- package/dist/chunk-VN5V2E2S.js.map +1 -0
- package/dist/{chunk-G53MA5XX.js → chunk-WMIKJGXW.js} +3 -3
- package/dist/chunk-WMIKJGXW.js.map +1 -0
- package/dist/{chunk-ROBAX5TN.js → chunk-WQFU635Q.js} +8 -6
- package/dist/chunk-WQFU635Q.js.map +1 -0
- package/dist/{chunk-TSMGMA6R.js → chunk-XON75UFN.js} +3 -3
- package/dist/chunk-XON75UFN.js.map +1 -0
- package/dist/chunk-YLJ4XMA6.js +35 -0
- package/dist/chunk-YLJ4XMA6.js.map +1 -0
- package/dist/{chunk-K3JCP4FO.js → chunk-Z252BNAZ.js} +1 -1
- package/dist/chunk-Z252BNAZ.js.map +1 -0
- package/dist/{chunk-MLPPSCDQ.js → chunk-ZHQK3MOM.js} +4 -4
- package/dist/chunk-ZHQK3MOM.js.map +1 -0
- package/dist/{chunk-6Q4I33CH.js → chunk-ZIFZFP5I.js} +5 -5
- package/dist/chunk-ZIFZFP5I.js.map +1 -0
- package/dist/connected-evidence.js +22 -21
- package/dist/connected-evidence.js.map +1 -7
- package/dist/dataset-commerce.js +2 -0
- package/dist/dataset-commerce.js.map +1 -7
- package/dist/dataset-marketplace.js +2 -0
- package/dist/dataset-marketplace.js.map +1 -7
- package/dist/dataset-workspaces.js +22 -21
- package/dist/dataset-workspaces.js.map +1 -7
- package/dist/experiment-evaluation-schedules.js +28 -27
- package/dist/experiment-evaluation-schedules.js.map +1 -7
- package/dist/experiment-improvements.js +12 -11
- package/dist/experiment-improvements.js.map +1 -7
- package/dist/experiments.js +26 -25
- package/dist/experiments.js.map +1 -7
- package/dist/human-review.js +3 -2
- package/dist/human-review.js.map +1 -7
- package/dist/index.js +98 -50
- package/dist/index.js.map +1 -7
- package/dist/learning.js +4 -3
- package/dist/learning.js.map +1 -7
- package/dist/model-batch-review.js +2 -1
- package/dist/model-batch-review.js.map +1 -7
- package/dist/model-projects.js +3 -2
- package/dist/model-projects.js.map +1 -7
- package/dist/model-starter-attempts.js +5 -4
- package/dist/model-starter-attempts.js.map +1 -7
- package/dist/model-starter-catalog.js +15 -14
- package/dist/model-starter-catalog.js.map +1 -7
- package/dist/model-starters.js +15 -14
- package/dist/model-starters.js.map +1 -7
- package/dist/model-taskset-authoring.js +2 -1
- package/dist/model-taskset-authoring.js.map +1 -7
- package/dist/model-taskset-runs.js +6 -5
- package/dist/model-taskset-runs.js.map +1 -7
- package/dist/post-training.js +9 -8
- package/dist/post-training.js.map +1 -7
- package/dist/profile-actions.js +3 -2
- package/dist/profile-actions.js.map +1 -7
- package/dist/project-actions.js +3 -2
- package/dist/project-actions.js.map +1 -7
- package/dist/refiner.js +3 -2
- package/dist/refiner.js.map +1 -7
- package/dist/taskset-catalog.js +2 -1
- package/dist/taskset-catalog.js.map +1 -7
- package/dist/taskset-drafts.js +19 -18
- package/dist/taskset-drafts.js.map +1 -7
- package/dist/taskset-packages.js +25 -22
- package/dist/taskset-packages.js.map +1 -7
- package/dist/training-bundle.js +44 -19
- package/dist/training-bundle.js.map +1 -7
- package/dist/training-projects.js +2 -1
- package/dist/training-projects.js.map +1 -7
- package/dist/training.js +11 -10
- package/dist/training.js.map +1 -7
- package/dist/types/packages/cloud/src/api/core.d.ts.map +1 -1
- package/dist/types/packages/cloud/src/sandbox/client-handles.d.ts.map +1 -1
- package/dist/types/packages/cloud/src/sandbox/client.d.ts.map +1 -1
- package/dist/types/packages/cloud/src/sandbox/sandbox-instance-client.d.ts.map +1 -1
- package/dist/types/packages/cloud/src/sandbox/types/runtime-profiles.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/advanced-refiner-evaluations.d.ts +487 -487
- package/dist/types/packages/sdk/src/advanced-refiner-evaluations.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/candidate-evaluation-client.d.ts +375 -351
- package/dist/types/packages/sdk/src/candidate-evaluation-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/candidate-evaluations.d.ts +80 -54
- package/dist/types/packages/sdk/src/candidate-evaluations.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/connected-collection-status.d.ts +5 -5
- package/dist/types/packages/sdk/src/connected-dataset-source.d.ts +10 -10
- package/dist/types/packages/sdk/src/connected-evidence-client.d.ts +464 -460
- package/dist/types/packages/sdk/src/connected-evidence-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/connected-evidence-contracts.d.ts +23 -23
- package/dist/types/packages/sdk/src/connected-recorded-execution.d.ts +77 -74
- package/dist/types/packages/sdk/src/connected-recorded-execution.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/connected-sync.d.ts +30 -30
- package/dist/types/packages/sdk/src/connected-sync.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-commerce-contracts.d.ts +14 -14
- package/dist/types/packages/sdk/src/dataset-commerce-files.d.ts +5 -5
- package/dist/types/packages/sdk/src/dataset-commerce-files.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-commerce-responses.d.ts +82 -82
- package/dist/types/packages/sdk/src/dataset-commerce.d.ts +58 -58
- package/dist/types/packages/sdk/src/dataset-commerce.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-marketplace.d.ts +4 -4
- package/dist/types/packages/sdk/src/dataset-marketplace.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-population.d.ts +10 -10
- package/dist/types/packages/sdk/src/dataset-population.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-preparation-authoring-contracts.d.ts +172 -172
- package/dist/types/packages/sdk/src/dataset-preparation-client.d.ts +47 -47
- package/dist/types/packages/sdk/src/dataset-preparation-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-preparation-contracts.d.ts +90 -90
- package/dist/types/packages/sdk/src/dataset-preparation-qualification-contracts.d.ts +7 -7
- package/dist/types/packages/sdk/src/dataset-preparation-research-contracts.d.ts +26 -26
- package/dist/types/packages/sdk/src/dataset-preparation-starting-state.d.ts +8 -8
- package/dist/types/packages/sdk/src/dataset-preparation-workspace.d.ts +111 -110
- package/dist/types/packages/sdk/src/dataset-preparation-workspace.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-workspace-client.d.ts +896 -889
- package/dist/types/packages/sdk/src/dataset-workspace-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-workspace-contracts.d.ts +225 -223
- package/dist/types/packages/sdk/src/dataset-workspace-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-workspace-operations.d.ts +226 -224
- package/dist/types/packages/sdk/src/dataset-workspace-operations.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/evaluation-coordination-http.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/evaluation-project-context.d.ts +1 -1
- package/dist/types/packages/sdk/src/experiment-client.d.ts +2102 -2014
- package/dist/types/packages/sdk/src/experiment-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-contracts.d.ts +165 -113
- package/dist/types/packages/sdk/src/experiment-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-evaluation-schedules.d.ts +587 -516
- package/dist/types/packages/sdk/src/experiment-evaluation-schedules.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-execution-selection.d.ts +5 -5
- package/dist/types/packages/sdk/src/experiment-execution-selection.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-field-mappings.d.ts +8 -8
- package/dist/types/packages/sdk/src/experiment-grading-contracts.d.ts +16 -16
- package/dist/types/packages/sdk/src/experiment-improvement-client.d.ts +2524 -2524
- package/dist/types/packages/sdk/src/experiment-improvement-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-improvement-contracts.d.ts +1557 -1557
- package/dist/types/packages/sdk/src/experiment-improvement-hosted-adoption.d.ts +150 -150
- package/dist/types/packages/sdk/src/experiment-inspection.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-run-contracts.d.ts +38 -25
- package/dist/types/packages/sdk/src/experiment-run-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-run-details.d.ts +303 -243
- package/dist/types/packages/sdk/src/experiment-run-details.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-scoring-contracts.d.ts +21 -21
- package/dist/types/packages/sdk/src/grader-inspection.d.ts +104 -104
- package/dist/types/packages/sdk/src/grader-inspection.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/harness-experiment-policy.d.ts +33 -20
- package/dist/types/packages/sdk/src/harness-experiment-policy.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/human-review-client.d.ts +288 -288
- package/dist/types/packages/sdk/src/human-review-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/index.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/learning-batch-assets.d.ts +15 -13
- package/dist/types/packages/sdk/src/learning-batch-assets.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/learning-client.d.ts +5 -5
- package/dist/types/packages/sdk/src/learning-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/learning-credentials.d.ts +4 -4
- package/dist/types/packages/sdk/src/learning-credentials.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-training-preparation.d.ts +69 -69
- package/dist/types/packages/sdk/src/managed-training-preparation.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-batch-review-contracts.d.ts +65 -61
- package/dist/types/packages/sdk/src/model-batch-review-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-batch-review-preparation.d.ts +74 -72
- package/dist/types/packages/sdk/src/model-batch-review-preparation.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-batch-review.d.ts +96 -92
- package/dist/types/packages/sdk/src/model-batch-review.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-learning-intent.d.ts +1 -1
- package/dist/types/packages/sdk/src/model-learning-policy.d.ts +247 -247
- package/dist/types/packages/sdk/src/model-learning-policy.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-projects.d.ts +324 -324
- package/dist/types/packages/sdk/src/model-projects.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-starter-attempts.d.ts +187 -187
- package/dist/types/packages/sdk/src/model-starter-attempts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-starter-catalog.d.ts +181 -179
- package/dist/types/packages/sdk/src/model-starter-catalog.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-starter-execution.d.ts +40 -40
- package/dist/types/packages/sdk/src/model-starters.d.ts +291 -287
- package/dist/types/packages/sdk/src/model-starters.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-taskset-authoring-contracts.d.ts +3 -3
- package/dist/types/packages/sdk/src/model-taskset-derivation.d.ts +114 -112
- package/dist/types/packages/sdk/src/model-taskset-derivation.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-taskset-resources.d.ts +18 -18
- package/dist/types/packages/sdk/src/model-taskset-runs-contracts.d.ts +179 -127
- package/dist/types/packages/sdk/src/model-taskset-runs-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-taskset-runs.d.ts +865 -833
- package/dist/types/packages/sdk/src/model-taskset-runs.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/post-training.d.ts +438 -377
- package/dist/types/packages/sdk/src/post-training.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/profile-actions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/profile-evaluation-discovery.d.ts +150 -150
- package/dist/types/packages/sdk/src/profile-evaluation-discovery.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/profile-external-dataset-package.d.ts +254 -251
- package/dist/types/packages/sdk/src/profile-external-dataset-package.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/project-actions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/protocol.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/run-diagnostics.d.ts +3 -3
- package/dist/types/packages/sdk/src/task-design-contracts.d.ts +50 -50
- package/dist/types/packages/sdk/src/task-inventory.d.ts +4 -4
- package/dist/types/packages/sdk/src/task-inventory.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-authored-contracts.d.ts +190 -189
- package/dist/types/packages/sdk/src/taskset-authored-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-authored-files.d.ts +149 -148
- package/dist/types/packages/sdk/src/taskset-authored-files.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-authored-portable-release.d.ts +15 -6
- package/dist/types/packages/sdk/src/taskset-authored-portable-release.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-calibration-fixtures.d.ts +64 -63
- package/dist/types/packages/sdk/src/taskset-calibration-fixtures.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-catalog.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-draft-api-contracts.d.ts +245 -243
- package/dist/types/packages/sdk/src/taskset-draft-api-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-draft-authoring.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-draft-client.d.ts +744 -738
- package/dist/types/packages/sdk/src/taskset-draft-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-draft-core.d.ts +133 -131
- package/dist/types/packages/sdk/src/taskset-draft-core.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-draft-dataset-artifacts.d.ts +80 -80
- package/dist/types/packages/sdk/src/taskset-draft-dataset-sources.d.ts +34 -34
- package/dist/types/packages/sdk/src/taskset-draft-document.d.ts +119 -117
- package/dist/types/packages/sdk/src/taskset-draft-document.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-draft-package-compiler.d.ts +500 -492
- package/dist/types/packages/sdk/src/taskset-draft-package-compiler.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-draft-source.d.ts +236 -234
- package/dist/types/packages/sdk/src/taskset-draft-source.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-draft-workspace.d.ts +228 -224
- package/dist/types/packages/sdk/src/taskset-draft-workspace.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-intake.d.ts +1 -1
- package/dist/types/packages/sdk/src/taskset-package-client.d.ts +4589 -4577
- package/dist/types/packages/sdk/src/taskset-package-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-package-contracts.d.ts +2068 -2054
- package/dist/types/packages/sdk/src/taskset-package-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-package-files.d.ts +1 -1
- package/dist/types/packages/sdk/src/taskset-package-grader-projection.d.ts +21 -21
- package/dist/types/packages/sdk/src/taskset-package-learning.d.ts +88 -86
- package/dist/types/packages/sdk/src/taskset-package-learning.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-package-projection.d.ts +387 -383
- package/dist/types/packages/sdk/src/taskset-package-projection.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-acceptance.d.ts +26 -26
- package/dist/types/packages/sdk/src/training-acceptance.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-bundle-contracts.d.ts +14 -10
- package/dist/types/packages/sdk/src/training-bundle-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-bundle.d.ts +2 -0
- package/dist/types/packages/sdk/src/training-bundle.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-candidate-decisions.d.ts +2 -2
- package/dist/types/packages/sdk/src/training-candidate-decisions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-evaluation-results.d.ts +3 -3
- package/dist/types/packages/sdk/src/training-evaluation-source.d.ts +1 -1
- package/dist/types/packages/sdk/src/training-evaluation-source.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-grading-plan.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-harness-sources.d.ts +14 -14
- package/dist/types/packages/sdk/src/training-harness-sources.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-learning-batch.d.ts +344 -340
- package/dist/types/packages/sdk/src/training-learning-batch.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-preparations.d.ts +700 -700
- package/dist/types/packages/sdk/src/training-preparations.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-project-client.d.ts +272 -272
- package/dist/types/packages/sdk/src/training-project-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-project-contracts.d.ts +161 -161
- package/dist/types/packages/sdk/src/training-qualification-preparation.d.ts +75 -71
- package/dist/types/packages/sdk/src/training-qualification-preparation.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training.d.ts +1442 -1416
- package/dist/types/packages/sdk/src/training.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/work.d.ts +4 -0
- package/dist/types/packages/sdk/src/work.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/workflows.d.ts.map +1 -1
- package/dist/workflows.js +3 -2
- package/dist/workflows.js.map +1 -7
- package/package.json +3 -3
- package/dist/chunk-2DMYAJLS.js.map +0 -7
- package/dist/chunk-2U54EOXJ.js.map +0 -7
- package/dist/chunk-36WJTS5V.js.map +0 -7
- package/dist/chunk-3KXDH6OB.js.map +0 -7
- package/dist/chunk-3LP7DNLQ.js.map +0 -7
- package/dist/chunk-6Q4I33CH.js.map +0 -7
- package/dist/chunk-77N3QEIL.js.map +0 -7
- package/dist/chunk-AG5DDL7T.js.map +0 -7
- package/dist/chunk-BFR3VC25.js.map +0 -7
- package/dist/chunk-BSK3VLM3.js.map +0 -7
- package/dist/chunk-CEZEVILU.js.map +0 -7
- package/dist/chunk-CK3ONRRC.js.map +0 -7
- package/dist/chunk-COPVBJPL.js.map +0 -7
- package/dist/chunk-CTVKI3BV.js.map +0 -7
- package/dist/chunk-CWXM57QR.js.map +0 -7
- package/dist/chunk-DUKW3R7O.js.map +0 -7
- package/dist/chunk-FHCSDXIA.js +0 -1417
- package/dist/chunk-FHCSDXIA.js.map +0 -7
- package/dist/chunk-FY7NHCEH.js.map +0 -7
- package/dist/chunk-G53MA5XX.js.map +0 -7
- package/dist/chunk-G6Y6CQYV.js.map +0 -7
- package/dist/chunk-HKWX624G.js.map +0 -7
- package/dist/chunk-IWT6JUZD.js.map +0 -7
- package/dist/chunk-K3JCP4FO.js.map +0 -7
- package/dist/chunk-K5WRVSOL.js.map +0 -7
- package/dist/chunk-KAE7AMYE.js.map +0 -7
- package/dist/chunk-MEKWESBF.js.map +0 -7
- package/dist/chunk-MLPPSCDQ.js.map +0 -7
- package/dist/chunk-O4GE6VTR.js.map +0 -7
- package/dist/chunk-P27DQ65Z.js.map +0 -7
- package/dist/chunk-QEIT5VXJ.js.map +0 -7
- package/dist/chunk-QTJQIHDZ.js.map +0 -7
- package/dist/chunk-ROBAX5TN.js.map +0 -7
- package/dist/chunk-T4APHDES.js.map +0 -7
- package/dist/chunk-TCHAWJMB.js.map +0 -7
- package/dist/chunk-TMUAKJWX.js.map +0 -7
- package/dist/chunk-TSMGMA6R.js.map +0 -7
- package/dist/chunk-UPS52OPZ.js.map +0 -7
- package/dist/chunk-VY5AFE7A.js.map +0 -7
- package/dist/chunk-XYQD4LDI.js.map +0 -7
- package/dist/chunk-YCQVVFE5.js.map +0 -7
- package/dist/chunk-YUKV7RCD.js.map +0 -7
- package/dist/chunk-YVUIHH6Z.js.map +0 -7
- package/dist/chunk-ZJ3H3VS7.js.map +0 -7
|
@@ -8,33 +8,34 @@ import {
|
|
|
8
8
|
scheduledExperimentHash,
|
|
9
9
|
sealExperimentEvaluationSchedule,
|
|
10
10
|
verifyExperimentEvaluationSchedule
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-K5LWSWV7.js";
|
|
12
|
+
import "./chunk-3B5KSH3V.js";
|
|
13
|
+
import "./chunk-I54WQBXL.js";
|
|
14
|
+
import "./chunk-DF2QXVZ3.js";
|
|
15
|
+
import "./chunk-BVMR5OFW.js";
|
|
16
|
+
import "./chunk-GPQLBVQC.js";
|
|
17
|
+
import "./chunk-CMWZZZGW.js";
|
|
18
|
+
import "./chunk-B5XTGEBE.js";
|
|
19
|
+
import "./chunk-LR5CTOC5.js";
|
|
20
|
+
import "./chunk-Z252BNAZ.js";
|
|
21
|
+
import "./chunk-WQFU635Q.js";
|
|
22
|
+
import "./chunk-GAIDBPFY.js";
|
|
23
|
+
import "./chunk-MO4HAJZG.js";
|
|
24
|
+
import "./chunk-TK3DXH7A.js";
|
|
25
|
+
import "./chunk-RRKRA237.js";
|
|
26
|
+
import "./chunk-ZHQK3MOM.js";
|
|
27
|
+
import "./chunk-WMIKJGXW.js";
|
|
28
|
+
import "./chunk-Q4TKI2MV.js";
|
|
29
|
+
import "./chunk-H3367ISL.js";
|
|
30
|
+
import "./chunk-53LLNDXF.js";
|
|
31
|
+
import "./chunk-O6FKHAWN.js";
|
|
32
|
+
import "./chunk-QRS7Y3EM.js";
|
|
33
|
+
import "./chunk-VN5V2E2S.js";
|
|
34
|
+
import "./chunk-U7XWIOSB.js";
|
|
35
|
+
import "./chunk-HGXVOFCL.js";
|
|
36
|
+
import "./chunk-CL3IOOVL.js";
|
|
37
|
+
import "./chunk-H3JZ3P5T.js";
|
|
38
|
+
import "./chunk-YLJ4XMA6.js";
|
|
38
39
|
export {
|
|
39
40
|
ExperimentEvaluationFireSchema,
|
|
40
41
|
ExperimentEvaluationScheduleCommandSchema,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
HostedProfileCandidateReceiptSchema,
|
|
6
6
|
verifyHostedProfileCandidateExport,
|
|
7
7
|
verifyHostedProfileCandidateReceipt
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OR3TMIJN.js";
|
|
9
9
|
import {
|
|
10
10
|
ExperimentImprovementCommandSchema,
|
|
11
11
|
ExperimentImprovementHumanOptionsSchema,
|
|
@@ -19,16 +19,17 @@ import {
|
|
|
19
19
|
sealExperimentImprovementState,
|
|
20
20
|
verifyExperimentImprovementHumanOptions,
|
|
21
21
|
verifyExperimentImprovementState
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-XON75UFN.js";
|
|
23
|
+
import "./chunk-Q4TKI2MV.js";
|
|
24
|
+
import "./chunk-53LLNDXF.js";
|
|
25
|
+
import "./chunk-O6FKHAWN.js";
|
|
26
|
+
import "./chunk-QRS7Y3EM.js";
|
|
27
|
+
import "./chunk-VN5V2E2S.js";
|
|
28
|
+
import "./chunk-U7XWIOSB.js";
|
|
29
|
+
import "./chunk-HGXVOFCL.js";
|
|
30
|
+
import "./chunk-CL3IOOVL.js";
|
|
31
|
+
import "./chunk-H3JZ3P5T.js";
|
|
32
|
+
import "./chunk-YLJ4XMA6.js";
|
|
32
33
|
export {
|
|
33
34
|
ExperimentImprovementClient,
|
|
34
35
|
ExperimentImprovementCommandSchema,
|
package/dist/experiments.js
CHANGED
|
@@ -27,31 +27,31 @@ import {
|
|
|
27
27
|
verifyExperimentRunDetails,
|
|
28
28
|
verifyExternalDatasetPackage,
|
|
29
29
|
verifyRunDiagnostics
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-I54WQBXL.js";
|
|
31
|
+
import "./chunk-DF2QXVZ3.js";
|
|
32
|
+
import "./chunk-BVMR5OFW.js";
|
|
33
|
+
import "./chunk-GPQLBVQC.js";
|
|
34
|
+
import "./chunk-CMWZZZGW.js";
|
|
35
|
+
import "./chunk-B5XTGEBE.js";
|
|
36
|
+
import "./chunk-LR5CTOC5.js";
|
|
37
|
+
import "./chunk-Z252BNAZ.js";
|
|
38
|
+
import "./chunk-WQFU635Q.js";
|
|
39
|
+
import "./chunk-GAIDBPFY.js";
|
|
40
|
+
import "./chunk-MO4HAJZG.js";
|
|
41
|
+
import "./chunk-TK3DXH7A.js";
|
|
42
|
+
import "./chunk-RRKRA237.js";
|
|
43
|
+
import "./chunk-ZHQK3MOM.js";
|
|
44
44
|
import {
|
|
45
45
|
RunExperimentSchema
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-WMIKJGXW.js";
|
|
47
|
+
import "./chunk-Q4TKI2MV.js";
|
|
48
|
+
import "./chunk-H3367ISL.js";
|
|
49
49
|
import {
|
|
50
50
|
ExperimentScoringPassSchema,
|
|
51
51
|
ExperimentScoringRequestSchema,
|
|
52
52
|
verifyExperimentScoringPass
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-53LLNDXF.js";
|
|
54
|
+
import "./chunk-O6FKHAWN.js";
|
|
55
55
|
import {
|
|
56
56
|
ExperimentDefinitionRefSchema,
|
|
57
57
|
ExperimentDefinitionSchema,
|
|
@@ -68,22 +68,23 @@ import {
|
|
|
68
68
|
experimentDefinitionRef,
|
|
69
69
|
mapExperimentGradingFields,
|
|
70
70
|
verifyExperimentDefinition
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-QRS7Y3EM.js";
|
|
72
72
|
import {
|
|
73
73
|
HarnessExperimentPolicySchema,
|
|
74
74
|
HarnessExperimentSamplingSchema,
|
|
75
75
|
resolveHarnessExperimentSampling
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-VN5V2E2S.js";
|
|
77
77
|
import {
|
|
78
78
|
ClaudeCodeControlSchema,
|
|
79
79
|
ClaudeCodeRuntimeSchema,
|
|
80
80
|
ClaudeProcessEvidenceSchema,
|
|
81
81
|
CodexExperimentRuntimeSchema,
|
|
82
82
|
ExperimentAttemptGradeSchema
|
|
83
|
-
} from "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
83
|
+
} from "./chunk-U7XWIOSB.js";
|
|
84
|
+
import "./chunk-HGXVOFCL.js";
|
|
85
|
+
import "./chunk-CL3IOOVL.js";
|
|
86
|
+
import "./chunk-H3JZ3P5T.js";
|
|
87
|
+
import "./chunk-YLJ4XMA6.js";
|
|
87
88
|
export {
|
|
88
89
|
ClaudeCodeControlSchema,
|
|
89
90
|
ClaudeCodeRuntimeSchema,
|
package/dist/experiments.js.map
CHANGED
package/dist/human-review.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HumanReviewClientError,
|
|
3
3
|
OpenPondHumanReviewClient
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-DH6O4JFB.js";
|
|
5
|
+
import "./chunk-H3JZ3P5T.js";
|
|
6
|
+
import "./chunk-YLJ4XMA6.js";
|
|
6
7
|
export {
|
|
7
8
|
HumanReviewClientError,
|
|
8
9
|
OpenPondHumanReviewClient
|
package/dist/human-review.js.map
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OpenPondLearningClient,
|
|
3
3
|
OpenPondLearningError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-H4NTJFEE.js";
|
|
5
5
|
import {
|
|
6
6
|
OpenPondProfileActionsClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3DWPLYFJ.js";
|
|
8
8
|
import {
|
|
9
9
|
OpenPondWorkflowsClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FBZTDDRC.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_REFINER_REVIEW_PROFILE,
|
|
13
13
|
REFINER_CORE_VERSION,
|
|
@@ -20,19 +20,19 @@ import {
|
|
|
20
20
|
defineReviewProfile,
|
|
21
21
|
refinerProfilePrompt,
|
|
22
22
|
serializeReviewProfile
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PWW5QKZS.js";
|
|
24
24
|
import {
|
|
25
25
|
OpenPondProjectActionsClient
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-L6EJX2VQ.js";
|
|
27
27
|
import {
|
|
28
28
|
OpenPondApiError,
|
|
29
29
|
apiFetch,
|
|
30
30
|
readApiJson
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HJ2AIAKX.js";
|
|
32
32
|
import {
|
|
33
33
|
HumanReviewClientError,
|
|
34
34
|
OpenPondHumanReviewClient
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DH6O4JFB.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentImportPreviewSchema,
|
|
38
38
|
AgentImportReceiptSchema,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
hashCollectorEligibleBoundaries,
|
|
67
67
|
summarizeCollectorCoverage,
|
|
68
68
|
verifyConnectedRecordedExecution
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-24N6A6SF.js";
|
|
70
70
|
import {
|
|
71
71
|
AgentImportCommitRequestSchema,
|
|
72
72
|
AgentImportFileSchema,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
ConnectedStartingAssetsReceiptSchema,
|
|
84
84
|
ConnectedStartingAssetsRequestSchema,
|
|
85
85
|
verifyConnectedStartingAssetsReceipt
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-EFUT3XKW.js";
|
|
87
87
|
import {
|
|
88
88
|
CandidateEvaluationControlSchema,
|
|
89
89
|
CandidateEvaluationOptionSchema,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
CandidateEvaluationPreparationSchema,
|
|
92
92
|
CandidateEvaluationRequestSchema,
|
|
93
93
|
createCandidateEvaluationClient
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-ETX25FTB.js";
|
|
95
95
|
import {
|
|
96
96
|
ExperimentImprovementClient,
|
|
97
97
|
HostedProfileCandidateCommandSchema,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
HostedProfileCandidateReceiptSchema,
|
|
100
100
|
verifyHostedProfileCandidateExport,
|
|
101
101
|
verifyHostedProfileCandidateReceipt
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-OR3TMIJN.js";
|
|
103
103
|
import {
|
|
104
104
|
ExperimentEvaluationFireSchema,
|
|
105
105
|
ExperimentEvaluationScheduleCommandSchema,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
scheduledExperimentHash,
|
|
111
111
|
sealExperimentEvaluationSchedule,
|
|
112
112
|
verifyExperimentEvaluationSchedule
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-K5LWSWV7.js";
|
|
114
114
|
import {
|
|
115
115
|
AdvancedRefinerEvaluationAccountingSchema,
|
|
116
116
|
AdvancedRefinerEvaluationCommandSchema,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
sealAdvancedRefinerEvaluationPin,
|
|
126
126
|
sealAdvancedRefinerReviewReceipt,
|
|
127
127
|
verifyAdvancedRefinerEvaluationPin
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-VHGC44HA.js";
|
|
129
129
|
import {
|
|
130
130
|
ExperimentImprovementCommandSchema,
|
|
131
131
|
ExperimentImprovementHumanOptionsSchema,
|
|
@@ -139,37 +139,42 @@ import {
|
|
|
139
139
|
sealExperimentImprovementState,
|
|
140
140
|
verifyExperimentImprovementHumanOptions,
|
|
141
141
|
verifyExperimentImprovementState
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import "./chunk-
|
|
142
|
+
} from "./chunk-XON75UFN.js";
|
|
143
|
+
import "./chunk-3B5KSH3V.js";
|
|
144
144
|
import {
|
|
145
145
|
OpenPondExperimentsClient
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-
|
|
148
|
-
import "./chunk-
|
|
149
|
-
import "./chunk-
|
|
150
|
-
import "./chunk-
|
|
151
|
-
import "./chunk-
|
|
152
|
-
import "./chunk-
|
|
153
|
-
import "./chunk-
|
|
154
|
-
import "./chunk-
|
|
155
|
-
import "./chunk-
|
|
146
|
+
} from "./chunk-I54WQBXL.js";
|
|
147
|
+
import "./chunk-DF2QXVZ3.js";
|
|
148
|
+
import "./chunk-BVMR5OFW.js";
|
|
149
|
+
import "./chunk-GPQLBVQC.js";
|
|
150
|
+
import "./chunk-CMWZZZGW.js";
|
|
151
|
+
import "./chunk-B5XTGEBE.js";
|
|
152
|
+
import "./chunk-LR5CTOC5.js";
|
|
153
|
+
import "./chunk-Z252BNAZ.js";
|
|
154
|
+
import "./chunk-WQFU635Q.js";
|
|
155
|
+
import "./chunk-GAIDBPFY.js";
|
|
156
156
|
import {
|
|
157
|
-
ConnectedDatasetSourceRefSchema
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
import "./chunk-
|
|
164
|
-
import "./chunk-
|
|
165
|
-
import "./chunk-
|
|
166
|
-
import "./chunk-
|
|
167
|
-
import "./chunk-
|
|
168
|
-
import "./chunk-
|
|
169
|
-
import "./chunk-
|
|
170
|
-
import "./chunk-
|
|
171
|
-
import "./chunk-
|
|
172
|
-
import "./chunk-
|
|
157
|
+
ConnectedDatasetSourceRefSchema,
|
|
158
|
+
serializeStructuredOutput,
|
|
159
|
+
structuredOutputTools,
|
|
160
|
+
structuredToolOutput,
|
|
161
|
+
validateOutputBytes
|
|
162
|
+
} from "./chunk-MO4HAJZG.js";
|
|
163
|
+
import "./chunk-TK3DXH7A.js";
|
|
164
|
+
import "./chunk-RRKRA237.js";
|
|
165
|
+
import "./chunk-ZHQK3MOM.js";
|
|
166
|
+
import "./chunk-WMIKJGXW.js";
|
|
167
|
+
import "./chunk-Q4TKI2MV.js";
|
|
168
|
+
import "./chunk-H3367ISL.js";
|
|
169
|
+
import "./chunk-53LLNDXF.js";
|
|
170
|
+
import "./chunk-O6FKHAWN.js";
|
|
171
|
+
import "./chunk-QRS7Y3EM.js";
|
|
172
|
+
import "./chunk-VN5V2E2S.js";
|
|
173
|
+
import "./chunk-U7XWIOSB.js";
|
|
174
|
+
import "./chunk-HGXVOFCL.js";
|
|
175
|
+
import "./chunk-CL3IOOVL.js";
|
|
176
|
+
import "./chunk-H3JZ3P5T.js";
|
|
177
|
+
import "./chunk-YLJ4XMA6.js";
|
|
173
178
|
|
|
174
179
|
// ../cloud/dist/sandbox/client-handles.js
|
|
175
180
|
function createSandboxRuntimeNamespace(client) {
|
|
@@ -1981,6 +1986,9 @@ async function* streamHostedChatTurn(options) {
|
|
|
1981
1986
|
}
|
|
1982
1987
|
}
|
|
1983
1988
|
|
|
1989
|
+
// src/work.ts
|
|
1990
|
+
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
1991
|
+
|
|
1984
1992
|
// src/work-sandbox.ts
|
|
1985
1993
|
function workSandbox(client, custom) {
|
|
1986
1994
|
return {
|
|
@@ -2082,6 +2090,7 @@ var OpenPondWorkClient = class {
|
|
|
2082
2090
|
const prompt = input.prompt.trim();
|
|
2083
2091
|
if (!prompt) throw new Error("Work prompt is required");
|
|
2084
2092
|
input.signal?.throwIfAborted();
|
|
2093
|
+
const submissionTools = structuredOutputTools(input.requiredOutputs ?? []);
|
|
2085
2094
|
const emit = async (event) => input.onEvent?.(event);
|
|
2086
2095
|
const cleanupPolicy = input.cleanup ?? "keep";
|
|
2087
2096
|
const lifecycle = initialLifecycle(cleanupPolicy);
|
|
@@ -2106,7 +2115,7 @@ var OpenPondWorkClient = class {
|
|
|
2106
2115
|
content: systemPrompt(sandbox.id, (input.inputs?.length ?? 0) > 0)
|
|
2107
2116
|
},
|
|
2108
2117
|
...(input.history ?? []).map((message) => ({ ...message })),
|
|
2109
|
-
{ role: "user", content: prompt }
|
|
2118
|
+
{ role: "user", content: prompt + (input.requiredOutputs?.length ? "\nRequired outputs under outputs/: " + JSON.stringify(input.requiredOutputs) : "") }
|
|
2110
2119
|
];
|
|
2111
2120
|
for (let step = 1; step <= maxSteps; step += 1) {
|
|
2112
2121
|
input.signal?.throwIfAborted();
|
|
@@ -2116,7 +2125,7 @@ var OpenPondWorkClient = class {
|
|
|
2116
2125
|
token: this.#apiKey,
|
|
2117
2126
|
model: input.model?.trim() || this.#defaultModel,
|
|
2118
2127
|
messages,
|
|
2119
|
-
tools: WORK_TOOLS,
|
|
2128
|
+
tools: [...WORK_TOOLS, ...submissionTools],
|
|
2120
2129
|
toolChoice: "auto",
|
|
2121
2130
|
signal: input.signal,
|
|
2122
2131
|
metadata: {
|
|
@@ -2139,7 +2148,13 @@ var OpenPondWorkClient = class {
|
|
|
2139
2148
|
await emit({ type: "assistant", text: assistantText });
|
|
2140
2149
|
}
|
|
2141
2150
|
if (toolCalls.length === 0) {
|
|
2142
|
-
|
|
2151
|
+
let outputs;
|
|
2152
|
+
try {
|
|
2153
|
+
outputs = await this.#collectOutputs(sandbox.id, outputBaseline, input.requiredOutputs);
|
|
2154
|
+
} catch (error) {
|
|
2155
|
+
messages.push({ role: "user", content: "Output acceptance failed. Correct the required outputs and submit again: " + errorMessage(error) });
|
|
2156
|
+
continue;
|
|
2157
|
+
}
|
|
2143
2158
|
for (const output of outputs) await emit({ type: "output", output });
|
|
2144
2159
|
finalizationAttempted = true;
|
|
2145
2160
|
await this.#finalizeSandbox(sandbox.id, outputs, input, lifecycle, emit);
|
|
@@ -2160,7 +2175,8 @@ var OpenPondWorkClient = class {
|
|
|
2160
2175
|
toolCall,
|
|
2161
2176
|
index,
|
|
2162
2177
|
input.timeoutSeconds,
|
|
2163
|
-
emit
|
|
2178
|
+
emit,
|
|
2179
|
+
input.requiredOutputs
|
|
2164
2180
|
);
|
|
2165
2181
|
messages.push(result);
|
|
2166
2182
|
}
|
|
@@ -2169,7 +2185,7 @@ var OpenPondWorkClient = class {
|
|
|
2169
2185
|
} catch (error) {
|
|
2170
2186
|
if (sandbox && outputBaseline && !finalizationAttempted) {
|
|
2171
2187
|
try {
|
|
2172
|
-
const outputs = await this.#collectOutputs(sandbox.id, outputBaseline);
|
|
2188
|
+
const outputs = await this.#collectOutputs(sandbox.id, outputBaseline, input.requiredOutputs);
|
|
2173
2189
|
for (const output of outputs) await emit({ type: "output", output });
|
|
2174
2190
|
await this.#finalizeSandbox(sandbox.id, outputs, input, lifecycle, emit);
|
|
2175
2191
|
} catch (finalizationError) {
|
|
@@ -2241,7 +2257,16 @@ var OpenPondWorkClient = class {
|
|
|
2241
2257
|
for (const output of outputs) {
|
|
2242
2258
|
await emit({ type: "persistence", output, status: "started" });
|
|
2243
2259
|
try {
|
|
2244
|
-
const
|
|
2260
|
+
const originalDownload = lazyOutputDownload(this.#sandboxes, sandboxId, output);
|
|
2261
|
+
const download = async () => {
|
|
2262
|
+
const result = await originalDownload();
|
|
2263
|
+
const required = input.requiredOutputs?.find((item) => normalizedOutputPath(output.path) === `${WORK_OUTPUT_DIRECTORY}/${item.path}`);
|
|
2264
|
+
if (required) {
|
|
2265
|
+
const validation = validateOutputBytes(required, Buffer.from(result.file.contentsBase64, "base64"));
|
|
2266
|
+
if (output.validation && validation?.artifactHash !== output.validation.artifactHash) throw new Error("work_saved_output_changed");
|
|
2267
|
+
}
|
|
2268
|
+
return result;
|
|
2269
|
+
};
|
|
2245
2270
|
await input.persistOutput({ output, download });
|
|
2246
2271
|
lifecycle.persistence.persistedCount += 1;
|
|
2247
2272
|
await emit({ type: "persistence", output, status: "succeeded" });
|
|
@@ -2322,9 +2347,17 @@ var OpenPondWorkClient = class {
|
|
|
2322
2347
|
});
|
|
2323
2348
|
return outputSignatures(await this.#listOutputFiles(sandboxId));
|
|
2324
2349
|
}
|
|
2325
|
-
async #collectOutputs(sandboxId, baseline) {
|
|
2350
|
+
async #collectOutputs(sandboxId, baseline, requiredOutputs) {
|
|
2326
2351
|
const files = await this.#listOutputFiles(sandboxId);
|
|
2327
|
-
|
|
2352
|
+
const outputs = files.filter((file) => baseline.get(file.path) !== outputSignature(file)).sort((left, right) => left.path.localeCompare(right.path)).slice(0, MAX_WORK_OUTPUTS).map(workOutputFromFile);
|
|
2353
|
+
for (const required of requiredOutputs ?? []) {
|
|
2354
|
+
const output = outputs.find((item) => normalizedOutputPath(item.path) === `${WORK_OUTPUT_DIRECTORY}/${required.path}`);
|
|
2355
|
+
if (!output) throw new Error("work_required_output_missing:" + required.path);
|
|
2356
|
+
const downloaded = await this.#sandboxes.downloadFileResponse(sandboxId, output.path);
|
|
2357
|
+
if (downloaded.file.truncated) throw new Error("work_output_download_truncated");
|
|
2358
|
+
output.validation = validateOutputBytes(required, Buffer.from(downloaded.file.contentsBase64, "base64"));
|
|
2359
|
+
}
|
|
2360
|
+
return outputs;
|
|
2328
2361
|
}
|
|
2329
2362
|
async #listOutputFiles(sandboxId) {
|
|
2330
2363
|
const listed = await this.#sandboxes.listFiles(sandboxId, {
|
|
@@ -2366,9 +2399,24 @@ var OpenPondWorkClient = class {
|
|
|
2366
2399
|
}
|
|
2367
2400
|
throw new Error(`Sandbox ${sandboxId} did not become ready before timeout`);
|
|
2368
2401
|
}
|
|
2369
|
-
async #executeTool(sandboxId, toolCall, index, timeoutSeconds, emit) {
|
|
2402
|
+
async #executeTool(sandboxId, toolCall, index, timeoutSeconds, emit, requiredOutputs) {
|
|
2370
2403
|
const toolCallId = toolCall.id || `work_tool_${index}`;
|
|
2371
2404
|
const name = toolCall.function?.name;
|
|
2405
|
+
const structured = structuredToolOutput(requiredOutputs ?? [], name ?? "");
|
|
2406
|
+
if (structured) {
|
|
2407
|
+
try {
|
|
2408
|
+
const bytes = serializeStructuredOutput(structured, JSON.parse(toolCall.function?.arguments || "{}"));
|
|
2409
|
+
const path = `${WORK_OUTPUT_DIRECTORY}/${structured.path}`;
|
|
2410
|
+
const temporary = `${WORK_OUTPUT_DIRECTORY}/.openpond-${randomUUID2()}`;
|
|
2411
|
+
await this.#sandboxes.uploadFileBase64(sandboxId, temporary, Buffer.from(bytes).toString("base64"));
|
|
2412
|
+
const quote = (value) => "'" + value.replaceAll("'", "'\\''") + "'";
|
|
2413
|
+
const moved = await this.#sandboxes.exec(sandboxId, { command: `mkdir -p -- ${quote(path.slice(0, path.lastIndexOf("/")))} && mv -f -- ${quote(temporary)} ${quote(path)}`, timeoutSeconds: 30 });
|
|
2414
|
+
if (moved.command.exitCode !== 0) throw new Error("work_output_registration_failed");
|
|
2415
|
+
return toolMessage(toolCallId, { ok: true, path, validation: validateOutputBytes(structured, bytes) });
|
|
2416
|
+
} catch (error) {
|
|
2417
|
+
return toolMessage(toolCallId, { ok: false, error: errorMessage(error) });
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2372
2420
|
if (name !== "run_command") {
|
|
2373
2421
|
return toolMessage(toolCallId, { error: `Unknown tool: ${name ?? "missing"}` });
|
|
2374
2422
|
}
|