nexus-agents 11.2.2 → 11.3.1

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.
@@ -5,7 +5,7 @@ import {
5
5
  getCurrentRequestContext,
6
6
  runWithRequestContext,
7
7
  serverCallerInfo
8
- } from "./chunk-KEX53NTU.js";
8
+ } from "./chunk-VMU25QVH.js";
9
9
  import {
10
10
  DEFAULT_EXECUTION_MODE
11
11
  } from "./chunk-TYLE7Z2S.js";
@@ -2345,4 +2345,4 @@ export {
2345
2345
  DEFAULT_CONSENSUS_CONFIG,
2346
2346
  ConsensusMetricsSchema
2347
2347
  };
2348
- //# sourceMappingURL=chunk-MHXLLJ3F.js.map
2348
+ //# sourceMappingURL=chunk-3KA7JCK3.js.map
@@ -21,7 +21,7 @@ import {
21
21
  toolSuccess,
22
22
  withProgressHeartbeat,
23
23
  wrapToolWithTimeout
24
- } from "./chunk-MHXLLJ3F.js";
24
+ } from "./chunk-3KA7JCK3.js";
25
25
  import {
26
26
  getToolMemory
27
27
  } from "./chunk-PPH3CAMR.js";
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-EZNIYU5T.js";
31
31
  import {
32
32
  VERSION
33
- } from "./chunk-KEX53NTU.js";
33
+ } from "./chunk-VMU25QVH.js";
34
34
  import {
35
35
  ModelBoundAdapter,
36
36
  UNVERIFIABLE_STDERR_RE,
@@ -9915,4 +9915,4 @@ export {
9915
9915
  CONSENSUS_VOTE_TOOL_SCHEMA,
9916
9916
  registerConsensusVoteTool
9917
9917
  };
9918
- //# sourceMappingURL=chunk-BYUMXEEW.js.map
9918
+ //# sourceMappingURL=chunk-6P7CCAQH.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toSdkCallback,
8
8
  toolStructuredError,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-MHXLLJ3F.js";
10
+ } from "./chunk-3KA7JCK3.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2435,4 +2435,4 @@ export {
2435
2435
  runImprovementReview,
2436
2436
  registerImprovementReviewTool
2437
2437
  };
2438
- //# sourceMappingURL=chunk-CVNYJRYT.js.map
2438
+ //# sourceMappingURL=chunk-AKLRGCFR.js.map
@@ -58,7 +58,7 @@ import {
58
58
  updateStage,
59
59
  withFileLock,
60
60
  writeJobCancelled
61
- } from "./chunk-BYUMXEEW.js";
61
+ } from "./chunk-6P7CCAQH.js";
62
62
  import {
63
63
  normalizeTopicToCanonical,
64
64
  synthesizeResearch
@@ -77,7 +77,7 @@ import {
77
77
  } from "./chunk-HQ2SMW4Y.js";
78
78
  import {
79
79
  withPrerequisite
80
- } from "./chunk-CVNYJRYT.js";
80
+ } from "./chunk-AKLRGCFR.js";
81
81
  import {
82
82
  NOOP_NOTIFIER,
83
83
  RateLimiter,
@@ -105,7 +105,7 @@ import {
105
105
  toolSuccess,
106
106
  withProgressHeartbeat,
107
107
  wrapToolWithTimeout
108
- } from "./chunk-MHXLLJ3F.js";
108
+ } from "./chunk-3KA7JCK3.js";
109
109
  import {
110
110
  generateSecurityPlan
111
111
  } from "./chunk-6ZTMMN2N.js";
