omnius 1.0.260 → 1.0.261
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 +5 -3
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -701104,7 +701104,7 @@ function resetSessionLock() {
|
|
|
701104
701104
|
_interactiveSessionActive = false;
|
|
701105
701105
|
_interactiveSessionReason = "";
|
|
701106
701106
|
}
|
|
701107
|
-
function createTaskCompleteTool(modelTier, repoRoot) {
|
|
701107
|
+
function createTaskCompleteTool(modelTier, repoRoot, skipSessionGuard) {
|
|
701108
701108
|
const summaryDesc = modelTier === "small" || modelTier === "medium" ? "Your complete response to the user. For questions/chat: put your FULL answer here (this is what the user will see). For coding tasks: brief summary of what was accomplished." : "Brief summary of what was accomplished";
|
|
701109
701109
|
return {
|
|
701110
701110
|
name: "task_complete",
|
|
@@ -701117,7 +701117,7 @@ function createTaskCompleteTool(modelTier, repoRoot) {
|
|
|
701117
701117
|
required: ["summary"]
|
|
701118
701118
|
},
|
|
701119
701119
|
async execute(args) {
|
|
701120
|
-
if (_interactiveSessionActive) {
|
|
701120
|
+
if (_interactiveSessionActive && !skipSessionGuard) {
|
|
701121
701121
|
return {
|
|
701122
701122
|
success: false,
|
|
701123
701123
|
output: `SESSION STILL ACTIVE. Call your next interaction tool NOW. Do NOT produce text — call a tool immediately to continue the session.`,
|
|
@@ -705042,7 +705042,9 @@ Review its full output via sub_agent(action='output', id='${id}')`
|
|
|
705042
705042
|
if (!subToolInstances.some((t2) => nameOf(t2) === "todo_read"))
|
|
705043
705043
|
subToolInstances.push(new TodoReadTool());
|
|
705044
705044
|
subRunner.registerTools(subToolInstances.map(adaptTool6));
|
|
705045
|
-
|
|
705045
|
+
const subAgentId = opts.id || `sub-${Date.now()}`;
|
|
705046
|
+
statusBar.registerAgentView(subAgentId, `Sub-agent ${subAgentId}`, "sub");
|
|
705047
|
+
subRunner.registerTool(createTaskCompleteTool(subTier, repoRoot, true));
|
|
705046
705048
|
const systemCtx = opts.systemPromptAddition ? `Working directory: ${repoRoot}
|
|
705047
705049
|
|
|
705048
705050
|
${opts.systemPromptAddition}` : `Working directory: ${repoRoot}`;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.261",
|
|
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.261",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED