@wrongstack/core 0.257.0 → 0.257.2
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/coordination/index.js +6 -5
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +1 -1
- package/dist/defaults/index.js +27 -9
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.d.ts +1 -1
- package/dist/execution/index.js +26 -9
- package/dist/execution/index.js.map +1 -1
- package/dist/{goal-preamble-UiEkbNmW.d.ts → goal-preamble-CznHTZqP.d.ts} +2 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +119 -10
- package/dist/index.js.map +1 -1
- package/dist/utils/index.d.ts +99 -1
- package/dist/utils/index.js +92 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -24,6 +24,8 @@ interface SkillLoaderOptions {
|
|
|
24
24
|
declare class DefaultSkillLoader implements SkillLoader {
|
|
25
25
|
private readonly dirs;
|
|
26
26
|
private cache?;
|
|
27
|
+
private entriesCache?;
|
|
28
|
+
private readonly bodyCache;
|
|
27
29
|
constructor(opts: SkillLoaderOptions);
|
|
28
30
|
list(): Promise<SkillManifest[]>;
|
|
29
31
|
find(name: string): Promise<SkillManifest | undefined>;
|
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ import { e as ToolRegistry, S as SystemPromptContributor, E as ExtensionRegistry
|
|
|
41
41
|
export { i as AfterIterationHook, j as AfterRunHook, k as AfterToolExecutionHook, l as AgentExtension, g as AgentInit, h as AgentInput, B as BeforeIterationHook, m as BeforeRunHook, n as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, H as HookRunEnv, o as HookRunner, p as HookRunnerOptions, O as OnErrorHook, q as PreToolUseResult, r as PromptResult, s as ProviderFactory, t as ProviderRunnerWrapper, R as RunResult, d as ToolWrapper, U as UserInputPayload, u as createDefaultPipelines } from './index-CitPrI3a.js';
|
|
42
42
|
export { AutonomyStage, DistributiveOmit, DistributivePick } from './types/index.js';
|
|
43
43
|
import { estimateMessageTokens } from './utils/index.js';
|
|
44
|
-
export { AtomicWriteOptions, BuildChildEnvOptions, CompileFail, CompileResult, DeepMergeOptions, FORBIDDEN_PROTO_KEYS, FileLockOptions, MessageRepairReport, MessageRepairResult, NewlineStyle, OutputLineGuard, RequestTokenBreakdown, SafeParseResult, ToolOutputSerializerOptions, UnifiedDiffOptions, ValidationError, ValidationResult, assertNever, atomicWrite, buildChildEnv, color, compileGlob, compileUserRegex, completePartialObject, computeMessageTokens, createToolOutputSerializer, deepMerge, detectNewlineStyle, ensureDir, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, expandGlob, formatTodosList, getCalibrationState, getTermSize, isInteractive, isPrimitiveArray, isStdinTTY, isStdoutTTY, matchAny, matchGlob, mergeCustomModelDefs, mergeModelsPayload, normalizeToLf, onResize, recordActualUsage, repairToolUseAdjacency, resetCalibration, safeParse, safeStringify, sanitizeJsonString, setOutputLineGuard, setRawMode, sleep, stripAnsi, toStyle, truncate, unifiedDiff, validateAgainstSchema, withFileLock, writeErr, writeOut } from './utils/index.js';
|
|
44
|
+
export { AtomicWriteOptions, BuildChildEnvOptions, CompileFail, CompileResult, DeepMergeOptions, FORBIDDEN_PROTO_KEYS, FileLockOptions, HttpDispatcher, HttpsAgentAsDispatcher, MessageRepairReport, MessageRepairResult, NewlineStyle, OutputLineGuard, RequestTokenBreakdown, SafeParseResult, ToolOutputSerializerOptions, UnifiedDiffOptions, ValidationError, ValidationResult, assertNever, assertNotPrivateHost, atomicWrite, buildChildEnv, color, compileGlob, compileUserRegex, completePartialObject, computeMessageTokens, createToolOutputSerializer, deepMerge, detectNewlineStyle, ensureDir, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, expandGlob, expandIPv6, formatTodosList, getCalibrationState, getTermSize, isInteractive, isPrimitiveArray, isPrivateIPv4, isPrivateIPv6, isStdinTTY, isStdoutTTY, matchAny, matchGlob, mergeCustomModelDefs, mergeModelsPayload, normalizeToLf, onResize, recordActualUsage, repairToolUseAdjacency, resetCalibration, safeParse, safeStringify, sanitizeJsonString, setOutputLineGuard, setRawMode, sleep, stripAnsi, toStyle, truncate, unifiedDiff, validateAgainstSchema, withFileLock, writeErr, writeOut } from './utils/index.js';
|
|
45
45
|
export { T as TaskItem, c as computeTaskItemProgress, f as formatTaskList, a as formatTaskProgress } from './task-format-vGOIftmK.js';
|
|
46
46
|
import { W as WstackPaths } from './wstack-paths-CJjEwPXn.js';
|
|
47
47
|
export { a as WstackPathOptions, p as projectHash, b as projectSlug, r as resolveWstackPaths, w as wstackGlobalRoot } from './wstack-paths-CJjEwPXn.js';
|
|
@@ -50,7 +50,7 @@ export { A as AbandonedSession, a as AttachmentStoreOptions, C as ConfigLoaderOp
|
|
|
50
50
|
export { A as AuditLevel, C as CORE_RECONSTRUCT_EVENTS, a as STANDARD_AUDIT_EVENTS, S as SessionEventBridge, b as SessionEventBridgeOptions, c as SessionSamplingOptions, T as ToolProgressSamplingOptions, d as createSessionEventBridge, r as resolveAuditLevel, e as resolveSessionLoggingConfig } from './session-event-bridge-BAFWdgQ3.js';
|
|
51
51
|
export { a as DirectorStateCheckpoint, D as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from './director-state-BfeCUbmk.js';
|
|
52
52
|
export { A as AutoApprovePermissionPolicy, D as DefaultPermissionPolicy, P as PermissionPolicyOptions } from './permission-policy-B8rSu908.js';
|
|
53
|
-
export { A as AutoCompactionMiddleware, a as AutonomousRunner, b as AutonomousRunnerOptions, c as AutonomyPromptContributorOptions, C as CompactorStrategy, D as DefaultSkillLoader, d as DoneCheckResult, e as DoneConditionChecker, I as IntelligentCompactor, f as IntelligentCompactorOptions, S as SelectiveCompactor, g as SelectiveCompactorOptions, h as SkillLoaderOptions, i as StrategyCompactorOptions, j as buildGoalPreamble, k as createStrategyCompactor, m as makeAutonomyPromptContributor } from './goal-preamble-
|
|
53
|
+
export { A as AutoCompactionMiddleware, a as AutonomousRunner, b as AutonomousRunnerOptions, c as AutonomyPromptContributorOptions, C as CompactorStrategy, D as DefaultSkillLoader, d as DoneCheckResult, e as DoneConditionChecker, I as IntelligentCompactor, f as IntelligentCompactorOptions, S as SelectiveCompactor, g as SelectiveCompactorOptions, h as SkillLoaderOptions, i as StrategyCompactorOptions, j as buildGoalPreamble, k as createStrategyCompactor, m as makeAutonomyPromptContributor } from './goal-preamble-CznHTZqP.js';
|
|
54
54
|
export { DefaultProviderRunner } from './defaults/index.js';
|
|
55
55
|
export { A as ACP_AGENTS, a as AGENTS_BY_PHASE, b as AGENT_CATALOG, c as ALL_AGENT_DEFINITIONS, d as ALL_FLEET_AGENTS, e as AUDIT_LOG_AGENT, f as AutoExtendCeiling, g as AutoExtendPolicy, B as BUG_HUNTER_AGENT, n as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, q as DEFAULT_SUBAGENT_BASELINE, r as DelegateHost, s as Director, w as DirectorPromptParts, x as DirectorSessionFactory, y as DirectorSessionFactoryOptions, F as FLEET_ROSTER, z as FLEET_ROSTER_BUDGETS, E as FLEET_ROSTER_WITHACP, G as FleetCostCapError, H as FleetManager, I as FleetManagerOptions, J as FleetRosterBudget, K as FleetSpawnBudgetError, L as ICoordinator, M as IFleetManager, O as NULL_FLEET_BUS, R as REFACTOR_PLANNER_AGENT, S as SECURITY_SCANNER_AGENT, V as SubagentPromptParts, W as applyRosterBudget, X as attachAutoExtend, Y as composeDirectorPrompt, Z as composeSubagentPrompt, _ as createDelegateTool, $ as getAgentDefinition, a1 as makeAskTool, a2 as makeAssignTool, a3 as makeAwaitTasksTool, a4 as makeCollabDebugTool, a5 as makeDirectorSessionFactory, a6 as makeFleetEmitTool, a7 as makeFleetHealthTool, a8 as makeFleetSessionTool, a9 as makeFleetStatusTool, aa as makeFleetUsageTool, ab as makeRollUpTool, ac as makeSpawnTool, ad as makeTerminateTool, af as rosterSummaryFromConfigs } from './null-fleet-bus-B5mfTJXT.js';
|
|
56
56
|
export { b as AgentBudgetTier, c as AgentCapability, A as AgentDefinition, d as AgentPhase, e as DEFAULT_DISPATCH_ROLE, a as DefaultMultiAgentCoordinator, f as DispatchCandidate, D as DispatchClassifier, g as DispatchMethod, h as DispatchOptions, i as DispatchResult, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from './multi-agent-coordinator-DqTUEAeC.js';
|
|
@@ -71,6 +71,8 @@ export { ConversationTurn, ENHANCER_SYSTEM_PROMPT, EnhanceResult, EnhanceUserPro
|
|
|
71
71
|
export { B as BrainInterventionInput, a as BrainMonitor, b as BrainMonitorOptions, D as DEPENDENCY_FILE_PATTERNS, c as DefaultMailbox, d as DepWatchEntry, e as DepWatcherBridgeOptions, f as DependencyWatcherConfig, G as GlobalMailbox, M as MailToolsOptions, g as MailboxResolver, h as MailboxToolOptions, O as OutdatedNotifyMessage, P as PackageAuthorEntry, i as PackageAuthorLog, j as PackageAuthorTrackerOptions, k as PackageOutdatedEntry, l as PackageOutdatedResult, m as PackageOutdatedWatcherOptions, n as attachDepWatcherBridge, o as detectPackageEcosystem, p as getFullPackageLog, q as getManifestPackages, r as getPackageAuthor, s as getPackagesByAgent, t as mailboxSessionTag, u as makeDependencyWatcherConfig, v as makeMailInboxTool, w as makeMailSendTool, x as makeMailboxTool, y as recordPackageAction, z as resolveMailboxIdentity, A as resolveProjectDir, C as startPackageOutdatedWatcher, E as updatePackageOutdatedStatus } from './package-outdated-watcher-BSgR_kK-.js';
|
|
72
72
|
export { AutonomyBrainOptions, BrainAutoRisk, TieredBrainArbiterOptions, createAutonomyBrain, createTieredBrainArbiter, formatDecisionSummary } from './execution/index.js';
|
|
73
73
|
import './path-resolver-CPRj4bFY.js';
|
|
74
|
+
import 'node:https';
|
|
75
|
+
import 'undici';
|
|
74
76
|
import './selector-DWsqVjGf.js';
|
|
75
77
|
import 'node:events';
|
|
76
78
|
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,8 @@ import { join, extname, relative, isAbsolute, resolve, sep } from 'path';
|
|
|
7
7
|
import * as fs2 from 'fs';
|
|
8
8
|
import * as os6 from 'os';
|
|
9
9
|
import { hostname } from 'os';
|
|
10
|
+
import * as dns from 'dns/promises';
|
|
11
|
+
import * as net from 'net';
|
|
10
12
|
import { execFile, spawn } from 'child_process';
|
|
11
13
|
import { promisify } from 'util';
|
|
12
14
|
import { EventEmitter } from 'events';
|
|
@@ -6374,6 +6376,95 @@ function mergeCustomModelDefs(providerCustomModels, configModels) {
|
|
|
6374
6376
|
if (Object.keys(out).length === 0) return void 0;
|
|
6375
6377
|
return out;
|
|
6376
6378
|
}
|
|
6379
|
+
function isPrivateIPv4(addr) {
|
|
6380
|
+
const parts = addr.split(".").map((p) => Number.parseInt(p, 10));
|
|
6381
|
+
if (parts.length !== 4 || parts.some((n) => Number.isNaN(n) || n < 0 || n > 255)) {
|
|
6382
|
+
return true;
|
|
6383
|
+
}
|
|
6384
|
+
const [a, b, c] = parts;
|
|
6385
|
+
if (a === 0) return true;
|
|
6386
|
+
if (a === 10) return true;
|
|
6387
|
+
if (a === 127) return true;
|
|
6388
|
+
if (a === 169 && b === 254) return true;
|
|
6389
|
+
if (a === 172 && b >= 16 && b <= 31) return true;
|
|
6390
|
+
if (a === 192 && b === 168) return true;
|
|
6391
|
+
if (a === 192 && b === 0 && c === 0) return true;
|
|
6392
|
+
if (a === 100 && b >= 64 && b <= 127) return true;
|
|
6393
|
+
if (a >= 224) return true;
|
|
6394
|
+
return false;
|
|
6395
|
+
}
|
|
6396
|
+
function isPrivateIPv6(raw) {
|
|
6397
|
+
const lower = raw.toLowerCase();
|
|
6398
|
+
if (lower === "::" || lower === "::1") return true;
|
|
6399
|
+
const groups = expandIPv6(lower);
|
|
6400
|
+
if (!groups) return true;
|
|
6401
|
+
if (groups[0] === 0 && groups[1] === 0 && groups[2] === 0 && groups[3] === 0 && groups[4] === 0 && groups[5] === 65535) {
|
|
6402
|
+
const a = (groups[6] ?? 0) >> 8;
|
|
6403
|
+
const b = (groups[6] ?? 0) & 255;
|
|
6404
|
+
const c = (groups[7] ?? 0) >> 8;
|
|
6405
|
+
const d = (groups[7] ?? 0) & 255;
|
|
6406
|
+
return isPrivateIPv4(`${a}.${b}.${c}.${d}`);
|
|
6407
|
+
}
|
|
6408
|
+
const high = groups[0] ?? 0;
|
|
6409
|
+
if ((high & 65024) === 64512) return true;
|
|
6410
|
+
if ((high & 65472) === 65152) return true;
|
|
6411
|
+
if ((high & 65280) === 65280) return true;
|
|
6412
|
+
return false;
|
|
6413
|
+
}
|
|
6414
|
+
function expandIPv6(addr) {
|
|
6415
|
+
const parts = addr.split("::");
|
|
6416
|
+
if (parts.length > 2) return null;
|
|
6417
|
+
const parseGroups = (s) => {
|
|
6418
|
+
if (s === "") return [];
|
|
6419
|
+
const out = [];
|
|
6420
|
+
for (const g of s.split(":")) {
|
|
6421
|
+
if (g.length === 0 || g.length > 4) return null;
|
|
6422
|
+
const n = Number.parseInt(g, 16);
|
|
6423
|
+
if (Number.isNaN(n) || n < 0 || n > 65535) return null;
|
|
6424
|
+
out.push(n);
|
|
6425
|
+
}
|
|
6426
|
+
return out;
|
|
6427
|
+
};
|
|
6428
|
+
if (parts.length === 1) {
|
|
6429
|
+
const groups = parseGroups(parts[0] ?? "");
|
|
6430
|
+
if (!groups || groups.length !== 8) return null;
|
|
6431
|
+
return groups;
|
|
6432
|
+
}
|
|
6433
|
+
const head = parseGroups(parts[0] ?? "");
|
|
6434
|
+
const tail = parseGroups(parts[1] ?? "");
|
|
6435
|
+
if (!head || !tail) return null;
|
|
6436
|
+
const fill = 8 - head.length - tail.length;
|
|
6437
|
+
if (fill < 0) return null;
|
|
6438
|
+
return [...head, ...new Array(fill).fill(0), ...tail];
|
|
6439
|
+
}
|
|
6440
|
+
async function assertNotPrivateHost(hostname3) {
|
|
6441
|
+
const host = hostname3.startsWith("[") && hostname3.endsWith("]") ? hostname3.slice(1, -1) : hostname3;
|
|
6442
|
+
if (host === "localhost" || host.endsWith(".localhost")) {
|
|
6443
|
+
throw new Error("fetch: blocked localhost target");
|
|
6444
|
+
}
|
|
6445
|
+
const ipVersion = net.isIP(host);
|
|
6446
|
+
if (ipVersion === 4) {
|
|
6447
|
+
if (isPrivateIPv4(host)) {
|
|
6448
|
+
throw new Error(`fetch: blocked private/loopback address "${host}"`);
|
|
6449
|
+
}
|
|
6450
|
+
} else if (ipVersion === 6) {
|
|
6451
|
+
if (isPrivateIPv6(host)) {
|
|
6452
|
+
throw new Error(`fetch: blocked private/loopback address "${host}"`);
|
|
6453
|
+
}
|
|
6454
|
+
} else {
|
|
6455
|
+
try {
|
|
6456
|
+
const records = await dns.lookup(host, { all: true });
|
|
6457
|
+
for (const r of records) {
|
|
6458
|
+
const bad = r.family === 4 ? isPrivateIPv4(r.address) : isPrivateIPv6(r.address);
|
|
6459
|
+
if (bad) {
|
|
6460
|
+
throw new Error(`fetch: resolved to private address ${r.address}`);
|
|
6461
|
+
}
|
|
6462
|
+
}
|
|
6463
|
+
} catch (err) {
|
|
6464
|
+
if (err instanceof Error && err.message.startsWith("fetch:")) throw err;
|
|
6465
|
+
}
|
|
6466
|
+
}
|
|
6467
|
+
}
|
|
6377
6468
|
|
|
6378
6469
|
// src/storage/session-store.ts
|
|
6379
6470
|
init_atomic_write();
|
|
@@ -9840,6 +9931,8 @@ function compactSkillBody(body) {
|
|
|
9840
9931
|
var DefaultSkillLoader = class {
|
|
9841
9932
|
dirs;
|
|
9842
9933
|
cache;
|
|
9934
|
+
entriesCache;
|
|
9935
|
+
bodyCache = /* @__PURE__ */ new Map();
|
|
9843
9936
|
constructor(opts) {
|
|
9844
9937
|
this.dirs = [
|
|
9845
9938
|
{ dir: opts.paths.inProjectSkills, source: "project" },
|
|
@@ -9898,6 +9991,7 @@ var DefaultSkillLoader = class {
|
|
|
9898
9991
|
return lines.join("\n");
|
|
9899
9992
|
}
|
|
9900
9993
|
async listEntries() {
|
|
9994
|
+
if (this.entriesCache) return this.entriesCache;
|
|
9901
9995
|
const skills = await this.list();
|
|
9902
9996
|
const entries = [];
|
|
9903
9997
|
for (const s of skills) {
|
|
@@ -9908,33 +10002,47 @@ var DefaultSkillLoader = class {
|
|
|
9908
10002
|
} catch {
|
|
9909
10003
|
}
|
|
9910
10004
|
}
|
|
10005
|
+
this.entriesCache = entries;
|
|
9911
10006
|
return entries;
|
|
9912
10007
|
}
|
|
9913
10008
|
invalidateCache() {
|
|
9914
10009
|
this.cache = void 0;
|
|
10010
|
+
this.entriesCache = void 0;
|
|
10011
|
+
this.bodyCache.clear();
|
|
9915
10012
|
}
|
|
9916
10013
|
async readBody(name) {
|
|
10014
|
+
const cached = this.bodyCache.get(name);
|
|
10015
|
+
if (cached !== void 0) return cached;
|
|
9917
10016
|
const m = await this.find(name);
|
|
9918
10017
|
if (!m) throw new Error(`Skill "${name}" not found`);
|
|
9919
|
-
|
|
10018
|
+
const body = await fsp3.readFile(m.path, "utf8");
|
|
10019
|
+
this.bodyCache.set(name, body);
|
|
10020
|
+
return body;
|
|
9920
10021
|
}
|
|
9921
10022
|
async readSaveBody(name) {
|
|
10023
|
+
const key = `save:${name}`;
|
|
10024
|
+
const cached = this.bodyCache.get(key);
|
|
10025
|
+
if (cached !== void 0) return cached;
|
|
9922
10026
|
const m = await this.find(name);
|
|
9923
10027
|
if (!m) throw new Error(`Skill "${name}" not found`);
|
|
9924
10028
|
const savePath = path7.join(path7.dirname(m.path), "SKILL.save.md");
|
|
10029
|
+
let result;
|
|
9925
10030
|
try {
|
|
9926
|
-
|
|
10031
|
+
result = await fsp3.readFile(savePath, "utf8");
|
|
9927
10032
|
} catch {
|
|
9928
10033
|
const full = await fsp3.readFile(m.path, "utf8");
|
|
9929
10034
|
const body = stripFrontmatter(full);
|
|
9930
10035
|
const compact = compactSkillBody(body);
|
|
9931
10036
|
if (compact) {
|
|
9932
|
-
|
|
10037
|
+
result = `## Overview
|
|
9933
10038
|
|
|
9934
10039
|
${compact}`;
|
|
10040
|
+
} else {
|
|
10041
|
+
result = body.trim().slice(0, 300);
|
|
9935
10042
|
}
|
|
9936
|
-
return body.trim().slice(0, 300);
|
|
9937
10043
|
}
|
|
10044
|
+
this.bodyCache.set(key, result);
|
|
10045
|
+
return result;
|
|
9938
10046
|
}
|
|
9939
10047
|
};
|
|
9940
10048
|
function parseFrontmatter(raw) {
|
|
@@ -15546,17 +15654,17 @@ function normalize2(text) {
|
|
|
15546
15654
|
return ` ${text.toLowerCase().replace(/[^a-z0-9]+/g, " ").trim()} `;
|
|
15547
15655
|
}
|
|
15548
15656
|
function scoreAgents(task, catalog = AGENT_CATALOG) {
|
|
15549
|
-
const
|
|
15657
|
+
const haySet = new Set(normalize2(task).split(/\s+/).filter(Boolean));
|
|
15550
15658
|
const out = [];
|
|
15551
15659
|
for (const def of Object.values(catalog)) {
|
|
15552
15660
|
if (!def?.config?.role) continue;
|
|
15553
15661
|
let score = 0;
|
|
15554
15662
|
const matched = [];
|
|
15555
15663
|
for (const kw of def.capability.keywords) {
|
|
15556
|
-
const
|
|
15557
|
-
|
|
15558
|
-
|
|
15559
|
-
score +=
|
|
15664
|
+
const needleWords = normalize2(kw).split(/\s+/).filter(Boolean);
|
|
15665
|
+
const allPresent = needleWords.every((w) => haySet.has(w));
|
|
15666
|
+
if (allPresent) {
|
|
15667
|
+
score += needleWords.length;
|
|
15560
15668
|
matched.push(kw);
|
|
15561
15669
|
}
|
|
15562
15670
|
}
|
|
@@ -17967,6 +18075,7 @@ Emit each evaluation immediately. Do not wait until you have read all reports.`;
|
|
|
17967
18075
|
}
|
|
17968
18076
|
for (const dispose of this.disposers) dispose();
|
|
17969
18077
|
this.disposers.length = 0;
|
|
18078
|
+
this.snapshot.files.length = 0;
|
|
17970
18079
|
}
|
|
17971
18080
|
};
|
|
17972
18081
|
|
|
@@ -38351,6 +38460,6 @@ function createChimeraPlugin() {
|
|
|
38351
38460
|
};
|
|
38352
38461
|
}
|
|
38353
38462
|
|
|
38354
|
-
export { ACP_AGENTS, AGENTS_BY_PHASE, AGENT_CATALOG, AISpecBuilder, ALL_AGENT_DEFINITIONS, ALL_FLEET_AGENTS, ALL_SYNC_CATEGORIES, AUDIT_LOG_AGENT, Agent, AgentError, AgentStatusTracker, AnnotationsStore, AutoApprovePermissionPolicy, AutoCompactionMiddleware, AutoExecutor, AutoPhasePlanner, AutoPhaseRunner, AutonomousRunner, BUG_HUNTER_AGENT, BrainDecisionQueue, BrainMonitor, BudgetExceededError, CHIMERA_REVIEW_PROMPT, CONTEXT_WINDOW_MODES, CORE_RECONSTRUCT_EVENTS, CheckpointManager, CloudSync, CollaborationBus, ConfigError, ConfigMigrationError, Container, Context, ConversationState, DEFAULT_AUTONOMY_CONFIG, DEFAULT_CONFIG_MIGRATIONS, DEFAULT_CONTEXT_CONFIG, DEFAULT_CONTEXT_WINDOW_MODE_ID, DEFAULT_DIRECTOR_PREAMBLE, DEFAULT_DISPATCH_ROLE, DEFAULT_MAX_ITERATIONS, DEFAULT_MODES, DEFAULT_RECOVERY_STRATEGIES, DEFAULT_SESSION_LOGGING_CONFIG, DEFAULT_SESSION_PRUNE_DAYS, DEFAULT_SPEC_TEMPLATE, DEFAULT_SUBAGENT_BASELINE, DEFAULT_TOOLS_CONFIG, DEPENDENCY_FILE_PATTERNS, DefaultAttachmentStore, DefaultBrainArbiter, DefaultConfigLoader, DefaultConfigStore, DefaultErrorHandler, DefaultHealthRegistry, DefaultLogger, DefaultMailbox, DefaultMemoryStore, DefaultModeStore, DefaultModelsRegistry, DefaultMultiAgentCoordinator, DefaultPathResolver, DefaultPermissionPolicy, DefaultPluginAPI, DefaultPromptStore, DefaultProviderRunner, DefaultRetryPolicy, DefaultSecretScrubber, DefaultSecretVault, DefaultSessionReader, DefaultSessionRewinder, DefaultSessionStore, DefaultSkillLoader, DefaultSystemPromptBuilder, DefaultTaskStore, DefaultTokenCounter, Director, DirectorStateCheckpoint, DoneConditionChecker, ENHANCER_SYSTEM_PROMPT, ERROR_CODES, EternalAutonomyEngine, EventBus, ExtensionRegistry, FLEET_ROSTER, FLEET_ROSTER_BUDGETS, FLEET_ROSTER_WITHACP, FORBIDDEN_PROTO_KEYS, FileMemoryBackend, FleetBus, FleetCostCapError, FleetManager, FleetSpawnBudgetError, FleetUsageAggregator, FsError, GitignoreUpdater, GlobalMailbox, GraphMemoryBackend, HookRegistry, HookRunner, HumanEscalatingBrainArbiter, HybridCompactor, InMemoryAgentBridge, InMemoryBridgeTransport, InMemoryMetricsSink, InputBuilder, IntelligentCompactor, KERNEL_API_VERSION, LAYER_1_IDENTITY, LLMSelector, MATRIX_PHASE_KEYS, MAX_JOURNAL_ENTRIES, MAX_PROGRESS_HISTORY, MEMORY_TYPE_LABELS, NULL_FLEET_BUS, NoopMetricsSink, NoopTracer, OTelTracer, ObservableBrainArbiter, PROMETHEUS_CONTENT_TYPE, ParallelEternalEngine, PhaseGraphBuilder, PhaseOrchestrator, PhaseStore, Pipeline, PluginError, ProviderError, ProviderRegistry, QueueStore, REFACTOR_PLANNER_AGENT, RecoveryLock, ReplayLogStore, ReplayProviderRunner, ReportGenerator, RunController, SECURITY_SCANNER_AGENT, SPEC_TEMPLATES, STANDARD_AUDIT_EVENTS, ScopedEventBus, SddError, SddParallelRun, SddTaskDecomposer, SecurityScanner, SecurityScannerOrchestrator, SelectiveCompactor, SessionAnalyzer, SessionError, SessionMemoryConsolidator, SessionRecovery, SessionRegistry, SkillGenerator, SkillInstaller, SkillManifestStore, SlashCommandRegistry, SpecDrivenDev, SpecParser, SpecStore, SpecVersioning, StreamHangError, SubagentBudget, TOKENS, TaskFlow, TaskGenerator, TaskGraphStore, TaskTracker, TechStackDetector, ToolAuditLog, ToolError, ToolExecutor, ToolRegistry, WorktreeManager, WrongStackError, addPlanItem, allServers, analyzeCriticalPath, appendJournal, applyRosterBudget, asBlocks, asText, assertNever, assertSafePath, atomicWrite, attachAutoExtend, attachDepWatcherBridge, attachMailboxChecker, attachPlanCheckpoint, attachTodosCheckpoint, awsServer, blockServer, bootConfig, braveSearchServer, buildBtwBlock, buildChildEnv, buildGoalPreamble, buildLosslessDigest, buildMailboxBlock, buildOtlpMetricsRequest, buildOtlpTracesRequest, buildQueuedMessagesBlock, buildRecoveryStrategies, buildSmartDigest, classifyFamily, clearPlan, collabInjectMiddleware, collabPauseMiddleware, color, compactLog, compileGlob, compileUserRegex, completePartialObject, composeDirectorPrompt, composeSubagentPrompt, computeMessageTokens, computeTaskItemProgress, computeTaskProgress, consumeBtwNotes, consumeQueuedMessagesUpdate, context7Server, contextManagerTool, createAutoExecutor, createAutoPhaseFromTaskGraph, createAutonomyBrain, createChimeraPlugin, createContextManagerTool, createDefaultPipelines, createDelegateTool, createGitPlugin, createMailboxChecker, createMcpControlTool, createMcpUseTool, createMessage, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSessionEventBridge, createSkillsPlugin, createStrategyCompactor, createSyncPlugin, createTieredBrainArbiter, createToolOutputSerializer, decryptConfigSecrets, deepMerge, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, deriveTodosFromPlanItem, detectNewlineStyle, detectEcosystem as detectPackageEcosystem, dispatchAgent, downloadGitHubTarball, eliseOldToolResults, emptyGoal, emptyPlan, emptyTaskFile, encryptConfigSecrets, enhanceUserPrompt, ensureDir, estimateMessageTokens, estimateMessages, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, everArtServer, expandGlob, expectDefined, extractRunEnv, extractText, filesystemServer, findCriticalPath, findPreserveStart, flagsToConfigPatch, formatContextWindowModeList, formatDecisionSummary, formatGoal, formatHumanPrompt, formatPlan, formatPlanTemplates, formatTaskList, formatTaskProgress, formatTodosList, getAgentDefinition, getCalibrationState, getContextWindowMode, getFileHistory, getFilesByAgent, getFullLog, getFullPackageLog, getLastAuthor, getManifestPackages, getPackageAuthor, getPackagesByAgent, getPlanTemplate, getSessionRegistry, getTemplate, getTermSize, githubServer, goalFilePath, googleMapsServer, hasSessionRegistry, hasTextContent, hashRequest, hookMatcherMatches, injectPendingMailboxMessages, isAgentError, isConfigError, isContextWindowModeId, isFsError, isImageBlock, isInteractive, isPluginError, isPrimitiveArray, isSddError, isSecretField, isSessionError, isStdinTTY, isStdoutTTY, isTextBlock, isThinkingBlock, isToolError, isToolResultBlock, isToolUseBlock, isValidMatrixKey, isWrongStackError, listContextWindowModes, listPlanTemplates, listTemplates, loadDirectorState, loadGoal, loadPlan, loadPlugins, loadProjectModes, loadTasks, loadTodosCheckpoint, loadUserModes, mailboxSessionTag, makeAgentSubagentRunner, makeAskTool, makeAssignTool, makeAutonomyPromptContributor, makeAwaitTasksTool, makeCollabDebugTool, makeContinueToNextIterationTool, makeDependencyWatcherConfig, makeDirectorSessionFactory, makeFleetEmitTool, makeFleetHealthTool, makeFleetSessionTool, makeFleetStatusTool, makeFleetUsageTool, makeLLMClassifier, makeMailInboxTool, makeMailSendTool, makeMailboxTool, makeRollUpTool, makeSpawnTool, makeTerminateTool, matchAny, matchGlob, matrixKeyKind, mergeCustomModelDefs, mergeModelsPayload, migratePlaintextSecrets, miniMaxVisionServer, mutatePlan, mutateTasks, noOpLogger, noOpVault, normalizeRecipient, normalizeToLf, normalizedEqual, onResize, parseContinueDirective, parseEntries, parseProgressFromText, parseSkillRef, peekQueuedMessages, pendingBtwCount, phaseForRole, projectHash, projectSlug, recentTextTurns, recordActualUsage, recordFileAction, recordPackageAction, recordProgress, removePlanItem, renderProgress, renderPrometheus, renderSpecAnalysis, renderTaskGraph, renderTaskList, repairToolUseAdjacency, resetCalibration, resolveAuditLevel, resolveChimeraConfig, resolveContextWindowPolicy, resolveMailboxIdentity, resolveModelMatrix, resolveProjectDir, resolveSessionLoggingConfig, resolveWstackPaths, rewriteConfigEncrypted, rosterSummaryFromConfigs, runConfigMigrations, runProviderWithRetry, runShellHook, safeParse, safeStringify, sanitizeJsonString, saveGoal, savePlan, saveTasks, saveTodosCheckpoint, scoreAgents, scoreMessage, securitySlashCommand, sentinelServer, setBtwNote, setOutputLineGuard, setPlanItemStatus, setProgress, setQueuedMessagesSnapshot, setRawMode, shouldEnhance, slackServer, sleep, stableStringify, startMetricsServer, startOtlpMetricsExporter, startOtlpTraceExporter, startPackageOutdatedWatcher, startTechStackConsumer, stripAnsi, summarizeUsage, templateToMarkdown, toStyle, toWrongStackError, topologicalSort, truncate, unifiedDiff, unloadPlugins, updatePackageOutdatedStatus, validateAgainstSchema, wireMetricsToEvents, withFileLock, wrapAsState, writeErr, writeOut, wstackGlobalRoot, zaiVisionServer };
|
|
38463
|
+
export { ACP_AGENTS, AGENTS_BY_PHASE, AGENT_CATALOG, AISpecBuilder, ALL_AGENT_DEFINITIONS, ALL_FLEET_AGENTS, ALL_SYNC_CATEGORIES, AUDIT_LOG_AGENT, Agent, AgentError, AgentStatusTracker, AnnotationsStore, AutoApprovePermissionPolicy, AutoCompactionMiddleware, AutoExecutor, AutoPhasePlanner, AutoPhaseRunner, AutonomousRunner, BUG_HUNTER_AGENT, BrainDecisionQueue, BrainMonitor, BudgetExceededError, CHIMERA_REVIEW_PROMPT, CONTEXT_WINDOW_MODES, CORE_RECONSTRUCT_EVENTS, CheckpointManager, CloudSync, CollaborationBus, ConfigError, ConfigMigrationError, Container, Context, ConversationState, DEFAULT_AUTONOMY_CONFIG, DEFAULT_CONFIG_MIGRATIONS, DEFAULT_CONTEXT_CONFIG, DEFAULT_CONTEXT_WINDOW_MODE_ID, DEFAULT_DIRECTOR_PREAMBLE, DEFAULT_DISPATCH_ROLE, DEFAULT_MAX_ITERATIONS, DEFAULT_MODES, DEFAULT_RECOVERY_STRATEGIES, DEFAULT_SESSION_LOGGING_CONFIG, DEFAULT_SESSION_PRUNE_DAYS, DEFAULT_SPEC_TEMPLATE, DEFAULT_SUBAGENT_BASELINE, DEFAULT_TOOLS_CONFIG, DEPENDENCY_FILE_PATTERNS, DefaultAttachmentStore, DefaultBrainArbiter, DefaultConfigLoader, DefaultConfigStore, DefaultErrorHandler, DefaultHealthRegistry, DefaultLogger, DefaultMailbox, DefaultMemoryStore, DefaultModeStore, DefaultModelsRegistry, DefaultMultiAgentCoordinator, DefaultPathResolver, DefaultPermissionPolicy, DefaultPluginAPI, DefaultPromptStore, DefaultProviderRunner, DefaultRetryPolicy, DefaultSecretScrubber, DefaultSecretVault, DefaultSessionReader, DefaultSessionRewinder, DefaultSessionStore, DefaultSkillLoader, DefaultSystemPromptBuilder, DefaultTaskStore, DefaultTokenCounter, Director, DirectorStateCheckpoint, DoneConditionChecker, ENHANCER_SYSTEM_PROMPT, ERROR_CODES, EternalAutonomyEngine, EventBus, ExtensionRegistry, FLEET_ROSTER, FLEET_ROSTER_BUDGETS, FLEET_ROSTER_WITHACP, FORBIDDEN_PROTO_KEYS, FileMemoryBackend, FleetBus, FleetCostCapError, FleetManager, FleetSpawnBudgetError, FleetUsageAggregator, FsError, GitignoreUpdater, GlobalMailbox, GraphMemoryBackend, HookRegistry, HookRunner, HumanEscalatingBrainArbiter, HybridCompactor, InMemoryAgentBridge, InMemoryBridgeTransport, InMemoryMetricsSink, InputBuilder, IntelligentCompactor, KERNEL_API_VERSION, LAYER_1_IDENTITY, LLMSelector, MATRIX_PHASE_KEYS, MAX_JOURNAL_ENTRIES, MAX_PROGRESS_HISTORY, MEMORY_TYPE_LABELS, NULL_FLEET_BUS, NoopMetricsSink, NoopTracer, OTelTracer, ObservableBrainArbiter, PROMETHEUS_CONTENT_TYPE, ParallelEternalEngine, PhaseGraphBuilder, PhaseOrchestrator, PhaseStore, Pipeline, PluginError, ProviderError, ProviderRegistry, QueueStore, REFACTOR_PLANNER_AGENT, RecoveryLock, ReplayLogStore, ReplayProviderRunner, ReportGenerator, RunController, SECURITY_SCANNER_AGENT, SPEC_TEMPLATES, STANDARD_AUDIT_EVENTS, ScopedEventBus, SddError, SddParallelRun, SddTaskDecomposer, SecurityScanner, SecurityScannerOrchestrator, SelectiveCompactor, SessionAnalyzer, SessionError, SessionMemoryConsolidator, SessionRecovery, SessionRegistry, SkillGenerator, SkillInstaller, SkillManifestStore, SlashCommandRegistry, SpecDrivenDev, SpecParser, SpecStore, SpecVersioning, StreamHangError, SubagentBudget, TOKENS, TaskFlow, TaskGenerator, TaskGraphStore, TaskTracker, TechStackDetector, ToolAuditLog, ToolError, ToolExecutor, ToolRegistry, WorktreeManager, WrongStackError, addPlanItem, allServers, analyzeCriticalPath, appendJournal, applyRosterBudget, asBlocks, asText, assertNever, assertNotPrivateHost, assertSafePath, atomicWrite, attachAutoExtend, attachDepWatcherBridge, attachMailboxChecker, attachPlanCheckpoint, attachTodosCheckpoint, awsServer, blockServer, bootConfig, braveSearchServer, buildBtwBlock, buildChildEnv, buildGoalPreamble, buildLosslessDigest, buildMailboxBlock, buildOtlpMetricsRequest, buildOtlpTracesRequest, buildQueuedMessagesBlock, buildRecoveryStrategies, buildSmartDigest, classifyFamily, clearPlan, collabInjectMiddleware, collabPauseMiddleware, color, compactLog, compileGlob, compileUserRegex, completePartialObject, composeDirectorPrompt, composeSubagentPrompt, computeMessageTokens, computeTaskItemProgress, computeTaskProgress, consumeBtwNotes, consumeQueuedMessagesUpdate, context7Server, contextManagerTool, createAutoExecutor, createAutoPhaseFromTaskGraph, createAutonomyBrain, createChimeraPlugin, createContextManagerTool, createDefaultPipelines, createDelegateTool, createGitPlugin, createMailboxChecker, createMcpControlTool, createMcpUseTool, createMessage, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSessionEventBridge, createSkillsPlugin, createStrategyCompactor, createSyncPlugin, createTieredBrainArbiter, createToolOutputSerializer, decryptConfigSecrets, deepMerge, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, deriveTodosFromPlanItem, detectNewlineStyle, detectEcosystem as detectPackageEcosystem, dispatchAgent, downloadGitHubTarball, eliseOldToolResults, emptyGoal, emptyPlan, emptyTaskFile, encryptConfigSecrets, enhanceUserPrompt, ensureDir, estimateMessageTokens, estimateMessages, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, everArtServer, expandGlob, expandIPv6, expectDefined, extractRunEnv, extractText, filesystemServer, findCriticalPath, findPreserveStart, flagsToConfigPatch, formatContextWindowModeList, formatDecisionSummary, formatGoal, formatHumanPrompt, formatPlan, formatPlanTemplates, formatTaskList, formatTaskProgress, formatTodosList, getAgentDefinition, getCalibrationState, getContextWindowMode, getFileHistory, getFilesByAgent, getFullLog, getFullPackageLog, getLastAuthor, getManifestPackages, getPackageAuthor, getPackagesByAgent, getPlanTemplate, getSessionRegistry, getTemplate, getTermSize, githubServer, goalFilePath, googleMapsServer, hasSessionRegistry, hasTextContent, hashRequest, hookMatcherMatches, injectPendingMailboxMessages, isAgentError, isConfigError, isContextWindowModeId, isFsError, isImageBlock, isInteractive, isPluginError, isPrimitiveArray, isPrivateIPv4, isPrivateIPv6, isSddError, isSecretField, isSessionError, isStdinTTY, isStdoutTTY, isTextBlock, isThinkingBlock, isToolError, isToolResultBlock, isToolUseBlock, isValidMatrixKey, isWrongStackError, listContextWindowModes, listPlanTemplates, listTemplates, loadDirectorState, loadGoal, loadPlan, loadPlugins, loadProjectModes, loadTasks, loadTodosCheckpoint, loadUserModes, mailboxSessionTag, makeAgentSubagentRunner, makeAskTool, makeAssignTool, makeAutonomyPromptContributor, makeAwaitTasksTool, makeCollabDebugTool, makeContinueToNextIterationTool, makeDependencyWatcherConfig, makeDirectorSessionFactory, makeFleetEmitTool, makeFleetHealthTool, makeFleetSessionTool, makeFleetStatusTool, makeFleetUsageTool, makeLLMClassifier, makeMailInboxTool, makeMailSendTool, makeMailboxTool, makeRollUpTool, makeSpawnTool, makeTerminateTool, matchAny, matchGlob, matrixKeyKind, mergeCustomModelDefs, mergeModelsPayload, migratePlaintextSecrets, miniMaxVisionServer, mutatePlan, mutateTasks, noOpLogger, noOpVault, normalizeRecipient, normalizeToLf, normalizedEqual, onResize, parseContinueDirective, parseEntries, parseProgressFromText, parseSkillRef, peekQueuedMessages, pendingBtwCount, phaseForRole, projectHash, projectSlug, recentTextTurns, recordActualUsage, recordFileAction, recordPackageAction, recordProgress, removePlanItem, renderProgress, renderPrometheus, renderSpecAnalysis, renderTaskGraph, renderTaskList, repairToolUseAdjacency, resetCalibration, resolveAuditLevel, resolveChimeraConfig, resolveContextWindowPolicy, resolveMailboxIdentity, resolveModelMatrix, resolveProjectDir, resolveSessionLoggingConfig, resolveWstackPaths, rewriteConfigEncrypted, rosterSummaryFromConfigs, runConfigMigrations, runProviderWithRetry, runShellHook, safeParse, safeStringify, sanitizeJsonString, saveGoal, savePlan, saveTasks, saveTodosCheckpoint, scoreAgents, scoreMessage, securitySlashCommand, sentinelServer, setBtwNote, setOutputLineGuard, setPlanItemStatus, setProgress, setQueuedMessagesSnapshot, setRawMode, shouldEnhance, slackServer, sleep, stableStringify, startMetricsServer, startOtlpMetricsExporter, startOtlpTraceExporter, startPackageOutdatedWatcher, startTechStackConsumer, stripAnsi, summarizeUsage, templateToMarkdown, toStyle, toWrongStackError, topologicalSort, truncate, unifiedDiff, unloadPlugins, updatePackageOutdatedStatus, validateAgainstSchema, wireMetricsToEvents, withFileLock, wrapAsState, writeErr, writeOut, wstackGlobalRoot, zaiVisionServer };
|
|
38355
38464
|
//# sourceMappingURL=index.js.map
|
|
38356
38465
|
//# sourceMappingURL=index.js.map
|