openpond-sdk 0.8.2 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/TRAINING_PROTOCOL.md +15 -0
- package/dist/{chunk-KIBRMKJQ.js → chunk-JCPLAIZL.js} +284 -227
- package/dist/chunk-JCPLAIZL.js.map +7 -0
- package/dist/dataset-workspaces.js +1 -1
- package/dist/model-starter-catalog.js +1 -1
- package/dist/model-starters.js +1 -1
- package/dist/taskset-drafts.js +1 -1
- package/dist/taskset-packages.js +1 -1
- package/dist/training-bundle.js +1 -1
- package/dist/training-projects.js +11 -2
- package/dist/training-projects.js.map +2 -2
- package/dist/training.js +9 -1
- package/dist/types/packages/sdk/src/model-starter-attempts.d.ts +8 -8
- package/dist/types/packages/sdk/src/model-taskset-runs-contracts.d.ts +4 -4
- package/dist/types/packages/sdk/src/model-taskset-runs.d.ts +5 -5
- package/dist/types/packages/sdk/src/training-acceptance.d.ts +234 -0
- package/dist/types/packages/sdk/src/training-acceptance.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/training-project-client.d.ts +84 -76
- 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 +10 -0
- package/dist/types/packages/sdk/src/training-project-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training.d.ts +156 -11
- package/dist/types/packages/sdk/src/training.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-KIBRMKJQ.js.map +0 -7
package/README.md
CHANGED
|
@@ -330,3 +330,20 @@ pnpm release:sdk:patch
|
|
|
330
330
|
```
|
|
331
331
|
|
|
332
332
|
That command creates an SDK-only release PR. Merging it triggers `release-sdk.yml`; desktop and CLI releases continue to use the existing `pnpm release:patch` command and workflow.
|
|
333
|
+
|
|
334
|
+
### Independent acceptance evidence
|
|
335
|
+
|
|
336
|
+
`training.acceptanceGroups({ teamId, jobId }, { cursor, limit })` lists retained
|
|
337
|
+
independent-check groups for an authorized training Job. Pages contain bounded
|
|
338
|
+
summaries rather than complete retry histories. Follow `nextCursor` to read more.
|
|
339
|
+
|
|
340
|
+
`training.acceptanceGroup({ teamId, jobId }, groupId, reference?)` reads and verifies
|
|
341
|
+
the complete group manifest, checks and attempt history. Passing a summary's
|
|
342
|
+
`{ id, revision, contentHash }` reads that exact retained revision; omitting the
|
|
343
|
+
reference reads the current snapshot. The client verifies workspace/Job/group
|
|
344
|
+
identity and all snapshot hashes. Use `acceptanceGroupVerdict` from
|
|
345
|
+
`@openpond/evals/learning` for the per-check view of verified retained evidence.
|
|
346
|
+
|
|
347
|
+
These methods only read evidence. They do not dispatch checks, bypass server-side
|
|
348
|
+
acceptance, start training or activate serving. An empty page means this Job has
|
|
349
|
+
no recorded independent group; its existing trainer validation is separate.
|
package/TRAINING_PROTOCOL.md
CHANGED
|
@@ -248,3 +248,18 @@ the Taskset and training bundle.
|
|
|
248
248
|
`createTrainingClient().publishHarnessSource(sourcePackage)` publishes a verified, portable, policy-visible `@openpond/harness` source package to the authenticated workspace without starting a Job. `getHarnessSource({ id, contentHash })` retrieves and verifies that exact release. The endpoints are `PUT` and `GET /v1/training/harness-sources/:releaseId/:contentHash`; they use the existing Training media type and read/write scopes.
|
|
249
249
|
|
|
250
250
|
Hosted learning resolves this immutable source with Desktop closed. Publish before selecting the release on a hosted Model. Preparation still checks the Taskset adapter, required tools, private grading boundary and effective context; publication is not training or quality qualification. Existing prepared Jobs retain their captured source when a newer release is published.
|
|
251
|
+
|
|
252
|
+
## Project Profile source binding
|
|
253
|
+
|
|
254
|
+
SDK 0.9 requires `profileRepositoryId` on Training Project `harness` and `suite`
|
|
255
|
+
targets. This is the authorized hosted repository locator; `source.profileId`
|
|
256
|
+
is the Profile name inside that repository and must not be used as a repository
|
|
257
|
+
ID. Keep both identities through preparation and execution. Existing incomplete
|
|
258
|
+
Profile selections must be reselected explicitly; model targets are unchanged.
|
|
259
|
+
|
|
260
|
+
Suite sources must contain unique definitions from one exact Profile source,
|
|
261
|
+
catalog and Harness release. Their environment hashes may differ. A host must
|
|
262
|
+
resolve the repository under the caller's workspace/permissions, verify the
|
|
263
|
+
internal Profile ID and all selected immutable identities, and fail admission
|
|
264
|
+
when they no longer match. Project association does not grant repository access
|
|
265
|
+
or permission to execute a Profile's connected applications.
|