@ai-ecoverse/slicc-spectrum 2.9.2 → 2.10.0
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/README.md +7 -5
- package/dist/slicc-dummy.js +26 -1
- package/dist/slicc-dummy.js.map +2 -2
- package/dist/slicc-ui.js +24 -5
- package/dist/slicc-ui.js.map +3 -3
- package/dist/types/dummy/approvals.d.ts +1 -1
- package/dist/types/model/types.d.ts +2 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { Emitter } from '../model/emitter.js';
|
|
|
2
2
|
import type { Approval, ApprovalDecision, ApprovalEnd, ApprovalsEvents, ApprovalsPort, PendingRequest, SecretApproval } from '../model/types.js';
|
|
3
3
|
import type { Clock } from './clock.js';
|
|
4
4
|
import type { DummyVault } from './vault.js';
|
|
5
|
-
export type ApprovalScenario = 'agent' | 'user' | 'many' | 'follower' | 'fail' | 'soon' | 'elsewhere' | 'withdrawn' | 'secrets' | 'judge-denied' | 'level-1' | 'level-2' | 'level-3' | 'checking' | 'no-verdict' | 'legacy' | 'guest' | 'guest-follower' | 'guest-always' | 'long' | 'controls-cr' | 'controls-lf' | 'controls-place' | 'controls-cwd' | 'guest-args' | 'guest-empty' | 'guest-truncated' | 'tray' | 'tray-url' | 'tray-rotate' | 'tray-unlink' | 'tray-expired' | 'secret' | 'secret-enter' | 'secret-reveal' | 'secret-long' | 'click' | 'click-remote' | 'capture' | 'none';
|
|
5
|
+
export type ApprovalScenario = 'agent' | 'user' | 'many' | 'follower' | 'fail' | 'soon' | 'elsewhere' | 'withdrawn' | 'secrets' | 'judge-denied' | 'level-1' | 'level-2' | 'level-3' | 'checking' | 'no-verdict' | 'legacy' | 'guest' | 'guest-follower' | 'guest-always' | 'long' | 'controls-cr' | 'controls-lf' | 'controls-place' | 'controls-cwd' | 'guest-args' | 'guest-empty' | 'guest-truncated' | 'tray' | 'tray-url' | 'tray-rotate' | 'tray-unlink' | 'tray-expired' | 'secret' | 'secret-enter' | 'secret-reveal' | 'secret-long' | 'click' | 'click-remote' | 'capture' | 'stop' | 'none';
|
|
6
6
|
export declare const guestArgs: string;
|
|
7
7
|
export declare function pendingAsk(approval: SecretApproval): PendingRequest;
|
|
8
8
|
export declare function approvalFixtures(scenario: ApprovalScenario, now?: number): Approval[];
|
|
@@ -984,7 +984,7 @@ export interface NoticesPort extends Subscribable<{
|
|
|
984
984
|
act(id: string, action: string): Promise<void>;
|
|
985
985
|
dismiss(id: string): void;
|
|
986
986
|
}
|
|
987
|
-
export type ApprovalDecision = 'once' | 'always' | 'deny';
|
|
987
|
+
export type ApprovalDecision = 'once' | 'always' | 'deny' | 'stop';
|
|
988
988
|
export interface ApprovalRequester {
|
|
989
989
|
kind: 'agent' | 'user' | 'guest';
|
|
990
990
|
name: string;
|
|
@@ -1012,6 +1012,7 @@ export interface SudoApproval {
|
|
|
1012
1012
|
verdict?: ApprovalVerdict;
|
|
1013
1013
|
judging?: boolean;
|
|
1014
1014
|
verdictError?: string;
|
|
1015
|
+
stoppable?: boolean;
|
|
1015
1016
|
}
|
|
1016
1017
|
export interface GuestMessageApproval {
|
|
1017
1018
|
id: string;
|
package/package.json
CHANGED