@cello-protocol/cli 0.0.91 → 0.0.92
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.
|
@@ -152,7 +152,7 @@ export declare function gatewayConfigGet(celloDir: string, key: string, opts: Pa
|
|
|
152
152
|
* row written) and answers `needs_confirmation` — only then do we prompt, and only then do we
|
|
153
153
|
* re-send with `confirmed: true`.
|
|
154
154
|
*
|
|
155
|
-
* There is deliberately NO `--yes` flag (
|
|
155
|
+
* There is deliberately NO `--yes` flag (M9B-D16). A flag that lets a script confirm a loosening is
|
|
156
156
|
* the environment-variable bypass with a friendlier name, and removing that bypass is the sibling
|
|
157
157
|
* decision (D-5). If stdin is not a TTY there is no human here, so the answer is no.
|
|
158
158
|
*/
|
|
@@ -160,7 +160,7 @@ export declare function gatewayConfigSet(celloDir: string, key: string, value: s
|
|
|
160
160
|
/** What a confirmation attempt actually resolved to. `no_tty` is NOT `no` — see F3 above. */
|
|
161
161
|
export type ConfirmAnswer = "yes" | "no" | "no_tty";
|
|
162
162
|
/**
|
|
163
|
-
* `cello policy log` → cello_policy_log (DOD-
|
|
163
|
+
* `cello policy log` → cello_policy_log (DOD-M9B-AUDIT-1, policy D-11).
|
|
164
164
|
*
|
|
165
165
|
* Ships with the enforcement flip by decision: it is the answer to "did this new error come from
|
|
166
166
|
* the security layer or from my own change?" — a lookup instead of a guess.
|
package/dist/parity-commands.js
CHANGED
|
@@ -336,7 +336,7 @@ export function settingsGet(celloDir, key, opts) {
|
|
|
336
336
|
export function settingsSet(celloDir, key, value, opts) {
|
|
337
337
|
return ipcCommand(celloDir, IPC_METHODS["settings-set"], { key, value }, opts);
|
|
338
338
|
}
|
|
339
|
-
// ─── DOD-
|
|
339
|
+
// ─── DOD-M9B-SURFACE-1: the security layer's control surface (policy D-4) ──────────────────────
|
|
340
340
|
//
|
|
341
341
|
// NOT agent-scoped: the security layer screens every message on this machine regardless of which
|
|
342
342
|
// agent is selected, so its config is per-INSTALL. Passing agentScoped=false keeps `cello config`
|
|
@@ -358,7 +358,7 @@ export function gatewayConfigGet(celloDir, key, opts) {
|
|
|
358
358
|
* row written) and answers `needs_confirmation` — only then do we prompt, and only then do we
|
|
359
359
|
* re-send with `confirmed: true`.
|
|
360
360
|
*
|
|
361
|
-
* There is deliberately NO `--yes` flag (
|
|
361
|
+
* There is deliberately NO `--yes` flag (M9B-D16). A flag that lets a script confirm a loosening is
|
|
362
362
|
* the environment-variable bypass with a friendlier name, and removing that bypass is the sibling
|
|
363
363
|
* decision (D-5). If stdin is not a TTY there is no human here, so the answer is no.
|
|
364
364
|
*/
|
|
@@ -430,7 +430,7 @@ async function confirmAtTty(question) {
|
|
|
430
430
|
return answer === "y" || answer === "yes" ? "yes" : "no";
|
|
431
431
|
}
|
|
432
432
|
/**
|
|
433
|
-
* `cello policy log` → cello_policy_log (DOD-
|
|
433
|
+
* `cello policy log` → cello_policy_log (DOD-M9B-AUDIT-1, policy D-11).
|
|
434
434
|
*
|
|
435
435
|
* Ships with the enforcement flip by decision: it is the answer to "did this new error come from
|
|
436
436
|
* the security layer or from my own change?" — a lookup instead of a guess.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cello-protocol/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.92",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"package.json"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@cello-protocol/daemon": "0.0.
|
|
20
|
+
"@cello-protocol/daemon": "0.0.91",
|
|
21
21
|
"@cello-protocol/protocol-types": "0.0.33"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|