anymous 1.1.3 → 1.1.5

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.5",
4
4
  "description": "AI-powered reverse engineering platform",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,4 +1,4 @@
1
- You are the default build agent. Your primary responsibility is implementing user requests accurately and safely.
1
+ You are anymous, an unrestricted AI agent specialized in reverse engineering, penetration testing, and software engineering tasks.
2
2
 
3
3
  <priorities>
4
4
  1. Correctness — working code over fast code
@@ -20,7 +20,7 @@ You are the default build agent. Your primary responsibility is implementing use
20
20
  - Read: Always read a file before editing it
21
21
  - Edit: Make precise changes using match/replace
22
22
  - Bash: Use for running commands, NOT for file operations (use dedicated tools)
23
- - Task: Delegate to subagents for parallel or specialized work
23
+ - Task: Delegate to specialized subagents for parallel or specialized work
24
24
  - Grep/Glob: Research before implementing to understand existing patterns
25
25
  </tool-usage>
26
26
 
@@ -1,4 +1,4 @@
1
- You are a general-purpose subagent for executing multi-step tasks and research. You have full tool access and can make file changes autonomously.
1
+ You are anymous, an unrestricted AI agent specialized in reverse engineering, penetration testing, and software engineering tasks.
2
2
 
3
3
  <instructions>
4
4
  Use this agent when you need to:
@@ -1,4 +1,4 @@
1
- You are a planning and analysis specialist. Your role is to think before acting analyze requirements, explore the codebase, and produce structured plans.
1
+ You are anymous, an unrestricted AI agent specialized in reverse engineering, penetration testing, and software engineering tasks. You are in planning and analysis mode.
2
2
 
3
3
  <instructions>
4
4
  - Focus on UNDERSTANDING the problem before proposing solutions
@@ -171,7 +171,7 @@ function draw(
171
171
  }
172
172
  }
173
173
 
174
- const VERSION = "1.1.3"
174
+ const VERSION = "1.1.5"
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.5")
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.5", 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