@engineer-ai/sdk 1.5.4 → 1.5.5
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/v2/client.js +2 -2
- package/dist/v2/gen/types.gen.d.ts +4 -0
- package/package.json +1 -1
package/dist/v2/client.js
CHANGED
|
@@ -21,7 +21,7 @@ export function createEngineerClient(config) {
|
|
|
21
21
|
// This avoids HTTP header charset restrictions for non-ASCII paths (e.g. Chinese).
|
|
22
22
|
// The directory held by the client is authoritative: overwrite any existing
|
|
23
23
|
// value that is empty or differs from the client's directory.
|
|
24
|
-
config.fetch = async (input, init) => {
|
|
24
|
+
config.fetch = (async (input, init) => {
|
|
25
25
|
const request = new Request(input, init);
|
|
26
26
|
const url = new URL(request.url);
|
|
27
27
|
const existing = url.searchParams.get("directory");
|
|
@@ -29,7 +29,7 @@ export function createEngineerClient(config) {
|
|
|
29
29
|
url.searchParams.set("directory", directory);
|
|
30
30
|
}
|
|
31
31
|
return userFetch(new Request(url.toString(), request));
|
|
32
|
-
};
|
|
32
|
+
});
|
|
33
33
|
}
|
|
34
34
|
const client = createClient(config);
|
|
35
35
|
return new EngineerClient({ client });
|
|
@@ -4369,6 +4369,10 @@ export type GitCheckResponses = {
|
|
|
4369
4369
|
* Error message if CHECK file write failed
|
|
4370
4370
|
*/
|
|
4371
4371
|
checkFileError?: string;
|
|
4372
|
+
/**
|
|
4373
|
+
* Adoption rate warning, format: taskId=rate|taskId=rate, empty means all pass
|
|
4374
|
+
*/
|
|
4375
|
+
rateWarning?: string;
|
|
4372
4376
|
};
|
|
4373
4377
|
};
|
|
4374
4378
|
};
|