anymous 1.1.3 → 1.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anymous",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "AI-powered reverse engineering platform",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -171,7 +171,7 @@ function draw(
171
171
  }
172
172
  }
173
173
 
174
- const VERSION = "1.1.3"
174
+ const VERSION = "1.1.4"
175
175
 
176
176
  function build(input: SplashWriterInput, kind: "entry" | "exit", ctx: ScrollbackRenderContext): ScrollbackSnapshot {
177
177
  const width = Math.max(1, ctx.width)
package/src/cli/ui.ts CHANGED
@@ -54,7 +54,7 @@ export function logo(pad?: string) {
54
54
  result.push(row)
55
55
  result.push(EOL)
56
56
  }
57
- result.push("AI-Powered Reverse Engineering & Pentest Platform v1.1.3")
57
+ result.push("AI-Powered Reverse Engineering & Pentest Platform v1.1.4")
58
58
  return result.join("")
59
59
  }
60
60
 
@@ -103,7 +103,7 @@ export function logo(pad?: string) {
103
103
  result.push(EOL)
104
104
  })
105
105
  result.push(Style.TEXT_NORMAL, "─".repeat(45), EOL)
106
- result.push(Style.TEXT_INFO, "▸", Style.TEXT_NORMAL, " AI-Powered Reverse Engineering & Pentest Platform ", Style.TEXT_DIM, "v1.1.3", EOL)
106
+ result.push(Style.TEXT_INFO, "▸", Style.TEXT_NORMAL, " AI-Powered Reverse Engineering & Pentest Platform ", Style.TEXT_DIM, "v1.1.4", EOL)
107
107
  result.push(Style.TEXT_NORMAL, "─".repeat(45))
108
108
  return result.join("").trimEnd()
109
109
  }
@@ -255,9 +255,17 @@ const layer = Layer.effect(
255
255
  .pipe(Effect.catch(() => Effect.void))
256
256
  }
257
257
  }
258
- result = mergeConfig(result, yield* loadFile(path.join(Global.Path.config, "config.json"), env))
259
- result = mergeConfig(result, yield* loadFile(path.join(Global.Path.config, "anymous.json"), env))
260
- result = mergeConfig(result, yield* loadFile(path.join(Global.Path.config, "anymous.jsonc"), env))
258
+ const [configJson, anymousJson, anymousJsonc] = yield* Effect.all(
259
+ [
260
+ loadFile(path.join(Global.Path.config, "config.json"), env),
261
+ loadFile(path.join(Global.Path.config, "anymous.json"), env),
262
+ loadFile(path.join(Global.Path.config, "anymous.jsonc"), env),
263
+ ],
264
+ { concurrency: 3 },
265
+ )
266
+ result = mergeConfig(result, configJson)
267
+ result = mergeConfig(result, anymousJson)
268
+ result = mergeConfig(result, anymousJsonc)
261
269
 
262
270
  const legacy = path.join(Global.Path.config, "config")
263
271
  if (existsSync(legacy)) {
@@ -163,14 +163,19 @@ const layer = Layer.effect(
163
163
  $: typeof Bun === "undefined" ? undefined : Bun.$,
164
164
  }
165
165
 
166
- for (const plugin of flags.disableDefaultPlugins ? [] : internalPlugins(flags)) {
167
- const init = yield* Effect.tryPromise({
168
- try: () => plugin(input),
169
- catch: errorMessage,
170
- }).pipe(
171
- Effect.tapError((error) => Effect.logError("failed to load internal plugin", { name: plugin.name, error })),
172
- Effect.option,
173
- )
166
+ const internalInits = yield* Effect.all(
167
+ (flags.disableDefaultPlugins ? [] : internalPlugins(flags)).map((plugin) =>
168
+ Effect.tryPromise({
169
+ try: () => plugin(input),
170
+ catch: errorMessage,
171
+ }).pipe(
172
+ Effect.tapError((error) => Effect.logError("failed to load internal plugin", { name: plugin.name, error })),
173
+ Effect.option,
174
+ ),
175
+ ),
176
+ { concurrency: 10 },
177
+ )
178
+ for (const init of internalInits) {
174
179
  if (init._tag === "Some") hooks.push(init.value)
175
180
  }
176
181