@wrongstack/core 0.277.2 → 0.280.0
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/{agent-bridge-BFJ2ODzI.d.ts → agent-bridge-DXC6QDJ4.d.ts} +1 -1
- package/dist/{agent-subagent-runner-BimKihiC.d.ts → agent-subagent-runner-PoqNKiR4.d.ts} +563 -471
- package/dist/{compactor-D3BGw26y.d.ts → compactor-U3agvUIG.d.ts} +1 -1
- package/dist/{config-DAOjriz9.d.ts → config-Cr3312zc.d.ts} +102 -4
- package/dist/coordination/index.d.ts +1087 -998
- package/dist/coordination/index.js +12235 -12052
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +31 -30
- package/dist/defaults/index.js +403 -189
- package/dist/defaults/index.js.map +1 -1
- package/dist/{brain-CCfuEOdp.d.ts → events-Bs2fmldo.d.ts} +117 -112
- package/dist/execution/index.d.ts +27 -19
- package/dist/execution/index.js +216 -63
- package/dist/execution/index.js.map +1 -1
- package/dist/execution/prompt-enhancer.d.ts +1 -1
- package/dist/execution/prompt-enhancer.js.map +1 -1
- package/dist/extension/index.d.ts +8 -7
- package/dist/{global-mailbox-Dr4cTKqL.d.ts → global-mailbox-Ct7IorLJ.d.ts} +84 -6
- package/dist/{goal-store-C1uH4srH.d.ts → goal-store-C4F6DjC0.d.ts} +1 -1
- package/dist/hq/index.d.ts +504 -7
- package/dist/hq/index.js +1069 -20
- package/dist/hq/index.js.map +1 -1
- package/dist/{index-DJXj-dcr.d.ts → index-kidebiDh.d.ts} +8 -5
- package/dist/{index-cMEmzCVN.d.ts → index-nP09-oP2.d.ts} +2 -2
- package/dist/index.d.ts +153 -76
- package/dist/index.js +5791 -3163
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +7 -6
- package/dist/kernel/index.d.ts +14 -13
- package/dist/kernel/index.js +31 -15
- package/dist/kernel/index.js.map +1 -1
- package/dist/{mailbox-types-DTl7bRH3.d.ts → mailbox-types-BGZWrYTJ.d.ts} +38 -0
- package/dist/{mcp-servers-CFb60-pH.d.ts → mcp-servers-D910X5_r.d.ts} +3 -3
- package/dist/models/index.d.ts +5 -5
- package/dist/models/index.js.map +1 -1
- package/dist/{models-registry-5Ufn7f2m.d.ts → models-registry-CLkoOcHk.d.ts} +1 -1
- package/dist/{multi-agent-coordinator-CcrcncvG.d.ts → multi-agent-coordinator-CieyUoEL.d.ts} +1 -1
- package/dist/{null-fleet-bus-C9KsYyrI.d.ts → null-fleet-bus-DkdmZJ_W.d.ts} +464 -464
- package/dist/observability/index.d.ts +3 -2
- package/dist/{path-resolver-CEeX9I7O.d.ts → path-resolver-XfZ9eLxG.d.ts} +3 -3
- package/dist/{permission-DbsGOA1C.d.ts → permission-Dx6dIqS2.d.ts} +2 -7
- package/dist/{permission-policy-BpEea3r7.d.ts → permission-policy-C8vJcnX5.d.ts} +2 -2
- package/dist/{pipeline-CEjBjzVA.d.ts → pipeline-BwAP21_4.d.ts} +9 -4
- package/dist/{provider-model-resolve-BpfXp3Jj.d.ts → provider-model-resolve-CwQNZWt_.d.ts} +3 -3
- package/dist/{provider-runner-CnOSr5BN.d.ts → provider-runner-CYHFImzV.d.ts} +3 -3
- package/dist/{retry-policy-Git9WF6d.d.ts → retry-policy-D4feSLk3.d.ts} +1 -1
- package/dist/sdd/index.d.ts +11 -10
- package/dist/sdd/index.js +2 -2
- package/dist/sdd/index.js.map +1 -1
- package/dist/secret-scrubber-3MHDDAtm.d.ts +6 -0
- package/dist/{secret-vault-DDSMHqIm.d.ts → secret-vault-CImt2XrR.d.ts} +1 -1
- package/dist/security/index.d.ts +6 -5
- package/dist/security/index.js.map +1 -1
- package/dist/{selector-Cq72C0Oy.d.ts → selector-Dy-MzKp1.d.ts} +1 -1
- package/dist/{session-event-bridge-DG94B3Bk.d.ts → session-event-bridge-CqdiGnfU.d.ts} +1 -1
- package/dist/{session-reader-BzT-iMQT.d.ts → session-reader-Hk0WbNm9.d.ts} +1 -1
- package/dist/{skill-DGIXCtdv.d.ts → skill-DHniprNl.d.ts} +15 -1
- package/dist/skills/index.d.ts +472 -26
- package/dist/skills/index.js +872 -129
- package/dist/skills/index.js.map +1 -1
- package/dist/storage/index.d.ts +27 -14
- package/dist/storage/index.js +264 -85
- package/dist/storage/index.js.map +1 -1
- package/dist/{strategy-compactor-Bt_ZH6R0.d.ts → strategy-compactor-CQwhbErd.d.ts} +32 -17
- package/dist/{todos-checkpoint-CH1pcua9.d.ts → todos-checkpoint-Bk2uP7Ex.d.ts} +6 -6
- package/dist/{context-DPlA6kid.d.ts → tool-BkOgs_KL.d.ts} +306 -286
- package/dist/{tool-executor-SVFq7IOR.d.ts → tool-executor-SiE1wlZo.d.ts} +9 -9
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/types/index.d.ts +22 -21
- package/dist/types/index.js +7 -9
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +30 -4
- package/dist/utils/index.js +50 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/{worktree-manager-C4YIf1Fa.d.ts → worktree-manager-BjOFF6bt.d.ts} +1 -1
- package/dist/{wstack-paths-_NrRovdr.d.ts → wstack-paths-CMl_cYgq.d.ts} +8 -0
- package/package.json +1 -1
- package/skills/mailbox-bridge/SKILL.md +1 -0
- package/skills/plugin-author/SKILL.md +350 -0
- package/skills/sdd/SKILL.md +134 -134
- package/skills/skill-creator/SKILL.md +45 -7
- package/skills/wrongstack-mailbox/SKILL.md +40 -21
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as Context,
|
|
1
|
+
import { E as CompletedWorkSource, C as Context, G as ContextEvidenceState, D as CompletedWorkEvidence, o as ToolOutputMetadata, J as JSONSchema, M as Message, A as TodoItem, T as Tool } from '../tool-BkOgs_KL.js';
|
|
2
2
|
export { H as HttpDispatcher, a as HttpsAgentAsDispatcher } from '../dispatcher-types.d-BBeXBQgS.js';
|
|
3
3
|
export { toErrorMessage } from './error.js';
|
|
4
4
|
export { expectDefined } from './expect-defined.js';
|
|
5
|
-
import {
|
|
5
|
+
import { y as CustomModelDefinition, a as ModelsDevPayload, a0 as ToolDescriptionMode, a1 as ToolDescriptionModeConfig, T as ToolResultRenderMode, a2 as ToolResultRenderModeConfig } from '../config-Cr3312zc.js';
|
|
6
6
|
export { T as TaskItem, c as computeTaskItemProgress, f as formatTaskList, a as formatTaskProgress } from '../task-format-vGOIftmK.js';
|
|
7
|
-
export { a as WstackPathOptions, W as WstackPaths, p as projectHash, b as projectSlug, r as resolveWstackPaths, w as wstackGlobalRoot } from '../wstack-paths-
|
|
7
|
+
export { a as WstackPathOptions, W as WstackPaths, p as projectHash, b as projectSlug, r as resolveWstackPaths, w as wstackGlobalRoot } from '../wstack-paths-CMl_cYgq.js';
|
|
8
8
|
export { a as TaskPriority, b as TaskStatus, T as TaskType } from '../task-graph-u1q9Jkyk.js';
|
|
9
9
|
import 'node:https';
|
|
10
10
|
import 'undici';
|
|
@@ -130,6 +130,32 @@ declare function recordToolOutputEvidence(ctx: Context, input: RecordToolOutputE
|
|
|
130
130
|
declare function markAssistantReferencedEvidence(ctx: Context, text: string): void;
|
|
131
131
|
declare function buildContextEvidenceDigest(ctx: Context): string;
|
|
132
132
|
declare function repeatedReadPressure(ctx: Context): number;
|
|
133
|
+
/** Marker prefixing the ledger's system-prompt block (also used to find/replace it). */
|
|
134
|
+
declare const COMPLETED_WORK_LEDGER_MARKER = "[completed_work_ledger]";
|
|
135
|
+
interface RecordCompletedWorkInput {
|
|
136
|
+
/** Stable dedupe key, e.g. `task:<id>` — re-completion updates in place. */
|
|
137
|
+
key: string;
|
|
138
|
+
source: CompletedWorkSource;
|
|
139
|
+
summary: string;
|
|
140
|
+
/** Optional pointer to proof (test run, commit hash, file path). */
|
|
141
|
+
evidence?: string | undefined;
|
|
142
|
+
/** Epoch ms; defaults to now. */
|
|
143
|
+
completedAt?: number | undefined;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Append one finished unit of work to the session ledger and refresh the
|
|
147
|
+
* `[completed_work_ledger]` system-prompt block. Deduped by `key` (newest
|
|
148
|
+
* wins), bounded to {@link MAX_COMPLETED_WORK} entries.
|
|
149
|
+
*/
|
|
150
|
+
declare function recordCompletedWorkEvidence(ctx: Context, input: RecordCompletedWorkInput): CompletedWorkEvidence;
|
|
151
|
+
/** Render the ledger's system-prompt block text (marker + newest entries). */
|
|
152
|
+
declare function formatCompletedWorkLedger(items: readonly CompletedWorkEvidence[]): string;
|
|
153
|
+
/**
|
|
154
|
+
* Upsert the `[completed_work_ledger]` block in `ctx.systemPrompt` (removed
|
|
155
|
+
* again when the ledger is empty). Idempotent — safe to call after every
|
|
156
|
+
* ledger mutation.
|
|
157
|
+
*/
|
|
158
|
+
declare function syncCompletedWorkLedgerBlock(ctx: Context): void;
|
|
133
159
|
|
|
134
160
|
/**
|
|
135
161
|
* Deep merge utility — safely merges nested objects with configurable
|
|
@@ -858,4 +884,4 @@ interface CompactWireToolDefinition {
|
|
|
858
884
|
declare function compactToolDefinitionForWire(tool: ToolWireDefinitionLike, opts?: CompactToolDefinitionForWireOptions): CompactWireToolDefinition;
|
|
859
885
|
declare function compactSchemaDescriptions(schema: unknown, maxDescriptionChars?: number): Record<string, unknown>;
|
|
860
886
|
|
|
861
|
-
export { type AtomicWriteOptions, type BuildChildEnvOptions, type CompactToolDefinitionForWireOptions, type CompactWireToolDefinition, type CompileFail, type CompileResult, DEFAULT_TOOL_DESCRIPTION_MODE, DEFAULT_TOOL_RESULT_RENDER_MODE, type DeepMergeOptions, FORBIDDEN_PROTO_KEYS, type FileLockOptions, type JsonObject, type JsonPath, type JsonPathSegment, type MessageRepairReport, type MessageRepairResult, type NewlineStyle, type OutputLineGuard, type RecordToolOutputEvidenceInput, type RequestTokenBreakdown, type SafeParseResult, type ToolDescriptionRegistryLike, type ToolOutputSerializerOptions, type ToolResultRenderModeRegistryLike, type ToolWireDefinitionLike, type UnifiedDiffOptions, type ValidationError, type ValidationResult, applyToolDescriptionModeToTool, applyToolDescriptionModes, applyToolResultRenderModes, assertNever, assertNotPrivateHost, atomicWrite, buildChildEnv, buildContextEvidenceDigest, color, compactSchemaDescriptions, compactToolDefinitionForWire, compileGlob, compileUserRegex, completePartialObject, computeMessageTokens, createContextEvidenceState, createToolOutputSerializer, deepMerge, detectNewlineStyle, ensureDir, escapeGlobSubject, estimateMessageTokens, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, expandGlob, expandIPv6, formatTodosList, getCalibrationState, getJsonPath, getTermSize, getToolDescriptionMode, getToolResultRenderMode, hasOpenTodos, isInteractive, isJsonObject, isPathSubjectKey, isPrimitiveArray, isPrivateIPv4, isPrivateIPv6, isStdinTTY, isStdoutTTY, isUlid, jsonObjectFileExists, markAssistantReferencedEvidence, matchAny, matchGlob, mergeCustomModelDefs, mergeModelsPayload, normalizePathSubject, normalizeToLf, normalizeToolDescriptionMode, normalizeToolResultRenderMode, onResize, readJsonObjectFile, recordActualUsage, recordToolOutputEvidence, recordUserIntentEvidence, removeJsonPath, removeJsonPathInFile, repairToolUseAdjacency, repeatedReadPressure, resetCalibration, resolveToolDescriptionMode, resolveToolResultRenderMode, safeParse, safeStringify, sanitizeJsonString, sanitizeNodeOptions, sessionScopedPath, setJsonPath, setJsonPathInFile, setOutputLineGuard, setRawMode, setToolDescriptionMode, setToolResultRenderMode, simplifyToolDescription, sleep, slugify, stripAnsi, subjectForToolInput, toStyle, truncate, ulid, unifiedDiff, updateJsonObjectFile, validateAgainstSchema, withFileLock, writeErr, writeJsonObjectFile, writeOut };
|
|
887
|
+
export { type AtomicWriteOptions, type BuildChildEnvOptions, COMPLETED_WORK_LEDGER_MARKER, type CompactToolDefinitionForWireOptions, type CompactWireToolDefinition, type CompileFail, type CompileResult, DEFAULT_TOOL_DESCRIPTION_MODE, DEFAULT_TOOL_RESULT_RENDER_MODE, type DeepMergeOptions, FORBIDDEN_PROTO_KEYS, type FileLockOptions, type JsonObject, type JsonPath, type JsonPathSegment, type MessageRepairReport, type MessageRepairResult, type NewlineStyle, type OutputLineGuard, type RecordCompletedWorkInput, type RecordToolOutputEvidenceInput, type RequestTokenBreakdown, type SafeParseResult, type ToolDescriptionRegistryLike, type ToolOutputSerializerOptions, type ToolResultRenderModeRegistryLike, type ToolWireDefinitionLike, type UnifiedDiffOptions, type ValidationError, type ValidationResult, applyToolDescriptionModeToTool, applyToolDescriptionModes, applyToolResultRenderModes, assertNever, assertNotPrivateHost, atomicWrite, buildChildEnv, buildContextEvidenceDigest, color, compactSchemaDescriptions, compactToolDefinitionForWire, compileGlob, compileUserRegex, completePartialObject, computeMessageTokens, createContextEvidenceState, createToolOutputSerializer, deepMerge, detectNewlineStyle, ensureDir, escapeGlobSubject, estimateMessageTokens, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, expandGlob, expandIPv6, formatCompletedWorkLedger, formatTodosList, getCalibrationState, getJsonPath, getTermSize, getToolDescriptionMode, getToolResultRenderMode, hasOpenTodos, isInteractive, isJsonObject, isPathSubjectKey, isPrimitiveArray, isPrivateIPv4, isPrivateIPv6, isStdinTTY, isStdoutTTY, isUlid, jsonObjectFileExists, markAssistantReferencedEvidence, matchAny, matchGlob, mergeCustomModelDefs, mergeModelsPayload, normalizePathSubject, normalizeToLf, normalizeToolDescriptionMode, normalizeToolResultRenderMode, onResize, readJsonObjectFile, recordActualUsage, recordCompletedWorkEvidence, recordToolOutputEvidence, recordUserIntentEvidence, removeJsonPath, removeJsonPathInFile, repairToolUseAdjacency, repeatedReadPressure, resetCalibration, resolveToolDescriptionMode, resolveToolResultRenderMode, safeParse, safeStringify, sanitizeJsonString, sanitizeNodeOptions, sessionScopedPath, setJsonPath, setJsonPathInFile, setOutputLineGuard, setRawMode, setToolDescriptionMode, setToolResultRenderMode, simplifyToolDescription, sleep, slugify, stripAnsi, subjectForToolInput, syncCompletedWorkLedgerBlock, toStyle, truncate, ulid, unifiedDiff, updateJsonObjectFile, validateAgainstSchema, withFileLock, writeErr, writeJsonObjectFile, writeOut };
|
package/dist/utils/index.js
CHANGED
|
@@ -526,6 +526,7 @@ function createContextEvidenceState() {
|
|
|
526
526
|
toolCalls: [],
|
|
527
527
|
fileGraph: {},
|
|
528
528
|
repeatedReads: [],
|
|
529
|
+
completedWork: [],
|
|
529
530
|
updatedAt: Date.now()
|
|
530
531
|
};
|
|
531
532
|
}
|
|
@@ -658,8 +659,51 @@ function ensureEvidence(ctx) {
|
|
|
658
659
|
if (!ctx.contextEvidence) {
|
|
659
660
|
ctx.contextEvidence = createContextEvidenceState();
|
|
660
661
|
}
|
|
662
|
+
ctx.contextEvidence.completedWork ??= [];
|
|
661
663
|
return ctx.contextEvidence;
|
|
662
664
|
}
|
|
665
|
+
var MAX_COMPLETED_WORK = 50;
|
|
666
|
+
var COMPLETED_WORK_LEDGER_MARKER = "[completed_work_ledger]";
|
|
667
|
+
function recordCompletedWorkEvidence(ctx, input) {
|
|
668
|
+
const state = ensureEvidence(ctx);
|
|
669
|
+
const entry = {
|
|
670
|
+
key: input.key,
|
|
671
|
+
source: input.source,
|
|
672
|
+
summary: normalizeWhitespace(input.summary).slice(0, 300),
|
|
673
|
+
completedAt: input.completedAt ?? Date.now(),
|
|
674
|
+
...input.evidence !== void 0 && { evidence: input.evidence }
|
|
675
|
+
};
|
|
676
|
+
const existing = state.completedWork.findIndex((item) => item.key === entry.key);
|
|
677
|
+
if (existing >= 0) state.completedWork.splice(existing, 1);
|
|
678
|
+
state.completedWork.push(entry);
|
|
679
|
+
if (state.completedWork.length > MAX_COMPLETED_WORK) {
|
|
680
|
+
state.completedWork.splice(0, state.completedWork.length - MAX_COMPLETED_WORK);
|
|
681
|
+
}
|
|
682
|
+
state.updatedAt = Date.now();
|
|
683
|
+
syncCompletedWorkLedgerBlock(ctx);
|
|
684
|
+
return entry;
|
|
685
|
+
}
|
|
686
|
+
function formatCompletedWorkLedger(items) {
|
|
687
|
+
const lines = items.slice(-20).map(
|
|
688
|
+
(item) => `- [${item.source}] ${item.summary}${item.evidence ? ` (evidence: ${item.evidence})` : ""}`
|
|
689
|
+
);
|
|
690
|
+
return `${COMPLETED_WORK_LEDGER_MARKER}
|
|
691
|
+
Work already completed this session \u2014 do not redo it; build on it:
|
|
692
|
+
` + lines.join("\n");
|
|
693
|
+
}
|
|
694
|
+
function syncCompletedWorkLedgerBlock(ctx) {
|
|
695
|
+
const state = ensureEvidence(ctx);
|
|
696
|
+
const idx = ctx.systemPrompt.findIndex(
|
|
697
|
+
(block2) => block2.type === "text" && block2.text.startsWith(COMPLETED_WORK_LEDGER_MARKER)
|
|
698
|
+
);
|
|
699
|
+
if (state.completedWork.length === 0) {
|
|
700
|
+
if (idx >= 0) ctx.systemPrompt.splice(idx, 1);
|
|
701
|
+
return;
|
|
702
|
+
}
|
|
703
|
+
const block = { type: "text", text: formatCompletedWorkLedger(state.completedWork) };
|
|
704
|
+
if (idx >= 0) ctx.systemPrompt[idx] = block;
|
|
705
|
+
else ctx.systemPrompt.push(block);
|
|
706
|
+
}
|
|
663
707
|
function isGoalish(text) {
|
|
664
708
|
return /\b(goal|objective|task|need|want|implement|fix|improve|refactor|add|remove|hedef|amac|istiyorum|gerekiyor|iyilestir|duzelt|ekle|kaldir)\b/i.test(text);
|
|
665
709
|
}
|
|
@@ -3206,16 +3250,20 @@ function wstackGlobalRoot() {
|
|
|
3206
3250
|
}
|
|
3207
3251
|
function resolveWstackPaths(opts) {
|
|
3208
3252
|
const globalRoot = opts.globalRoot ?? (opts.userHome ? path4.join(opts.userHome, ".wrongstack") : wstackGlobalRoot());
|
|
3253
|
+
const homeDir = opts.userHome ?? os.homedir();
|
|
3209
3254
|
const hash = projectHash(opts.projectRoot);
|
|
3210
3255
|
const slug = projectSlug(opts.projectRoot);
|
|
3211
3256
|
const projectDir = path4.join(globalRoot, "projects", slug);
|
|
3212
3257
|
return {
|
|
3213
3258
|
globalRoot,
|
|
3259
|
+
projectRoot: opts.projectRoot,
|
|
3260
|
+
homeDir,
|
|
3214
3261
|
configDir: globalRoot,
|
|
3215
3262
|
globalConfig: path4.join(globalRoot, "config.json"),
|
|
3216
3263
|
secretsKey: path4.join(globalRoot, ".key"),
|
|
3217
3264
|
globalMemory: path4.join(globalRoot, "memory.md"),
|
|
3218
3265
|
globalSkills: path4.join(globalRoot, "skills"),
|
|
3266
|
+
globalClaudeSkills: path4.join(homeDir, ".claude", "skills"),
|
|
3219
3267
|
globalDesignKits: path4.join(globalRoot, "design-kits"),
|
|
3220
3268
|
globalPrompts: path4.join(globalRoot, "prompts"),
|
|
3221
3269
|
globalInstructions: path4.join(globalRoot, "instructions"),
|
|
@@ -3235,6 +3283,7 @@ function resolveWstackPaths(opts) {
|
|
|
3235
3283
|
inProjectConfig: path4.join(opts.projectRoot, ".wrongstack", "config.json"),
|
|
3236
3284
|
inProjectAgentsFile: path4.join(opts.projectRoot, ".wrongstack", "AGENTS.md"),
|
|
3237
3285
|
inProjectSkills: path4.join(opts.projectRoot, ".wrongstack", "skills"),
|
|
3286
|
+
inProjectClaudeSkills: path4.join(opts.projectRoot, ".claude", "skills"),
|
|
3238
3287
|
inProjectPrompts: path4.join(opts.projectRoot, ".wrongstack", "prompts"),
|
|
3239
3288
|
inProjectInstructions: path4.join(opts.projectRoot, ".wrongstack", "instructions"),
|
|
3240
3289
|
inProjectDesignKits: path4.join(opts.projectRoot, ".wrongstack", "design-kits"),
|
|
@@ -3253,6 +3302,6 @@ function resolveWstackPaths(opts) {
|
|
|
3253
3302
|
};
|
|
3254
3303
|
}
|
|
3255
3304
|
|
|
3256
|
-
export { DEFAULT_TOOL_DESCRIPTION_MODE, DEFAULT_TOOL_RESULT_RENDER_MODE, FORBIDDEN_PROTO_KEYS, applyToolDescriptionModeToTool, applyToolDescriptionModes, applyToolResultRenderModes, assertNever, assertNotPrivateHost, atomicWrite, buildChildEnv, buildContextEvidenceDigest, color, compactSchemaDescriptions, compactToolDefinitionForWire, compileGlob, compileUserRegex, completePartialObject, computeMessageTokens, computeTaskItemProgress, createContextEvidenceState, createToolOutputSerializer, deepMerge, detectNewlineStyle, ensureDir, escapeGlobSubject, estimateMessageTokens, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, expandGlob, expandIPv6, expectDefined, formatTaskList, formatTaskProgress, formatTodosList, getCalibrationState, getJsonPath, getTermSize, getToolDescriptionMode, getToolResultRenderMode, hasOpenTodos, isInteractive, isJsonObject, isPathSubjectKey, isPrimitiveArray, isPrivateIPv4, isPrivateIPv6, isStdinTTY, isStdoutTTY, isUlid, jsonObjectFileExists, markAssistantReferencedEvidence, matchAny, matchGlob, mergeCustomModelDefs, mergeModelsPayload, normalizePathSubject, normalizeToLf, normalizeToolDescriptionMode, normalizeToolResultRenderMode, onResize, projectHash, projectSlug, readJsonObjectFile, recordActualUsage, recordToolOutputEvidence, recordUserIntentEvidence, removeJsonPath, removeJsonPathInFile, repairToolUseAdjacency, repeatedReadPressure, resetCalibration, resolveToolDescriptionMode, resolveToolResultRenderMode, resolveWstackPaths, safeParse, safeStringify, sanitizeJsonString, sanitizeNodeOptions, sessionScopedPath, setJsonPath, setJsonPathInFile, setOutputLineGuard, setRawMode, setToolDescriptionMode, setToolResultRenderMode, simplifyToolDescription, sleep, slugify, stripAnsi, subjectForToolInput, toErrorMessage, toStyle, truncate, ulid, unifiedDiff, updateJsonObjectFile, validateAgainstSchema, withFileLock, writeErr, writeJsonObjectFile, writeOut, wstackGlobalRoot };
|
|
3305
|
+
export { COMPLETED_WORK_LEDGER_MARKER, DEFAULT_TOOL_DESCRIPTION_MODE, DEFAULT_TOOL_RESULT_RENDER_MODE, FORBIDDEN_PROTO_KEYS, applyToolDescriptionModeToTool, applyToolDescriptionModes, applyToolResultRenderModes, assertNever, assertNotPrivateHost, atomicWrite, buildChildEnv, buildContextEvidenceDigest, color, compactSchemaDescriptions, compactToolDefinitionForWire, compileGlob, compileUserRegex, completePartialObject, computeMessageTokens, computeTaskItemProgress, createContextEvidenceState, createToolOutputSerializer, deepMerge, detectNewlineStyle, ensureDir, escapeGlobSubject, estimateMessageTokens, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, expandGlob, expandIPv6, expectDefined, formatCompletedWorkLedger, formatTaskList, formatTaskProgress, formatTodosList, getCalibrationState, getJsonPath, getTermSize, getToolDescriptionMode, getToolResultRenderMode, hasOpenTodos, isInteractive, isJsonObject, isPathSubjectKey, isPrimitiveArray, isPrivateIPv4, isPrivateIPv6, isStdinTTY, isStdoutTTY, isUlid, jsonObjectFileExists, markAssistantReferencedEvidence, matchAny, matchGlob, mergeCustomModelDefs, mergeModelsPayload, normalizePathSubject, normalizeToLf, normalizeToolDescriptionMode, normalizeToolResultRenderMode, onResize, projectHash, projectSlug, readJsonObjectFile, recordActualUsage, recordCompletedWorkEvidence, recordToolOutputEvidence, recordUserIntentEvidence, removeJsonPath, removeJsonPathInFile, repairToolUseAdjacency, repeatedReadPressure, resetCalibration, resolveToolDescriptionMode, resolveToolResultRenderMode, resolveWstackPaths, safeParse, safeStringify, sanitizeJsonString, sanitizeNodeOptions, sessionScopedPath, setJsonPath, setJsonPathInFile, setOutputLineGuard, setRawMode, setToolDescriptionMode, setToolResultRenderMode, simplifyToolDescription, sleep, slugify, stripAnsi, subjectForToolInput, syncCompletedWorkLedgerBlock, toErrorMessage, toStyle, truncate, ulid, unifiedDiff, updateJsonObjectFile, validateAgainstSchema, withFileLock, writeErr, writeJsonObjectFile, writeOut, wstackGlobalRoot };
|
|
3257
3306
|
//# sourceMappingURL=index.js.map
|
|
3258
3307
|
//# sourceMappingURL=index.js.map
|