@agentuity/core 1.0.17 → 1.0.19

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.
Files changed (61) hide show
  1. package/dist/error.js +1 -1
  2. package/dist/error.js.map +1 -1
  3. package/dist/index.d.ts +19 -19
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +13 -13
  6. package/dist/index.js.map +1 -1
  7. package/dist/services/_util.d.ts +2 -2
  8. package/dist/services/_util.d.ts.map +1 -1
  9. package/dist/services/_util.js +2 -2
  10. package/dist/services/_util.js.map +1 -1
  11. package/dist/services/exception.d.ts +10 -14
  12. package/dist/services/exception.d.ts.map +1 -1
  13. package/dist/services/exception.js +1 -1
  14. package/dist/services/exception.js.map +1 -1
  15. package/dist/services/index.d.ts +10 -10
  16. package/dist/services/index.d.ts.map +1 -1
  17. package/dist/services/index.js +10 -10
  18. package/dist/services/index.js.map +1 -1
  19. package/dist/services/keyvalue.d.ts +2 -2
  20. package/dist/services/keyvalue.d.ts.map +1 -1
  21. package/dist/services/keyvalue.js +1 -1
  22. package/dist/services/keyvalue.js.map +1 -1
  23. package/dist/services/queue.d.ts +6 -6
  24. package/dist/services/queue.d.ts.map +1 -1
  25. package/dist/services/queue.js +2 -2
  26. package/dist/services/queue.js.map +1 -1
  27. package/dist/services/sandbox.d.ts +15 -2
  28. package/dist/services/sandbox.d.ts.map +1 -1
  29. package/dist/services/sandbox.js +1 -1
  30. package/dist/services/sandbox.js.map +1 -1
  31. package/dist/services/stream.d.ts +2 -2
  32. package/dist/services/stream.d.ts.map +1 -1
  33. package/dist/services/stream.js +3 -3
  34. package/dist/services/stream.js.map +1 -1
  35. package/dist/services/vector.d.ts +2 -2
  36. package/dist/services/vector.d.ts.map +1 -1
  37. package/dist/services/vector.js +3 -3
  38. package/dist/services/vector.js.map +1 -1
  39. package/dist/typehelper.d.ts +1 -1
  40. package/dist/typehelper.d.ts.map +1 -1
  41. package/dist/workbench-config.d.ts +4 -4
  42. package/dist/workbench-config.js +1 -1
  43. package/dist/workbench-config.js.map +1 -1
  44. package/dist/workbench.d.ts +1 -1
  45. package/dist/workbench.d.ts.map +1 -1
  46. package/dist/workbench.js +1 -1
  47. package/dist/workbench.js.map +1 -1
  48. package/package.json +2 -2
  49. package/src/error.ts +1 -1
  50. package/src/index.ts +19 -19
  51. package/src/services/_util.ts +3 -3
  52. package/src/services/exception.ts +6 -4
  53. package/src/services/index.ts +10 -10
  54. package/src/services/keyvalue.ts +3 -3
  55. package/src/services/queue.ts +3 -3
  56. package/src/services/sandbox.ts +28 -3
  57. package/src/services/stream.ts +5 -5
  58. package/src/services/vector.ts +5 -5
  59. package/src/typehelper.ts +1 -1
  60. package/src/workbench-config.ts +1 -1
  61. package/src/workbench.ts +1 -1
@@ -1,5 +1,5 @@
1
- import { StructuredError } from '../error';
2
- import type { SortDirection } from './pagination';
1
+ import { StructuredError } from '../error.ts';
2
+ import type { SortDirection } from './pagination.ts';
3
3
 
4
4
  /**
5
5
  * Resource limits for a sandbox using Kubernetes-style units
@@ -24,7 +24,16 @@ export interface SandboxResources {
24
24
  /**
25
25
  * Sandbox status
26
26
  */
27
- export type SandboxStatus = 'creating' | 'idle' | 'running' | 'paused' | 'stopping' | 'suspended' | 'terminated' | 'failed' | 'deleted';
27
+ export type SandboxStatus =
28
+ | 'creating'
29
+ | 'idle'
30
+ | 'running'
31
+ | 'paused'
32
+ | 'stopping'
33
+ | 'suspended'
34
+ | 'terminated'
35
+ | 'failed'
36
+ | 'deleted';
28
37
 
29
38
  export type SandboxSortField =
30
39
  | 'name'
@@ -522,6 +531,12 @@ export interface Sandbox {
522
531
  */
523
532
  interleaved: boolean;
524
533
 
534
+ /**
535
+ * Stream ID for the audit event stream (eBPF/Tetragon security events).
536
+ * Only present when audit streaming was successfully configured during sandbox creation.
537
+ */
538
+ auditStreamId?: string;
539
+
525
540
  /**
526
541
  * Execute a command in the sandbox
527
542
  */
@@ -703,6 +718,16 @@ export interface SandboxInfo {
703
718
  */
704
719
  stderrStreamUrl?: string;
705
720
 
721
+ /**
722
+ * ID of the audit event stream (eBPF/Tetragon security events)
723
+ */
724
+ auditStreamId?: string;
725
+
726
+ /**
727
+ * URL to the audit event stream (eBPF/Tetragon security events)
728
+ */
729
+ auditStreamUrl?: string;
730
+
706
731
  /**
707
732
  * Apt packages installed in the sandbox
708
733
  */
@@ -1,8 +1,8 @@
1
- import { safeStringify } from '../json';
2
- import { FetchAdapter } from './adapter';
3
- import { buildUrl, toServiceException } from './_util';
4
- import { StructuredError } from '../error';
5
- import type { ListParams } from './pagination';
1
+ import { safeStringify } from '../json.ts';
2
+ import { FetchAdapter } from './adapter.ts';
3
+ import { buildUrl, toServiceException } from './_util.ts';
4
+ import { StructuredError } from '../error.ts';
5
+ import type { ListParams } from './pagination.ts';
6
6
 
7
7
  /**
8
8
  * Minimum TTL value in seconds (1 minute)
@@ -1,8 +1,8 @@
1
- import { FetchAdapter } from './adapter';
2
- import { buildUrl, toServiceException } from './_util';
3
- import type { ListParams } from './pagination';
4
- import { safeStringify } from '../json';
5
- import { StructuredError } from '../error';
1
+ import { FetchAdapter } from './adapter.ts';
2
+ import { buildUrl, toServiceException } from './_util.ts';
3
+ import type { ListParams } from './pagination.ts';
4
+ import { safeStringify } from '../json.ts';
5
+ import { StructuredError } from '../error.ts';
6
6
 
7
7
  /**
8
8
  * Minimum TTL value in seconds (1 minute)
package/src/typehelper.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { StandardSchemaV1 } from './standard_schema';
1
+ import type { StandardSchemaV1 } from './standard_schema.ts';
2
2
 
3
3
  export type InferInput<T> = T extends StandardSchemaV1 ? StandardSchemaV1.InferInput<T> : never;
4
4
 
@@ -1,4 +1,4 @@
1
- import { StructuredError } from './error';
1
+ import { StructuredError } from './error.ts';
2
2
 
3
3
  export const WorkbenchConfigError = StructuredError(
4
4
  'WorkbenchConfigError',
package/src/workbench.ts CHANGED
@@ -1 +1 @@
1
- export * from './workbench-config';
1
+ export * from './workbench-config.ts';