@agentuity/core 1.0.44 → 1.0.46
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/services/sandbox/api-reference.d.ts.map +1 -1
- package/dist/services/sandbox/api-reference.js +51 -4
- package/dist/services/sandbox/api-reference.js.map +1 -1
- package/dist/services/sandbox/events.d.ts +56 -0
- package/dist/services/sandbox/events.d.ts.map +1 -0
- package/dist/services/sandbox/events.js +54 -0
- package/dist/services/sandbox/events.js.map +1 -0
- package/dist/services/sandbox/execute.d.ts +4 -1
- package/dist/services/sandbox/execute.d.ts.map +1 -1
- package/dist/services/sandbox/execute.js +19 -2
- package/dist/services/sandbox/execute.js.map +1 -1
- package/dist/services/sandbox/execution.d.ts +4 -0
- package/dist/services/sandbox/execution.d.ts.map +1 -1
- package/dist/services/sandbox/execution.js +5 -0
- package/dist/services/sandbox/execution.js.map +1 -1
- package/dist/services/sandbox/files.d.ts +6 -0
- package/dist/services/sandbox/files.d.ts.map +1 -1
- package/dist/services/sandbox/files.js +2 -0
- package/dist/services/sandbox/files.js.map +1 -1
- package/dist/services/sandbox/index.d.ts +2 -0
- package/dist/services/sandbox/index.d.ts.map +1 -1
- package/dist/services/sandbox/index.js +1 -0
- package/dist/services/sandbox/index.js.map +1 -1
- package/dist/services/sandbox/types.d.ts +6 -0
- package/dist/services/sandbox/types.d.ts.map +1 -1
- package/dist/services/sandbox/types.js +10 -0
- package/dist/services/sandbox/types.js.map +1 -1
- package/package.json +2 -2
- package/src/services/sandbox/api-reference.ts +56 -4
- package/src/services/sandbox/events.ts +72 -0
- package/src/services/sandbox/execute.ts +20 -2
- package/src/services/sandbox/execution.ts +5 -0
- package/src/services/sandbox/files.ts +2 -0
- package/src/services/sandbox/index.ts +12 -0
- package/src/services/sandbox/types.ts +16 -0
|
@@ -328,6 +328,8 @@ export const FileInfoSchema = z.object({
|
|
|
328
328
|
path: z.string().describe('File path relative to the listed directory'),
|
|
329
329
|
size: z.number().describe('File size in bytes'),
|
|
330
330
|
isDir: z.boolean().describe('Whether the entry is a directory'),
|
|
331
|
+
isSymlink: z.boolean().optional().describe('Whether the entry is a symbolic link'),
|
|
332
|
+
linkTarget: z.string().optional().describe('Target path of the symbolic link'),
|
|
331
333
|
mode: z.string().describe('Unix permissions as octal string (e.g., "0644")'),
|
|
332
334
|
modTime: z.string().describe('Modification time in RFC3339 format'),
|
|
333
335
|
});
|
|
@@ -78,6 +78,18 @@ export {
|
|
|
78
78
|
executionGet,
|
|
79
79
|
executionList,
|
|
80
80
|
} from './execution.ts';
|
|
81
|
+
export type {
|
|
82
|
+
SandboxEventInfo,
|
|
83
|
+
SandboxEventListParams,
|
|
84
|
+
SandboxEventListResponse,
|
|
85
|
+
} from './events.ts';
|
|
86
|
+
export {
|
|
87
|
+
SandboxEventInfoSchema,
|
|
88
|
+
SandboxEventListDataSchema,
|
|
89
|
+
SandboxEventListParamsSchema,
|
|
90
|
+
SandboxEventListResponseSchema,
|
|
91
|
+
sandboxEventList,
|
|
92
|
+
} from './events.ts';
|
|
81
93
|
export type {
|
|
82
94
|
ArchiveFormat,
|
|
83
95
|
DownloadArchiveParams,
|
|
@@ -384,6 +384,10 @@ export interface SandboxFileInfo {
|
|
|
384
384
|
size: number;
|
|
385
385
|
/** Whether the entry is a directory */
|
|
386
386
|
isDir: boolean;
|
|
387
|
+
/** Whether the entry is a symbolic link */
|
|
388
|
+
isSymlink?: boolean;
|
|
389
|
+
/** Target path of the symbolic link */
|
|
390
|
+
linkTarget?: string;
|
|
387
391
|
/** Unix permissions as octal string (e.g., "0644") */
|
|
388
392
|
mode: string;
|
|
389
393
|
/** Modification time in RFC3339 format */
|
|
@@ -653,6 +657,18 @@ export const ExecutionSchema = z.object({
|
|
|
653
657
|
.string()
|
|
654
658
|
.optional()
|
|
655
659
|
.describe('URL to stream stderr output for this execution'),
|
|
660
|
+
/** Whether the captured output was truncated due to size limits */
|
|
661
|
+
outputTruncated: z
|
|
662
|
+
.boolean()
|
|
663
|
+
.optional()
|
|
664
|
+
.describe('Whether the captured output was truncated due to size limits'),
|
|
665
|
+
/** True if the sandbox was automatically resumed from a suspended state to execute this command */
|
|
666
|
+
autoResumed: z
|
|
667
|
+
.boolean()
|
|
668
|
+
.optional()
|
|
669
|
+
.describe(
|
|
670
|
+
'True if the sandbox was automatically resumed from a suspended state to execute this command'
|
|
671
|
+
),
|
|
656
672
|
});
|
|
657
673
|
export type Execution = z.infer<typeof ExecutionSchema>;
|
|
658
674
|
|