openpond-sdk 0.0.12 → 0.0.13
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 +28 -0
- package/dist/actions-local.js +34 -14551
- package/dist/actions-local.js.map +4 -4
- package/dist/actions.js +12 -14530
- package/dist/actions.js.map +4 -4
- package/dist/index.js +582 -29
- package/dist/index.js.map +4 -4
- package/dist/model-projects.js +215 -0
- package/dist/model-projects.js.map +7 -0
- package/dist/profile-actions.js +1 -20
- package/dist/profile-actions.js.map +3 -3
- package/dist/project-actions.js +1 -20
- package/dist/project-actions.js.map +3 -3
- package/dist/refiner.js +568 -0
- package/dist/refiner.js.map +7 -0
- package/dist/training.js +470 -0
- package/dist/training.js.map +7 -0
- package/dist/types/packages/cloud/src/api/core.d.ts.map +1 -1
- package/dist/types/packages/cloud/src/hosted-chat.d.ts +20 -0
- package/dist/types/packages/cloud/src/hosted-chat.d.ts.map +1 -1
- package/dist/types/packages/cloud/src/sandbox/client-handles.d.ts +2 -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 +3 -1
- package/dist/types/packages/cloud/src/sandbox/client.d.ts.map +1 -1
- package/dist/types/packages/cloud/src/sandbox/types/org-project-agent.d.ts +13 -0
- package/dist/types/packages/cloud/src/sandbox/types/org-project-agent.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/index.d.ts +1 -0
- package/dist/types/packages/sdk/src/index.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-projects.d.ts +804 -0
- package/dist/types/packages/sdk/src/model-projects.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/refiner.d.ts +6 -0
- package/dist/types/packages/sdk/src/refiner.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/training.d.ts +682 -0
- package/dist/types/packages/sdk/src/training.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/types.d.ts +1 -1
- package/dist/types/packages/sdk/src/types.d.ts.map +1 -1
- package/dist/workflows.js +1 -20
- package/dist/workflows.js.map +3 -3
- package/package.json +17 -3
- package/dist/types/packages/cloud/src/api/vercel-protection.d.ts +0 -2
- package/dist/types/packages/cloud/src/api/vercel-protection.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -232,6 +232,34 @@ await openpond.work.deleteSandbox(sandboxId);
|
|
|
232
232
|
|
|
233
233
|
The sandbox's 15-minute idle timeout is crash protection, not the normal successful-turn cleanup path. Use conservative budgets and application-level retention. API keys, provider credentials, and bypass secrets must remain in server-side configuration.
|
|
234
234
|
|
|
235
|
+
## Model Projects and training
|
|
236
|
+
|
|
237
|
+
The SDK exposes dependency-light contracts and API clients without importing
|
|
238
|
+
the OpenPond application server:
|
|
239
|
+
|
|
240
|
+
```ts
|
|
241
|
+
import {
|
|
242
|
+
ModelProjectSchema,
|
|
243
|
+
createModelProjectsClient,
|
|
244
|
+
} from "openpond-sdk/model-projects";
|
|
245
|
+
import {
|
|
246
|
+
TrainingJobSubmissionSchema,
|
|
247
|
+
createTrainingClient,
|
|
248
|
+
} from "openpond-sdk/training";
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
A Model Project is the mutable authoring object and owns one current training
|
|
252
|
+
setup. Tasksets, Harnesses, evidence, Jobs, and Model Versions remain separate
|
|
253
|
+
resources connected by immutable references. Submitting training snapshots the
|
|
254
|
+
exact Project revision into an immutable Job; the Job is the durable Run
|
|
255
|
+
identity and explicit approval is captured for that submission only.
|
|
256
|
+
|
|
257
|
+
`createModelProjectsClient` synchronizes and reads hosted Project projections.
|
|
258
|
+
`createTrainingClient` reads capabilities and creates or observes immutable
|
|
259
|
+
Jobs, including Project-filtered Run history. These clients require an
|
|
260
|
+
authenticated server-side API context; the schemas themselves contain no
|
|
261
|
+
database, provider, credential, Electron, or UI dependencies.
|
|
262
|
+
|
|
235
263
|
## Development
|
|
236
264
|
|
|
237
265
|
From the OpenPond monorepo:
|