@feigi/fleet-ctl 3.30.15 → 3.30.16
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/package.json
CHANGED
|
@@ -297,7 +297,14 @@ function createdPrNumbers(text) {
|
|
|
297
297
|
// `resolvedModelIdentity` (measured `anthropic/claude-opus-5` (61),
|
|
298
298
|
// `anthropic/claude-sonnet-5` (103), `anthropic/claude-haiku-4-5` (68)
|
|
299
299
|
// across real `~/.omp/agent/sessions/**` — always provider-prefixed, never a
|
|
300
|
-
// bare alias).
|
|
300
|
+
// bare alias). Current omp writes the same dispatch-time fact under
|
|
301
|
+
// `resolvedModel` instead (measured 2026-10-09 on omp 18.8.6: of the 300
|
|
302
|
+
// most recently written transcripts, the 299 with a `session_init` line all
|
|
303
|
+
// carried `resolvedModel`, e.g. `anthropic/claude-opus-5-5:high` with its
|
|
304
|
+
// level suffix, and none carried `resolvedModelIdentity`), so the fold takes
|
|
305
|
+
// `resolvedModel` when `resolvedModelIdentity` is absent and
|
|
306
|
+
// `resolvedModelIdentity` when a line carries both.
|
|
307
|
+
// `model` itself is left untouched by this addition: board.mjs
|
|
301
308
|
// and member-outcomes.mjs read `model` for cost/spend attribution, where the
|
|
302
309
|
// per-turn value (which can in principle change mid-run) is the fact they
|
|
303
310
|
// want, not the dispatch-time identity.
|
|
@@ -375,6 +382,7 @@ export function foldOmpTranscript(jsonlText, filePath) {
|
|
|
375
382
|
if (d.type === "session_init") {
|
|
376
383
|
if (typeof d.task === "string") task = d.task;
|
|
377
384
|
if (typeof d.resolvedModelIdentity === "string") resolvedModelIdentity = d.resolvedModelIdentity;
|
|
385
|
+
else if (typeof d.resolvedModel === "string") resolvedModelIdentity = d.resolvedModel;
|
|
378
386
|
if (typeof d.agent === "string") agent = d.agent;
|
|
379
387
|
}
|
|
380
388
|
const m = d.message;
|
package/scripts/tier-check.mjs
CHANGED
|
@@ -111,12 +111,13 @@ export function declaredPairFor(frontmatter) {
|
|
|
111
111
|
// reported as `null` (a `null` reaching `formatMismatch` would print
|
|
112
112
|
// `resolved .../null`, a lie about a field nobody asked was absent).
|
|
113
113
|
//
|
|
114
|
-
// The transcript-derived model prefers `resolvedModelIdentity`
|
|
115
|
-
// (`session_init`,
|
|
116
|
-
//
|
|
117
|
-
//
|
|
118
|
-
//
|
|
119
|
-
//
|
|
114
|
+
// The transcript-derived model prefers the fold's `resolvedModelIdentity`
|
|
115
|
+
// (`session_init`'s `resolvedModelIdentity`, or its `resolvedModel` where
|
|
116
|
+
// the line carries no identity — both written at DISPATCH) over the
|
|
117
|
+
// assistant turn's own `model`: the identity exists before the member's
|
|
118
|
+
// first turn, where the per-turn model does not, so preferring it is what
|
|
119
|
+
// makes this check usable immediately after a background dispatch rather
|
|
120
|
+
// than only once a member has already produced output.
|
|
120
121
|
export function resolveActual({ transcriptText, resolvedModel, resolvedThinkingLevel }) {
|
|
121
122
|
if (resolvedModel && resolvedThinkingLevel) {
|
|
122
123
|
return { model: resolvedModel, level: resolvedThinkingLevel, viaJobRecord: true };
|