@agent-inspect/studio 6.17.4 → 6.17.6
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 +359 -117
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.mjs +360 -118
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -47,10 +47,14 @@ interface StudioRegistryBundleUploadIngest {
|
|
|
47
47
|
enabled?: boolean;
|
|
48
48
|
maxBytes?: number;
|
|
49
49
|
}
|
|
50
|
+
interface StudioRegistryFileDropIngest {
|
|
51
|
+
maxBytes?: number;
|
|
52
|
+
}
|
|
50
53
|
interface StudioRegistryIngest {
|
|
51
54
|
github?: StudioRegistryGitHubIngest;
|
|
52
55
|
http?: StudioRegistryHttpIngest;
|
|
53
56
|
bundleUpload?: StudioRegistryBundleUploadIngest;
|
|
57
|
+
fileDrop?: StudioRegistryFileDropIngest;
|
|
54
58
|
}
|
|
55
59
|
interface StudioRegistry {
|
|
56
60
|
schemaVersion: typeof STUDIO_REGISTRY_SCHEMA_VERSION;
|
|
@@ -90,6 +94,8 @@ interface FileDropImportOptions {
|
|
|
90
94
|
dropDir?: string;
|
|
91
95
|
/** Move successfully imported files into `dropDir/.imported/` instead of leaving copies. */
|
|
92
96
|
archiveAfterImport?: boolean;
|
|
97
|
+
/** Override registry ingest.fileDrop.maxBytes for tests. */
|
|
98
|
+
maxBytes?: number;
|
|
93
99
|
}
|
|
94
100
|
interface FileDropImportedFile {
|
|
95
101
|
sourceKey: string;
|
|
@@ -117,6 +123,7 @@ declare function importFileDropFromRegistry(options: {
|
|
|
117
123
|
enabled: boolean;
|
|
118
124
|
dropDir?: string;
|
|
119
125
|
archiveAfterImport?: boolean;
|
|
126
|
+
maxBytes?: number;
|
|
120
127
|
}): Promise<FileDropImportResult>;
|
|
121
128
|
declare function runStudioFileDropImport(options: {
|
|
122
129
|
workspacePath?: string;
|
|
@@ -210,6 +217,7 @@ declare function downloadGitHubArtifactArchive(options: {
|
|
|
210
217
|
artifactName: string;
|
|
211
218
|
token: string;
|
|
212
219
|
fetchImpl?: StudioFetch;
|
|
220
|
+
maxBytes?: number;
|
|
213
221
|
}): Promise<Buffer>;
|
|
214
222
|
declare function importGitHubArtifact(options: GitHubArtifactImportOptions): Promise<GitHubArtifactImportResult>;
|
|
215
223
|
declare function runStudioGitHubArtifactImport(options: {
|
|
@@ -229,6 +237,8 @@ interface BundleUploadImportOptions {
|
|
|
229
237
|
registry: StudioRegistry;
|
|
230
238
|
bundlePath: string;
|
|
231
239
|
enabled: boolean;
|
|
240
|
+
/** Override registry ingest.bundleUpload.maxBytes for tests. */
|
|
241
|
+
maxBytes?: number;
|
|
232
242
|
}
|
|
233
243
|
interface BundleUploadImportResult {
|
|
234
244
|
skipped: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -47,10 +47,14 @@ interface StudioRegistryBundleUploadIngest {
|
|
|
47
47
|
enabled?: boolean;
|
|
48
48
|
maxBytes?: number;
|
|
49
49
|
}
|
|
50
|
+
interface StudioRegistryFileDropIngest {
|
|
51
|
+
maxBytes?: number;
|
|
52
|
+
}
|
|
50
53
|
interface StudioRegistryIngest {
|
|
51
54
|
github?: StudioRegistryGitHubIngest;
|
|
52
55
|
http?: StudioRegistryHttpIngest;
|
|
53
56
|
bundleUpload?: StudioRegistryBundleUploadIngest;
|
|
57
|
+
fileDrop?: StudioRegistryFileDropIngest;
|
|
54
58
|
}
|
|
55
59
|
interface StudioRegistry {
|
|
56
60
|
schemaVersion: typeof STUDIO_REGISTRY_SCHEMA_VERSION;
|
|
@@ -90,6 +94,8 @@ interface FileDropImportOptions {
|
|
|
90
94
|
dropDir?: string;
|
|
91
95
|
/** Move successfully imported files into `dropDir/.imported/` instead of leaving copies. */
|
|
92
96
|
archiveAfterImport?: boolean;
|
|
97
|
+
/** Override registry ingest.fileDrop.maxBytes for tests. */
|
|
98
|
+
maxBytes?: number;
|
|
93
99
|
}
|
|
94
100
|
interface FileDropImportedFile {
|
|
95
101
|
sourceKey: string;
|
|
@@ -117,6 +123,7 @@ declare function importFileDropFromRegistry(options: {
|
|
|
117
123
|
enabled: boolean;
|
|
118
124
|
dropDir?: string;
|
|
119
125
|
archiveAfterImport?: boolean;
|
|
126
|
+
maxBytes?: number;
|
|
120
127
|
}): Promise<FileDropImportResult>;
|
|
121
128
|
declare function runStudioFileDropImport(options: {
|
|
122
129
|
workspacePath?: string;
|
|
@@ -210,6 +217,7 @@ declare function downloadGitHubArtifactArchive(options: {
|
|
|
210
217
|
artifactName: string;
|
|
211
218
|
token: string;
|
|
212
219
|
fetchImpl?: StudioFetch;
|
|
220
|
+
maxBytes?: number;
|
|
213
221
|
}): Promise<Buffer>;
|
|
214
222
|
declare function importGitHubArtifact(options: GitHubArtifactImportOptions): Promise<GitHubArtifactImportResult>;
|
|
215
223
|
declare function runStudioGitHubArtifactImport(options: {
|
|
@@ -229,6 +237,8 @@ interface BundleUploadImportOptions {
|
|
|
229
237
|
registry: StudioRegistry;
|
|
230
238
|
bundlePath: string;
|
|
231
239
|
enabled: boolean;
|
|
240
|
+
/** Override registry ingest.bundleUpload.maxBytes for tests. */
|
|
241
|
+
maxBytes?: number;
|
|
232
242
|
}
|
|
233
243
|
interface BundleUploadImportResult {
|
|
234
244
|
skipped: boolean;
|