openpond-sdk 0.6.2 → 0.6.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/{chunk-6T23L3LH.js → chunk-2DMYAJLS.js} +2 -2
- package/dist/{chunk-355XXLO3.js → chunk-2EDLQPGZ.js} +2 -2
- package/dist/{chunk-IHBZQQMS.js → chunk-4AMFFI3A.js} +2 -2
- package/dist/{chunk-22RMONJA.js → chunk-CEZEVILU.js} +4 -4
- package/dist/chunk-CEZEVILU.js.map +7 -0
- package/dist/{chunk-E5IFONUB.js → chunk-CV67IFPB.js} +2 -2
- package/dist/{chunk-W2FCKYHV.js → chunk-F4O2EPY4.js} +3 -3
- package/dist/{chunk-FJ7IMEG5.js → chunk-IWT6JUZD.js} +2 -2
- package/dist/{chunk-5FBPNWT4.js → chunk-KWWOJY3T.js} +39 -1
- package/dist/{chunk-5FBPNWT4.js.map → chunk-KWWOJY3T.js.map} +4 -4
- package/dist/{chunk-JHKNPQD5.js → chunk-MEKWESBF.js} +2 -2
- package/dist/index.js +10 -8
- package/dist/index.js.map +2 -2
- package/dist/learning.js +1 -1
- package/dist/model-starter-catalog.js +2 -2
- package/dist/model-starters.js +2 -2
- package/dist/model-taskset-runs.js +1 -1
- package/dist/profile-actions.js +2 -2
- package/dist/project-actions.js +2 -2
- package/dist/taskset-drafts.js +4 -4
- package/dist/taskset-packages.js +5 -5
- package/dist/training-bundle.js +4 -4
- package/dist/training.js +2 -2
- package/dist/types/packages/cloud/src/api/core.d.ts +2 -1
- package/dist/types/packages/cloud/src/api/core.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-taskset-runs-contracts.d.ts +48 -0
- 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 +96 -0
- package/dist/types/packages/sdk/src/model-taskset-runs.d.ts.map +1 -1
- package/dist/workflows.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-22RMONJA.js.map +0 -7
- /package/dist/{chunk-6T23L3LH.js.map → chunk-2DMYAJLS.js.map} +0 -0
- /package/dist/{chunk-355XXLO3.js.map → chunk-2EDLQPGZ.js.map} +0 -0
- /package/dist/{chunk-IHBZQQMS.js.map → chunk-4AMFFI3A.js.map} +0 -0
- /package/dist/{chunk-E5IFONUB.js.map → chunk-CV67IFPB.js.map} +0 -0
- /package/dist/{chunk-W2FCKYHV.js.map → chunk-F4O2EPY4.js.map} +0 -0
- /package/dist/{chunk-FJ7IMEG5.js.map → chunk-IWT6JUZD.js.map} +0 -0
- /package/dist/{chunk-JHKNPQD5.js.map → chunk-MEKWESBF.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
apiFetch,
|
|
3
3
|
readApiJson
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CEZEVILU.js";
|
|
5
5
|
|
|
6
6
|
// src/workflows.ts
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
@@ -77,4 +77,4 @@ function requiredId(value, label) {
|
|
|
77
77
|
export {
|
|
78
78
|
OpenPondWorkflowsClient
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-MEKWESBF.js.map
|
package/dist/index.js
CHANGED
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
OpenPondLearningClient,
|
|
3
3
|
OpenPondLearningError
|
|
4
4
|
} from "./chunk-K4C5QOSV.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-KWWOJY3T.js";
|
|
6
6
|
import {
|
|
7
7
|
OpenPondProjectActionsClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IWT6JUZD.js";
|
|
9
9
|
import {
|
|
10
10
|
OpenPondProfileActionsClient
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2DMYAJLS.js";
|
|
12
12
|
import {
|
|
13
13
|
OpenPondWorkflowsClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MEKWESBF.js";
|
|
15
15
|
import {
|
|
16
16
|
OpenPondApiError,
|
|
17
17
|
apiFetch,
|
|
18
18
|
readApiJson
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CEZEVILU.js";
|
|
20
20
|
import "./chunk-LXXQVGQY.js";
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_REFINER_REVIEW_PROFILE,
|
|
@@ -943,11 +943,11 @@ var OpenPondSandboxInstanceClient = class {
|
|
|
943
943
|
});
|
|
944
944
|
}
|
|
945
945
|
async request(path, init = {}) {
|
|
946
|
-
const response = await apiFetch(this.sandboxApiUrl, this.apiKey, path, this.customEndpoint ? { ...init,
|
|
946
|
+
const response = await apiFetch(this.sandboxApiUrl, this.apiKey, path, this.customEndpoint ? { ...init, explicitBearerAuth: true, redirect: "error" } : init);
|
|
947
947
|
return readApiJson(response, "Sandbox request");
|
|
948
948
|
}
|
|
949
949
|
async requestApiRoot(path, init = {}) {
|
|
950
|
-
const response = await apiFetch(this.apiRootUrl, this.apiKey, path, this.customEndpoint ? { ...init,
|
|
950
|
+
const response = await apiFetch(this.apiRootUrl, this.apiKey, path, this.customEndpoint ? { ...init, explicitBearerAuth: true, redirect: "error" } : init);
|
|
951
951
|
return readApiJson(response, "OpenPond API request");
|
|
952
952
|
}
|
|
953
953
|
};
|
|
@@ -2297,7 +2297,9 @@ function systemPrompt(sandboxId, hasInputs) {
|
|
|
2297
2297
|
"You are OpenPond Work, a careful coding agent operating in an isolated Linux sandbox.",
|
|
2298
2298
|
`The active sandbox is ${sandboxId}.`,
|
|
2299
2299
|
...hasInputs ? [
|
|
2300
|
-
`
|
|
2300
|
+
`The authoritative saved files for this turn are staged under /workspace/${WORK_INPUT_DIRECTORY}; their manifest is /workspace/${WORK_INPUT_MANIFEST}.`,
|
|
2301
|
+
"Before revising a previous output, read its staged file and manifest. Copy the staged input into the output directory before editing it; previous output paths may not exist in this sandbox.",
|
|
2302
|
+
"Preserve the actual file bytes. Never reconstruct a saved file from the conversation or claim to have preserved it without reading the staged input."
|
|
2301
2303
|
] : [],
|
|
2302
2304
|
"Use run_command to inspect the workspace, edit files, and validate your work.",
|
|
2303
2305
|
`Place completed user-facing files in ${WORK_OUTPUT_DIRECTORY}. The runtime collects new and revised files there automatically when the turn completes.`,
|