@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 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 67 D5). */
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 67): multipart POST with a
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 67) are upload-namespace paths —
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 67): the absolute path of the
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 67): multipart POST with a
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 67) are upload-namespace paths —
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 67 D5). */
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 67): the absolute path of the
298
+ * Result of a workspace file upload (Epic 68): the absolute path of the
299
299
  * stored file on the workspace PVC (/workspace/uploads/&lt;uuid&gt;-&lt;name&gt;),
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 67): multipart POST with a
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 67) are upload-namespace paths —
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 67 D5). */
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 67 D5). */
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 67): multipart POST with a
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 67) are upload-namespace paths —
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llmsafespaces/sdk",
3
- "version": "0.24.0",
3
+ "version": "0.25.1",
4
4
  "description": "TypeScript SDK for LLMSafeSpaces API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",