@ash-cloud/ash-ai 0.1.15 → 0.1.16

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
@@ -4233,6 +4233,50 @@ VERCEL_EOF`);
4233
4233
  }
4234
4234
  });
4235
4235
 
4236
+ // src/runtime/providers/firecracker/types.ts
4237
+ var init_types3 = __esm({
4238
+ "src/runtime/providers/firecracker/types.ts"() {
4239
+ }
4240
+ });
4241
+
4242
+ // src/runtime/providers/firecracker/image-manager.ts
4243
+ var init_image_manager = __esm({
4244
+ "src/runtime/providers/firecracker/image-manager.ts"() {
4245
+ }
4246
+ });
4247
+
4248
+ // src/runtime/providers/firecracker/network-manager.ts
4249
+ var init_network_manager = __esm({
4250
+ "src/runtime/providers/firecracker/network-manager.ts"() {
4251
+ }
4252
+ });
4253
+
4254
+ // src/runtime/providers/firecracker/ssh-executor.ts
4255
+ var init_ssh_executor = __esm({
4256
+ "src/runtime/providers/firecracker/ssh-executor.ts"() {
4257
+ }
4258
+ });
4259
+
4260
+ // src/runtime/providers/firecracker/vm-manager.ts
4261
+ var init_vm_manager = __esm({
4262
+ "src/runtime/providers/firecracker/vm-manager.ts"() {
4263
+ init_types3();
4264
+ }
4265
+ });
4266
+
4267
+ // src/runtime/providers/firecracker.ts
4268
+ var init_firecracker = __esm({
4269
+ "src/runtime/providers/firecracker.ts"() {
4270
+ init_types2();
4271
+ init_types3();
4272
+ init_image_manager();
4273
+ init_network_manager();
4274
+ init_ssh_executor();
4275
+ init_vm_manager();
4276
+ init_types3();
4277
+ }
4278
+ });
4279
+
4236
4280
  // src/runtime/providers/index.ts
4237
4281
  var init_providers = __esm({
4238
4282
  "src/runtime/providers/index.ts"() {
@@ -4244,6 +4288,7 @@ var init_providers = __esm({
4244
4288
  init_fly();
4245
4289
  init_daytona();
4246
4290
  init_vercel();
4291
+ init_firecracker();
4247
4292
  init_local();
4248
4293
  init_modal();
4249
4294
  init_e2b();
@@ -4251,6 +4296,7 @@ var init_providers = __esm({
4251
4296
  init_fly();
4252
4297
  init_daytona();
4253
4298
  init_vercel();
4299
+ init_firecracker();
4254
4300
  }
4255
4301
  });
4256
4302
 
@@ -5927,7 +5973,18 @@ var init_sandbox_file_watcher = __esm({
5927
5973
  this.watchPath = options.watchPath;
5928
5974
  this.debounceMs = options.debounceMs ?? 300;
5929
5975
  this.patterns = options.patterns ?? ["**/*"];
5930
- this.ignored = options.ignored ?? ["**/node_modules/**", "**/.git/**", "**/*.log"];
5976
+ this.ignored = options.ignored ?? [
5977
+ "**/node_modules/**",
5978
+ "**/.git/**",
5979
+ "**/*.log",
5980
+ // Temporary files from atomic saves and editors
5981
+ "**/*.tmp",
5982
+ "**/*.tmp.*",
5983
+ "**/*~",
5984
+ "**/*.swp",
5985
+ "**/*.swo",
5986
+ "**/.DS_Store"
5987
+ ];
5931
5988
  this.emitInitialEvents = options.emitInitialEvents ?? false;
5932
5989
  this.followSymlinks = options.followSymlinks ?? false;
5933
5990
  this.usePolling = options.usePolling ?? false;
@@ -6168,7 +6225,7 @@ const fs = require('fs');
6168
6225
  const path = require('path');
6169
6226
 
6170
6227
  const watchPath = process.argv[2] || '.';
6171
- const ignored = new Set(['node_modules', '.git', '.cache', '__pycache__']);
6228
+ const ignoredDirs = new Set(['node_modules', '.git', '.cache', '__pycache__']);
6172
6229
 
6173
6230
  // Track all watchers for cleanup
6174
6231
  const watchers = new Map();
@@ -6187,7 +6244,23 @@ function emit(type, filePath) {
6187
6244
  }
6188
6245
 
6189
6246
  function shouldIgnore(name) {
6190
- return ignored.has(name) || name.startsWith('.');
6247
+ // Ignore hidden files/dirs (starting with .)
6248
+ if (name.startsWith('.')) return true;
6249
+
6250
+ // Ignore known directories
6251
+ if (ignoredDirs.has(name)) return true;
6252
+
6253
+ // Ignore temporary files from atomic saves and editors:
6254
+ // - filename.tmp (ends with .tmp)
6255
+ // - filename.tmp.123456789 (has .tmp. in middle - atomic write pattern)
6256
+ // - filename~ (editor backup files)
6257
+ // - filename.swp / filename.swo (Vim swap files)
6258
+ if (name.endsWith('.tmp')) return true;
6259
+ if (name.includes('.tmp.')) return true;
6260
+ if (name.endsWith('~')) return true;
6261
+ if (name.endsWith('.swp') || name.endsWith('.swo')) return true;
6262
+
6263
+ return false;
6191
6264
  }
6192
6265
 
6193
6266
  function watchDir(dir) {
@@ -7871,7 +7944,7 @@ var init_credentials = __esm({
7871
7944
  }
7872
7945
  });
7873
7946
  exports.gitHubSkillSourceSchema = void 0; exports.localSkillSourceSchema = void 0; exports.skillSourceSchema = void 0; exports.skillConfigSchema = void 0; exports.fileEntrySchema = void 0;
7874
- var init_types3 = __esm({
7947
+ var init_types4 = __esm({
7875
7948
  "src/skills/types.ts"() {
7876
7949
  exports.gitHubSkillSourceSchema = zod.z.object({
7877
7950
  type: zod.z.literal("github"),
@@ -8415,7 +8488,7 @@ var init_manager2 = __esm({
8415
8488
  // src/skills/index.ts
8416
8489
  var init_skills = __esm({
8417
8490
  "src/skills/index.ts"() {
8418
- init_types3();
8491
+ init_types4();
8419
8492
  init_local_provider();
8420
8493
  init_github_provider();
8421
8494
  init_manager2();
@@ -17935,7 +18008,7 @@ var init_storage3 = __esm({
17935
18008
  }
17936
18009
  if (options.filePath) {
17937
18010
  query = query.or(
17938
- `event_data->>filePath.eq.${options.filePath},and(category.eq.tool,tool_name.in.(Read,Write,Edit),event_data->input->>file_path.eq.${options.filePath})`
18011
+ `event_data->>filePath.eq.${options.filePath},event_data->>canonicalPath.eq.${options.filePath},and(category.eq.tool,tool_name.in.(Read,Write,Edit),event_data->input->>file_path.eq.${options.filePath})`
17939
18012
  );
17940
18013
  }
17941
18014
  const ascending = options.order !== "desc";