omnius 1.0.917 → 1.0.919
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 +2 -2
- package/dist/library.js +15 -1
- package/dist/update-worker-runtime.js +10 -0
- package/npm-shrinkwrap.json +5 -5
- package/package.json +1 -1
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:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 39069563 bytes
|
|
4
|
+
sha256: 09925cc3f137038b2d5b87ba304d5bf950e4b937b62711c9271edc5c6af3a586
|
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
|
-
|
|
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
|
});
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.919",
|
|
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.919",
|
|
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.
|
|
185
|
-
"resolved": "https://registry.npmjs.org/@cfworker/json-schema/-/json-schema-4.1.
|
|
186
|
-
"integrity": "sha512-
|
|
184
|
+
"version": "4.1.6",
|
|
185
|
+
"resolved": "https://registry.npmjs.org/@cfworker/json-schema/-/json-schema-4.1.6.tgz",
|
|
186
|
+
"integrity": "sha512-YzVGTHXf4bzlyAL5KAvHYCdNbbt6zM5cYkAgxqxQPDQM6aZ4ShIIN5yJ+6q7YeonnevxT8k/LmD2tJi/jOiKkg==",
|
|
187
187
|
"license": "MIT"
|
|
188
188
|
},
|
|
189
189
|
"node_modules/@chainsafe/as-chacha20poly1305": {
|
package/package.json
CHANGED