@llmsafespaces/sdk 0.9.0 → 0.13.0

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.d.cts CHANGED
@@ -451,8 +451,16 @@ interface TriggerResponse {
451
451
  enabled: boolean;
452
452
  sourceType: string;
453
453
  sourceConfig: unknown;
454
- targetType: string;
455
- targetConfig: unknown;
454
+ workspaceId?: string;
455
+ workflowId?: string;
456
+ prompt?: string;
457
+ agent?: string;
458
+ scriptPath?: string;
459
+ scriptArgs?: string[];
460
+ scriptEnv?: unknown;
461
+ memoryMode?: string;
462
+ captureMode?: string;
463
+ preserveSession?: string;
456
464
  consecutiveFailures: number;
457
465
  autoDisableAfter: number;
458
466
  lastFiredAt?: string;
@@ -489,9 +497,17 @@ declare class TriggersAPI {
489
497
  create(req: {
490
498
  name: string;
491
499
  sourceType: string;
492
- targetType: string;
493
500
  sourceConfig: unknown;
494
- targetConfig: unknown;
501
+ workspaceId?: string;
502
+ workflowId?: string;
503
+ prompt?: string;
504
+ agent?: string;
505
+ scriptPath?: string;
506
+ scriptArgs?: string[];
507
+ scriptEnv?: unknown;
508
+ memoryMode?: string;
509
+ captureMode?: string;
510
+ preserveSession?: string;
495
511
  }): Promise<TriggerResponse>;
496
512
  update(id: string, req: {
497
513
  enabled?: boolean;
package/dist/index.d.ts CHANGED
@@ -451,8 +451,16 @@ interface TriggerResponse {
451
451
  enabled: boolean;
452
452
  sourceType: string;
453
453
  sourceConfig: unknown;
454
- targetType: string;
455
- targetConfig: unknown;
454
+ workspaceId?: string;
455
+ workflowId?: string;
456
+ prompt?: string;
457
+ agent?: string;
458
+ scriptPath?: string;
459
+ scriptArgs?: string[];
460
+ scriptEnv?: unknown;
461
+ memoryMode?: string;
462
+ captureMode?: string;
463
+ preserveSession?: string;
456
464
  consecutiveFailures: number;
457
465
  autoDisableAfter: number;
458
466
  lastFiredAt?: string;
@@ -489,9 +497,17 @@ declare class TriggersAPI {
489
497
  create(req: {
490
498
  name: string;
491
499
  sourceType: string;
492
- targetType: string;
493
500
  sourceConfig: unknown;
494
- targetConfig: unknown;
501
+ workspaceId?: string;
502
+ workflowId?: string;
503
+ prompt?: string;
504
+ agent?: string;
505
+ scriptPath?: string;
506
+ scriptArgs?: string[];
507
+ scriptEnv?: unknown;
508
+ memoryMode?: string;
509
+ captureMode?: string;
510
+ preserveSession?: string;
495
511
  }): Promise<TriggerResponse>;
496
512
  update(id: string, req: {
497
513
  enabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llmsafespaces/sdk",
3
- "version": "0.9.0",
3
+ "version": "0.13.0",
4
4
  "description": "TypeScript SDK for LLMSafeSpaces API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",