@llmsafespaces/sdk 0.24.0 → 0.25.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/dist/index.cjs +3 -3
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -56,7 +56,7 @@ var NotFoundError = class extends LLMSafeSpacesError {
|
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
var ConflictError = class extends LLMSafeSpacesError {
|
|
59
|
-
/** Current workspace phase, when the 409 body carries one (upload phase gate, Epic
|
|
59
|
+
/** Current workspace phase, when the 409 body carries one (upload phase gate, Epic 68 D5). */
|
|
60
60
|
phase;
|
|
61
61
|
constructor(message) {
|
|
62
62
|
super(message, 409, "CONFLICT");
|
|
@@ -306,7 +306,7 @@ var WorkspacesAPI = class {
|
|
|
306
306
|
return this.client.request("GET", `/workspaces/${id}/status`);
|
|
307
307
|
}
|
|
308
308
|
/**
|
|
309
|
-
* Uploads a file into the workspace (Epic
|
|
309
|
+
* Uploads a file into the workspace (Epic 68): multipart POST with a
|
|
310
310
|
* single part named `file`; the file lands on the workspace PVC under
|
|
311
311
|
* /workspace/uploads/. The returned path feeds the `files` parameter of
|
|
312
312
|
* sessions.sendPromptAsync / sessions.enqueue. The workspace must be
|
|
@@ -420,7 +420,7 @@ var SessionsAPI = class {
|
|
|
420
420
|
}
|
|
421
421
|
/**
|
|
422
422
|
* Sends a prompt asynchronously (202; the reply arrives on the workspace
|
|
423
|
-
* SSE stream). Optional `files` (Epic
|
|
423
|
+
* SSE stream). Optional `files` (Epic 68) are upload-namespace paths —
|
|
424
424
|
* the API composes the v1 attachment manifest into the dispatched text.
|
|
425
425
|
*/
|
|
426
426
|
sendPromptAsync(workspaceId, sessionId, message, files) {
|
package/dist/index.d.cts
CHANGED
|
@@ -295,7 +295,7 @@ interface QueuedMessage {
|
|
|
295
295
|
retry_count: number;
|
|
296
296
|
}
|
|
297
297
|
/**
|
|
298
|
-
* Result of a workspace file upload (Epic
|
|
298
|
+
* Result of a workspace file upload (Epic 68): the absolute path of the
|
|
299
299
|
* stored file on the workspace PVC (/workspace/uploads/<uuid>-<name>),
|
|
300
300
|
* its sanitized name, and the stored byte count.
|
|
301
301
|
*/
|
|
@@ -397,7 +397,7 @@ declare class WorkspacesAPI {
|
|
|
397
397
|
delete(id: string): Promise<void>;
|
|
398
398
|
getStatus(id: string): Promise<WorkspaceStatusResult>;
|
|
399
399
|
/**
|
|
400
|
-
* Uploads a file into the workspace (Epic
|
|
400
|
+
* Uploads a file into the workspace (Epic 68): multipart POST with a
|
|
401
401
|
* single part named `file`; the file lands on the workspace PVC under
|
|
402
402
|
* /workspace/uploads/. The returned path feeds the `files` parameter of
|
|
403
403
|
* sessions.sendPromptAsync / sessions.enqueue. The workspace must be
|
|
@@ -465,7 +465,7 @@ declare class SessionsAPI {
|
|
|
465
465
|
get(workspaceId: string, sessionId: string): Promise<Record<string, unknown>>;
|
|
466
466
|
/**
|
|
467
467
|
* Sends a prompt asynchronously (202; the reply arrives on the workspace
|
|
468
|
-
* SSE stream). Optional `files` (Epic
|
|
468
|
+
* SSE stream). Optional `files` (Epic 68) are upload-namespace paths —
|
|
469
469
|
* the API composes the v1 attachment manifest into the dispatched text.
|
|
470
470
|
*/
|
|
471
471
|
sendPromptAsync(workspaceId: string, sessionId: string, message: string, files?: string[]): Promise<void>;
|
|
@@ -787,7 +787,7 @@ declare class NotFoundError extends LLMSafeSpacesError {
|
|
|
787
787
|
constructor(message: string);
|
|
788
788
|
}
|
|
789
789
|
declare class ConflictError extends LLMSafeSpacesError {
|
|
790
|
-
/** Current workspace phase, when the 409 body carries one (upload phase gate, Epic
|
|
790
|
+
/** Current workspace phase, when the 409 body carries one (upload phase gate, Epic 68 D5). */
|
|
791
791
|
phase?: string;
|
|
792
792
|
constructor(message: string);
|
|
793
793
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -295,7 +295,7 @@ interface QueuedMessage {
|
|
|
295
295
|
retry_count: number;
|
|
296
296
|
}
|
|
297
297
|
/**
|
|
298
|
-
* Result of a workspace file upload (Epic
|
|
298
|
+
* Result of a workspace file upload (Epic 68): the absolute path of the
|
|
299
299
|
* stored file on the workspace PVC (/workspace/uploads/<uuid>-<name>),
|
|
300
300
|
* its sanitized name, and the stored byte count.
|
|
301
301
|
*/
|
|
@@ -397,7 +397,7 @@ declare class WorkspacesAPI {
|
|
|
397
397
|
delete(id: string): Promise<void>;
|
|
398
398
|
getStatus(id: string): Promise<WorkspaceStatusResult>;
|
|
399
399
|
/**
|
|
400
|
-
* Uploads a file into the workspace (Epic
|
|
400
|
+
* Uploads a file into the workspace (Epic 68): multipart POST with a
|
|
401
401
|
* single part named `file`; the file lands on the workspace PVC under
|
|
402
402
|
* /workspace/uploads/. The returned path feeds the `files` parameter of
|
|
403
403
|
* sessions.sendPromptAsync / sessions.enqueue. The workspace must be
|
|
@@ -465,7 +465,7 @@ declare class SessionsAPI {
|
|
|
465
465
|
get(workspaceId: string, sessionId: string): Promise<Record<string, unknown>>;
|
|
466
466
|
/**
|
|
467
467
|
* Sends a prompt asynchronously (202; the reply arrives on the workspace
|
|
468
|
-
* SSE stream). Optional `files` (Epic
|
|
468
|
+
* SSE stream). Optional `files` (Epic 68) are upload-namespace paths —
|
|
469
469
|
* the API composes the v1 attachment manifest into the dispatched text.
|
|
470
470
|
*/
|
|
471
471
|
sendPromptAsync(workspaceId: string, sessionId: string, message: string, files?: string[]): Promise<void>;
|
|
@@ -787,7 +787,7 @@ declare class NotFoundError extends LLMSafeSpacesError {
|
|
|
787
787
|
constructor(message: string);
|
|
788
788
|
}
|
|
789
789
|
declare class ConflictError extends LLMSafeSpacesError {
|
|
790
|
-
/** Current workspace phase, when the 409 body carries one (upload phase gate, Epic
|
|
790
|
+
/** Current workspace phase, when the 409 body carries one (upload phase gate, Epic 68 D5). */
|
|
791
791
|
phase?: string;
|
|
792
792
|
constructor(message: string);
|
|
793
793
|
}
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ var NotFoundError = class extends LLMSafeSpacesError {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
var ConflictError = class extends LLMSafeSpacesError {
|
|
25
|
-
/** Current workspace phase, when the 409 body carries one (upload phase gate, Epic
|
|
25
|
+
/** Current workspace phase, when the 409 body carries one (upload phase gate, Epic 68 D5). */
|
|
26
26
|
phase;
|
|
27
27
|
constructor(message) {
|
|
28
28
|
super(message, 409, "CONFLICT");
|
|
@@ -272,7 +272,7 @@ var WorkspacesAPI = class {
|
|
|
272
272
|
return this.client.request("GET", `/workspaces/${id}/status`);
|
|
273
273
|
}
|
|
274
274
|
/**
|
|
275
|
-
* Uploads a file into the workspace (Epic
|
|
275
|
+
* Uploads a file into the workspace (Epic 68): multipart POST with a
|
|
276
276
|
* single part named `file`; the file lands on the workspace PVC under
|
|
277
277
|
* /workspace/uploads/. The returned path feeds the `files` parameter of
|
|
278
278
|
* sessions.sendPromptAsync / sessions.enqueue. The workspace must be
|
|
@@ -386,7 +386,7 @@ var SessionsAPI = class {
|
|
|
386
386
|
}
|
|
387
387
|
/**
|
|
388
388
|
* Sends a prompt asynchronously (202; the reply arrives on the workspace
|
|
389
|
-
* SSE stream). Optional `files` (Epic
|
|
389
|
+
* SSE stream). Optional `files` (Epic 68) are upload-namespace paths —
|
|
390
390
|
* the API composes the v1 attachment manifest into the dispatched text.
|
|
391
391
|
*/
|
|
392
392
|
sendPromptAsync(workspaceId, sessionId, message, files) {
|