omnius 1.0.917 → 1.0.918

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 CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/index.js
3
- size: 39056359 bytes
4
- sha256: 8ed512d8cc21aaa7d91382a3dd8e443abc738d0a66d4517351786059d17075eb
3
+ size: 39068863 bytes
4
+ sha256: 67e7fa4160a9fe8a9d54b3f1512a8ab48207799edd424e3d3856e3b73a8cf7ae
package/dist/library.js CHANGED
@@ -9377,6 +9377,15 @@ var init_shell_pipeline_status = __esm({
9377
9377
  }
9378
9378
  });
9379
9379
 
9380
+ // packages/execution/dist/tools/shell-observation-only.js
9381
+ var init_shell_observation_only = __esm({
9382
+ "packages/execution/dist/tools/shell-observation-only.js"() {
9383
+ "use strict";
9384
+ init_shell_pipeline_status();
9385
+ init_shell_authority();
9386
+ }
9387
+ });
9388
+
9380
9389
  // packages/execution/dist/tools/shell.js
9381
9390
  var init_shell = __esm({
9382
9391
  "packages/execution/dist/tools/shell.js"() {
@@ -9391,6 +9400,7 @@ var init_shell = __esm({
9391
9400
  init_verificationInvocation();
9392
9401
  init_system_auth();
9393
9402
  init_shell_pipeline_status();
9403
+ init_shell_observation_only();
9394
9404
  init_shell_objective_evidence();
9395
9405
  }
9396
9406
  });
@@ -401431,7 +401441,8 @@ ${modelVisible}` : modelVisible || result.error || displayOutput || "";
401431
401441
  // receipt are never read-only attempts.
401432
401442
  ...input.result.success === false && input.result.runtimeAuthored !== true && !realFileMutation && !deliveryReceipt && !externalEffectReceipt && input.args && (() => {
401433
401443
  try {
401434
- return this.lookupRegisteredTool(input.toolName)?.tool.isReadOnly?.(input.args) === true;
401444
+ const tool = this.lookupRegisteredTool(input.toolName)?.tool;
401445
+ return tool?.isReadOnly?.(input.args) === true || tool?.isObservationOnly?.(input.args) === true;
401435
401446
  } catch {
401436
401447
  return false;
401437
401448
  }
@@ -436002,6 +436013,9 @@ function adaptExecutionTool(tool, options = {}) {
436002
436013
  if (typeof tool.isReadOnly === "function") {
436003
436014
  adapted.isReadOnly = (args) => tool.isReadOnly(args);
436004
436015
  }
436016
+ if (typeof tool.isObservationOnly === "function") {
436017
+ adapted.isObservationOnly = (args) => tool.isObservationOnly(args);
436018
+ }
436005
436019
  if (typeof tool.getHistoryObservationIdentity === "function") {
436006
436020
  adapted.getHistoryObservationIdentity = (args, result) => {
436007
436021
  const record9 = historyObservations.get(result) ?? (result.executionReceipt && historyObservations.get(result.executionReceipt)) ?? (result.artifactMaterialization && historyObservations.get(result.artifactMaterialization));
@@ -3545,6 +3545,15 @@ var init_shell_pipeline_status = __esm({
3545
3545
  }
3546
3546
  });
3547
3547
 
3548
+ // packages/execution/dist/tools/shell-observation-only.js
3549
+ var init_shell_observation_only = __esm({
3550
+ "packages/execution/dist/tools/shell-observation-only.js"() {
3551
+ "use strict";
3552
+ init_shell_pipeline_status();
3553
+ init_shell_authority();
3554
+ }
3555
+ });
3556
+
3548
3557
  // packages/execution/dist/tools/shell.js
3549
3558
  var init_shell = __esm({
3550
3559
  "packages/execution/dist/tools/shell.js"() {
@@ -3559,6 +3568,7 @@ var init_shell = __esm({
3559
3568
  init_verificationInvocation();
3560
3569
  init_system_auth();
3561
3570
  init_shell_pipeline_status();
3571
+ init_shell_observation_only();
3562
3572
  init_shell_objective_evidence();
3563
3573
  }
3564
3574
  });
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.917",
3
+ "version": "1.0.918",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.917",
9
+ "version": "1.0.918",
10
10
  "bundleDependencies": [
11
11
  "image-to-ascii"
12
12
  ],
@@ -181,9 +181,9 @@
181
181
  }
182
182
  },
183
183
  "node_modules/@cfworker/json-schema": {
184
- "version": "4.1.4",
185
- "resolved": "https://registry.npmjs.org/@cfworker/json-schema/-/json-schema-4.1.4.tgz",
186
- "integrity": "sha512-20rPE8EX0dSg6JGOVe31HpqsLYZTDSlcFJZA5mpZqQxcZ71vh/SXCMX+UuHO1mMcZBDKeb752z+3L8IWa+0Svg==",
184
+ "version": "4.1.5",
185
+ "resolved": "https://registry.npmjs.org/@cfworker/json-schema/-/json-schema-4.1.5.tgz",
186
+ "integrity": "sha512-iJvp0gXR8qCA3SiD1Emj/b6lPX4ZMZ2OaTlo227owS4eclOWbgA7zPkVfD8hRPJcvdDmKYkT627r/IgYQ8KChA==",
187
187
  "license": "MIT"
188
188
  },
189
189
  "node_modules/@chainsafe/as-chacha20poly1305": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.917",
3
+ "version": "1.0.918",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/library.js",