fix(profiles): format TS SDK profile client with prettier

The ts-sdk CI Lint step (npx prettier --check .) failed on the three
profile client files, which also failed the aggregate CI Gate. Reformat
them with prettier 3.8.4 (the pinned devDependency); whitespace only.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
karthik
2026-09-18 03:18:19 +05:30
co-authored by Claude Opus 4.8
parent 34894e2cea
commit 4b9a27aac1
3 changed files with 7 additions and 7 deletions
+1 -3
View File
@@ -871,9 +871,7 @@ export default class MemoryClient {
* Real generations against real memories, and the results are kept: the
* profiles are written to those entities and count toward usage.
*/
async sampleProfiles(data?: {
limit?: number;
}): Promise<ProfileJobResponse> {
async sampleProfiles(data?: { limit?: number }): Promise<ProfileJobResponse> {
this._captureEvent("sample_profiles", []);
await this._awaitIdentity();
+5 -1
View File
@@ -244,7 +244,11 @@ export type ProfileEntityType = "user" | "agent";
/** `succeeded` is the only state in which `profile` is guaranteed to hold content. */
export type ProfileStatus =
"succeeded" | "pending" | "failed" | "notEnabled" | "insufficientData";
| "succeeded"
| "pending"
| "failed"
| "notEnabled"
| "insufficientData";
export interface ProfileResponse {
/** Shaped by the project's schema; keys are not camel-cased. */
@@ -248,9 +248,7 @@ describe("MemoryClient - sampleProfiles() / regenerateProfiles()", () => {
const client = new MemoryClient({ apiKey: TEST_API_KEY });
const result = await client.regenerateProfiles();
expect(
findFetchCall(mock, "/v2/profiles/jobs/", "POST"),
).toBeDefined();
expect(findFetchCall(mock, "/v2/profiles/jobs/", "POST")).toBeDefined();
expect(result.jobId).toBe("job_3");
expect(result.statusUrl).toBe("/v2/profiles/jobs/job_3/");
});