omnius 1.0.362 → 1.0.363
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/index.js +30 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -713783,7 +713783,19 @@ async function createSteeringIntakeBackend(config, repoRoot) {
|
|
|
713783
713783
|
function formatTaskCompletionMeta(meta) {
|
|
713784
713784
|
if (!meta) return "no prior task metrics recorded";
|
|
713785
713785
|
const dur = meta.durationMs < 6e4 ? `${(meta.durationMs / 1e3).toFixed(1)}s` : `${Math.floor(meta.durationMs / 6e4)}m ${Math.floor(meta.durationMs % 6e4 / 1e3)}s`;
|
|
713786
|
-
|
|
713786
|
+
const parts = [
|
|
713787
|
+
`${meta.turns} turns`,
|
|
713788
|
+
`${meta.toolCalls} tool calls`,
|
|
713789
|
+
dur,
|
|
713790
|
+
meta.model
|
|
713791
|
+
];
|
|
713792
|
+
if (meta.filesModified) parts.push(`${meta.filesModified} files modified`);
|
|
713793
|
+
if (meta.testsPassed !== void 0) parts.push(`${meta.testsPassed} tests passed`);
|
|
713794
|
+
if (meta.buildStatus) parts.push(`build: ${meta.buildStatus}`);
|
|
713795
|
+
if (meta.errors) parts.push(`${meta.errors} errors`);
|
|
713796
|
+
if (meta.tokensUsed) parts.push(`${meta.tokensUsed} tokens`);
|
|
713797
|
+
if (meta.verified !== void 0) parts.push(`verified: ${meta.verified}`);
|
|
713798
|
+
return parts.join(", ");
|
|
713787
713799
|
}
|
|
713788
713800
|
function buildNewTaskIntakePacket(ingress, interpretation, previousPrompt, previousSummary, previousMeta) {
|
|
713789
713801
|
const rawTitle = ingress.rawText?.trim()?.split("\n")[0]?.slice(0, 120) || "task";
|
|
@@ -713811,6 +713823,23 @@ function buildNewTaskIntakePacket(ingress, interpretation, previousPrompt, previ
|
|
|
713811
713823
|
"",
|
|
713812
713824
|
"New task:",
|
|
713813
713825
|
ingress.rawText,
|
|
713826
|
+
"",
|
|
713827
|
+
"Intake validation context:",
|
|
713828
|
+
`- Original prompt included: ${previousPrompt.trim() ? "yes" : "no"}`,
|
|
713829
|
+
`- Original summary included: ${previousSummary.trim() ? "yes" : "no"}`,
|
|
713830
|
+
`- Expanded metrics rendered: ${previousMeta ? "yes" : "no"}`,
|
|
713831
|
+
`- Files touched: ${ingress.filesTouched?.length ?? 0}`,
|
|
713832
|
+
`- Tool calls: ${ingress.toolCallCount ?? 0}`,
|
|
713833
|
+
"",
|
|
713834
|
+
"Expanded metrics detail:",
|
|
713835
|
+
previousMeta ? [
|
|
713836
|
+
` • filesModified: ${previousMeta.filesModified ?? 0}`,
|
|
713837
|
+
` • testsPassed: ${previousMeta.testsPassed ?? 0}`,
|
|
713838
|
+
` • buildStatus: ${previousMeta.buildStatus ?? "skipped"}`,
|
|
713839
|
+
` • errors: ${previousMeta.errors ?? 0}`,
|
|
713840
|
+
` • tokensUsed: ${previousMeta.tokensUsed ?? 0}`,
|
|
713841
|
+
` • verified: ${previousMeta.verified ?? "unverified"}`
|
|
713842
|
+
].join("\n") : " (no prior metrics)",
|
|
713814
713843
|
""
|
|
713815
713844
|
];
|
|
713816
713845
|
if (interpretation) {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.363",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.363",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED