@akagilnc/pi-workflow-roles 0.1.3414 → 0.1.3445
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/archivist-record-entry.js +21 -12
- package/dist/archivist-record-topology.js +20 -0
- package/dist/auditor-dossier-tool.js +67 -76
- package/dist/canonical-json.js +66 -69
- package/dist/compliance-transport.js +99 -86
- package/dist/countersign-contracts.js +23 -25
- package/dist/doctor-contracts.js +169 -145
- package/dist/engine-detour-tool.js +83 -87
- package/dist/engine-detour.js +148 -183
- package/dist/evidence-child-executor.js +12 -9
- package/dist/exact-utf8.js +11 -10
- package/dist/git-object-id.js +10 -5
- package/dist/gleaner-left-contracts.js +33 -35
- package/dist/grok/production-host.js +239 -154
- package/dist/inspector-contracts.js +28 -31
- package/dist/institutional-resolution.js +101 -104
- package/dist/ledger-session-read.js +241 -0
- package/dist/merger-contracts.js +66 -56
- package/dist/navigator-attendance.js +0 -6
- package/dist/navigator-session-contracts.js +6 -10
- package/dist/notary-contracts.js +91 -100
- package/dist/open-tool-schema.js +32 -31
- package/dist/package-contracts/collector-output.js +56 -43
- package/dist/package-contracts/fixer-output.js +52 -50
- package/dist/package-contracts/fixer-packet.js +67 -64
- package/dist/package-contracts/gatekeeper-output.js +48 -56
- package/dist/package-contracts/judge-output.js +23 -20
- package/dist/package-contracts/navigator-output.js +35 -40
- package/dist/package-contracts/reviewer-output.js +94 -110
- package/dist/package-contracts/terminating-infrastructure.js +62 -90
- package/dist/package-contracts/worker-output.js +30 -11
- package/dist/package-resources/engine-material.js +58 -94
- package/dist/pi/in-process-session.js +2 -12
- package/dist/public-cli/config.js +403 -485
- package/dist/public-cli/main.js +1226 -561
- package/dist/public-cli/registry.js +107 -114
- package/dist/receipt-delivery-policy.js +74 -76
- package/dist/session-opening-materials.js +44 -47
- package/dist/sha256.js +5 -3
- package/dist/sitian-appender.js +204 -210
- package/dist/sitian-contracts.js +15 -19
- package/dist/sitian-facade.js +5 -10
- package/dist/sitian-reader.js +37 -46
- package/dist/stream-idle-guard.js +63 -71
- package/dist/ticket-seat-memory.js +244 -0
- package/package.json +1 -1
- package/scripts/build-package.mjs +41 -0
- package/src/analyst-gate-cycles-read.ts +152 -83
- package/src/analyst-ledger.ts +170 -43
- package/src/archivist-record-entry.ts +32 -11
- package/src/archivist-record-topology.ts +39 -0
- package/src/evidence-child-executor.ts +18 -10
- package/src/grok/production-host.ts +44 -9
- package/src/host-contracts.ts +18 -0
- package/src/host-transition-prior-native.ts +8 -1
- package/src/ledger-session-read.ts +56 -0
- package/src/navigator-attendance.ts +0 -6
- package/src/navigator-session-contracts.ts +15 -14
- package/src/pi/durable-principal.ts +6 -0
- package/src/pi/in-process-session.ts +10 -17
- package/src/public-cli/cli.ts +2 -14
- package/src/public-cli/config.ts +6 -28
- package/src/public-cli/inspector-run.ts +21 -10
- package/src/public-cli/invocation.ts +8 -25
- package/src/public-cli/notary-run.ts +21 -4
- package/src/public-cli/option-definitions.ts +2 -2
- package/src/public-cli/post-admission.ts +333 -42
- package/src/public-cli/registry.ts +2 -8
- package/src/public-cli/run-lifecycle.ts +1 -3
- package/src/public-cli/settlement.ts +266 -81
- package/src/session-opening-materials.ts +4 -2
- package/src/ticket-seat-memory.ts +454 -0
|
@@ -158,7 +158,7 @@ async function openPiInstitutionalSession(options) {
|
|
|
158
158
|
api: fallbackApi,
|
|
159
159
|
provider: selection.provider,
|
|
160
160
|
baseUrl: providerDefaultModel?.baseUrl ?? "",
|
|
161
|
-
reasoning:
|
|
161
|
+
reasoning: providerDefaultModel?.reasoning ?? false,
|
|
162
162
|
input: ["text"],
|
|
163
163
|
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
|
164
164
|
contextWindow: 128e3,
|
|
@@ -457,11 +457,10 @@ async function openPiInstitutionalSession(options) {
|
|
|
457
457
|
});
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
|
-
const requestedThinking = options.selection.thinking === "max" ? "max" : "off";
|
|
461
460
|
const { session } = await createAgentSession({
|
|
462
461
|
cwd: options.cwd,
|
|
463
462
|
model: effectiveModel,
|
|
464
|
-
thinkingLevel:
|
|
463
|
+
...options.selection.thinking === void 0 ? {} : { thinkingLevel: options.selection.thinking },
|
|
465
464
|
modelRuntime: runtime,
|
|
466
465
|
sessionManager,
|
|
467
466
|
settingsManager: settings,
|
|
@@ -471,15 +470,6 @@ async function openPiInstitutionalSession(options) {
|
|
|
471
470
|
...options.toolsAllowlist === void 0 ? {} : { tools: options.toolsAllowlist },
|
|
472
471
|
...customTools.length === 0 ? {} : { customTools }
|
|
473
472
|
});
|
|
474
|
-
if (requestedThinking === "max" && session.thinkingLevel !== "max") {
|
|
475
|
-
session.dispose();
|
|
476
|
-
throw withTypedReason(
|
|
477
|
-
new Error(
|
|
478
|
-
`${label} thinking level max is unavailable for ${selection.provider}/${selection.model}`
|
|
479
|
-
),
|
|
480
|
-
"thinking"
|
|
481
|
-
);
|
|
482
|
-
}
|
|
483
473
|
const listeners = /* @__PURE__ */ new Set();
|
|
484
474
|
const accumulatedUsage = emptyUsage();
|
|
485
475
|
let lastEmittedAssistant;
|