@ai-setting/roy-agent-cli 1.7.48 → 1.7.50

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.
@@ -9487,7 +9487,7 @@ class CliQuietModeService {
9487
9487
  // package.json
9488
9488
  var package_default = {
9489
9489
  name: "@ai-setting/roy-agent-cli",
9490
- version: "1.7.48",
9490
+ version: "1.7.50",
9491
9491
  type: "module",
9492
9492
  description: "CLI for roy-agent - Non-interactive command execution",
9493
9493
  main: "./dist/index.js",
@@ -10029,10 +10029,6 @@ class EnvironmentService {
10029
10029
  this.environment = env;
10030
10030
  return env;
10031
10031
  }
10032
- static SUB_AGENT_PROMPT_NAMES = new Set([
10033
- "json-extract",
10034
- "workflow-extract"
10035
- ]);
10036
10032
  registerCommandsPromptHook(promptComponent, commandsComponent) {
10037
10033
  globalHookManager.register("prompt.after-render", {
10038
10034
  name: "commands-prompt",
@@ -10040,8 +10036,9 @@ class EnvironmentService {
10040
10036
  const hookCtx = ctx.data;
10041
10037
  if (!hookCtx?.name || hookCtx.name === "anonymous")
10042
10038
  return;
10043
- if (EnvironmentService.SUB_AGENT_PROMPT_NAMES.has(hookCtx.name))
10039
+ if (hookCtx.agentType !== "primary") {
10044
10040
  return;
10041
+ }
10045
10042
  try {
10046
10043
  const metaList = await commandsComponent.getCommandsMeta();
10047
10044
  if (metaList.length === 0)
package/dist/index.js CHANGED
@@ -9486,7 +9486,7 @@ class CliQuietModeService {
9486
9486
  // package.json
9487
9487
  var package_default = {
9488
9488
  name: "@ai-setting/roy-agent-cli",
9489
- version: "1.7.48",
9489
+ version: "1.7.50",
9490
9490
  type: "module",
9491
9491
  description: "CLI for roy-agent - Non-interactive command execution",
9492
9492
  main: "./dist/index.js",
@@ -10028,10 +10028,6 @@ class EnvironmentService {
10028
10028
  this.environment = env;
10029
10029
  return env;
10030
10030
  }
10031
- static SUB_AGENT_PROMPT_NAMES = new Set([
10032
- "json-extract",
10033
- "workflow-extract"
10034
- ]);
10035
10031
  registerCommandsPromptHook(promptComponent, commandsComponent) {
10036
10032
  globalHookManager.register("prompt.after-render", {
10037
10033
  name: "commands-prompt",
@@ -10039,8 +10035,9 @@ class EnvironmentService {
10039
10035
  const hookCtx = ctx.data;
10040
10036
  if (!hookCtx?.name || hookCtx.name === "anonymous")
10041
10037
  return;
10042
- if (EnvironmentService.SUB_AGENT_PROMPT_NAMES.has(hookCtx.name))
10038
+ if (hookCtx.agentType !== "primary") {
10043
10039
  return;
10040
+ }
10044
10041
  try {
10045
10042
  const metaList = await commandsComponent.getCommandsMeta();
10046
10043
  if (metaList.length === 0)
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/roy-agent-linux-x64/bin/roy-agent
3
- size: 109693056 bytes
4
- sha256: 083095b91a250a5524e438ec38d49429e77bff51ad46fb0ba7ba785e9d8542b6
3
+ size: 109738112 bytes
4
+ sha256: 6f42d0a97bd8cdca9ab16f1ede8679d3bf22073a61bdab36b2a6a6ddf6a35e90
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-setting/roy-agent-cli",
3
- "version": "1.7.48",
3
+ "version": "1.7.50",
4
4
  "type": "module",
5
5
  "description": "CLI for roy-agent - Non-interactive command execution",
6
6
  "main": "./dist/index.js",