@cortexkit/pi-magic-context 0.49.69 → 0.49.70
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.
|
@@ -412,6 +412,7 @@ plan:
|
|
|
412
412
|
enabled: false
|
|
413
413
|
defaultOnStartup: false
|
|
414
414
|
`;
|
|
415
|
+
var OMP_CHILD_TOOL_ENV = { PI_AUTO_QA: "0" };
|
|
415
416
|
function registerSubagentToolBoundary(pi) {
|
|
416
417
|
pi.registerFlag(SUBAGENT_TOOL_ALLOWLIST_FLAG, {
|
|
417
418
|
description: "Exact active tool names for a Magic Context hidden child.",
|
|
@@ -613,4 +614,4 @@ function historianCalibrationExtension(pi) {
|
|
|
613
614
|
});
|
|
614
615
|
}
|
|
615
616
|
|
|
616
|
-
export { DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS, buildHiddenAgentRegistrations, logTemperatureDecision, readHostSystemPrompt, subagentStepCap, SubagentTelemetry, OMP_CHILD_TOOL_CONFIG, HISTORIAN_TEMPERATURE_ENV2, HISTORIAN_CACHE_TAIL_ENV2, HISTORIAN_MAX_OUTPUT_TOKENS_ENV2, SUBAGENT_OUTPUT_CEILING_ENV2, calibrateHistorianProviderPayload2, ceilProviderOutputTokens2, withoutProviderTemperature2, historianCalibrationExtension };
|
|
617
|
+
export { DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS, buildHiddenAgentRegistrations, logTemperatureDecision, readHostSystemPrompt, subagentStepCap, SubagentTelemetry, OMP_CHILD_TOOL_CONFIG, OMP_CHILD_TOOL_ENV, HISTORIAN_TEMPERATURE_ENV2, HISTORIAN_CACHE_TAIL_ENV2, HISTORIAN_MAX_OUTPUT_TOKENS_ENV2, SUBAGENT_OUTPUT_CEILING_ENV2, calibrateHistorianProviderPayload2, ceilProviderOutputTokens2, withoutProviderTemperature2, historianCalibrationExtension };
|
package/dist/index.js
CHANGED
|
@@ -832,10 +832,11 @@ import {
|
|
|
832
832
|
subagentStepCap,
|
|
833
833
|
SubagentTelemetry,
|
|
834
834
|
OMP_CHILD_TOOL_CONFIG,
|
|
835
|
+
OMP_CHILD_TOOL_ENV,
|
|
835
836
|
HISTORIAN_CACHE_TAIL_ENV2,
|
|
836
837
|
HISTORIAN_MAX_OUTPUT_TOKENS_ENV2,
|
|
837
838
|
SUBAGENT_OUTPUT_CEILING_ENV2
|
|
838
|
-
} from "./index-
|
|
839
|
+
} from "./index-j4mwdz3q.js";
|
|
839
840
|
import {
|
|
840
841
|
PI_CONTEXT_BUDGET,
|
|
841
842
|
PiContextDeadlineError,
|
|
@@ -3607,7 +3608,7 @@ function startHostStallProfilerSwitch() {
|
|
|
3607
3608
|
// package.json
|
|
3608
3609
|
var package_default = {
|
|
3609
3610
|
name: "@cortexkit/pi-magic-context",
|
|
3610
|
-
version: "0.49.
|
|
3611
|
+
version: "0.49.70",
|
|
3611
3612
|
type: "module",
|
|
3612
3613
|
description: "Pi and OMP coding agent extension for Magic Context — cross-session memory and context management",
|
|
3613
3614
|
main: "dist/index.js",
|
|
@@ -21432,6 +21433,7 @@ class PiSubagentRunner {
|
|
|
21432
21433
|
cwd: options.cwd,
|
|
21433
21434
|
env: {
|
|
21434
21435
|
...parentEnv,
|
|
21436
|
+
...this.invocation.targetHarness === "omp" ? OMP_CHILD_TOOL_ENV : {},
|
|
21435
21437
|
[MAGIC_CONTEXT_PI_SUBAGENT_ENV]: "1",
|
|
21436
21438
|
MAGIC_CONTEXT_SUBAGENT_PROMPT_FILE: systemPromptPath,
|
|
21437
21439
|
[HISTORIAN_CACHE_TAIL_ENV2]: /^(magic-context-)?historian(?:-recomp)?$/.test(options.agent) && options.accountingSubagent !== "historian_editor" ? options.cacheTail : undefined,
|
package/package.json
CHANGED