@@ -187,7 +187,7 @@ import {
187
187
  import {
188
188
  DEFAULT_TASK_TTL_MS,
189
189
  clampTaskTtl
190
- } from "./chunk-KEVCUXSC.js";
190
+ } from "./chunk-R3O4NJYH.js";
191
191
  import {
192
192
  allOf,
193
193
  anyOf
@@ -196,7 +196,7 @@ import {
196
196
  VERSION,
197
197
  createRequestContext,
198
198
  measuredTrustTier
199
- } from "./chunk-KEX53NTU.js";
199
+ } from "./chunk-VMU25QVH.js";
200
200
  import {
201
201
  BWRAP_READ_ONLY_ARGS,
202
202
  CliDetectionCache,
@@ -32723,6 +32723,7 @@ var OrchestrateInputSchema = z51.object({
32723
32723
  });
32724
32724
  var OrchestrateOutputSchema = z51.object({
32725
32725
  taskId: z51.string().describe("Unique execution ID"),
32726
+ executed: z51.boolean().optional().describe("False when the simple-task shortcut returned analysis only; no execution occurred"),
32726
32727
  analysis: z51.object({
32727
32728
  taskId: z51.string(),
32728
32729
  complexity: z51.number().min(1).max(10),
@@ -36308,6 +36309,7 @@ function startHeartbeatTracking(label, logger58) {
36308
36309
  function buildSimpleTaskResult(taskId, decision, durationMs) {
36309
36310
  return {
36310
36311
  taskId,
36312
+ executed: false,
36311
36313
  analysis: {
36312
36314
  taskId,
36313
36315
  complexity: Math.round(decision.analysis.complexityScore * 10) || 1,
@@ -36332,8 +36334,6 @@ function trySimpleTaskFastPath(ctx) {
36332
36334
  taskType: ctx.decision.analysis.taskType,
36333
36335
  durationMs
36334
36336
  });
36335
- recordOrchestrationSuccess(ctx.taskId, ctx.task, 0, durationMs);
36336
- recordRouterOutcome(ctx.workflowRouter, ctx.decision, true, durationMs);
36337
36337
  return ok(buildSimpleTaskResult(ctx.taskId, ctx.decision, durationMs));
36338
36338
  }
36339
36339
  function handleOrchestratorFailure(ctx) {
@@ -36383,9 +36383,7 @@ async function executeOrchestration(input, deps, opts = {}) {
36383
36383
  if (snapshot !== void 0) setRouting(snapshot, buildRoutingInfo(decision));
36384
36384
  const fastResult = trySimpleTaskFastPath({
36385
36385
  taskId,
36386
- task: input.task,
36387
36386
  decision,
36388
- workflowRouter,
36389
36387
  startTime,
36390
36388
  logger: logger58
36391
36389
  });
@@ -46684,7 +46682,7 @@ function buildVotingInput(plan, config) {
46684
46682
  }
46685
46683
  async function executeSingleVote(plan, config, log) {
46686
46684
  try {
46687
- const { executeVoting } = await import("./consensus-vote-MBL2LMPQ.js");
46685
+ const { executeVoting } = await import("./consensus-vote-KCT6UPVD.js");
46688
46686
  const input = buildVotingInput(plan, config);
46689
46687
  const result = await executeVoting(input, log);
46690
46688
  return parseVotingResult(result);
@@ -48517,7 +48515,7 @@ function createVoteStage({ config, startStage }) {
48517
48515
  const strategy = config.votingStrategy ?? "higher_order";
48518
48516
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
48519
48517
  try {
48520
- const { executeVoting } = await import("./consensus-vote-MBL2LMPQ.js");
48518
+ const { executeVoting } = await import("./consensus-vote-KCT6UPVD.js");
48521
48519
  const proposal = buildVoteProposal(plan, research);
48522
48520
  const votingResult = await executeVoting(
48523
48521
  {
@@ -58534,4 +58532,4 @@ export {
58534
58532
  initializeSandbox,
58535
58533
  getSandboxMode
58536
58534
  };
58537
- //# sourceMappingURL=chunk-UGHLWL65.js.map
58535
+ //# sourceMappingURL=chunk-FW7QME5N.js.map