@quantiya/codevibe-codex-plugin 2.0.64 → 2.0.66
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/server.js +38 -36
- package/node_modules/@quantiya/codevibe-core/dist/appsync/appsync-client.d.ts +302 -8
- package/node_modules/@quantiya/codevibe-core/dist/appsync/index.d.ts +25 -1
- package/node_modules/@quantiya/codevibe-core/dist/appsync/queries.d.ts +10 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/standalone-companion-status.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-deferred-inputs.d.ts +104 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-desktop-registration.d.ts +133 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-event-client.d.ts +110 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-inbound-journal.d.ts +142 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-input-delivery.d.ts +13 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-live-connection.d.ts +87 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-mobile-echo.d.ts +289 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-operation-journal.d.ts +236 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-prompt-publication.d.ts +153 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-prompt-resolution.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-prompt-retention.d.ts +99 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-read-client.d.ts +131 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-resolution-recovery.d.ts +29 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-security-posture.d.ts +32 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-session-retirement.d.ts +30 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-shell-source.d.ts +151 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-source-cursor.d.ts +529 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-source-file.d.ts +33 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-source-pair.d.ts +33 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-state.d.ts +51 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-usage-warning.d.ts +33 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/sync-workspace-outcome.d.ts +23 -0
- package/node_modules/@quantiya/codevibe-core/dist/config/config.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/oauth-account-lock.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/dist/index.d.ts +26 -0
- package/node_modules/@quantiya/codevibe-core/dist/index.js +584 -537
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/local-executor-impl.d.ts +11 -11
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.d.ts +9 -4
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +50678 -44643
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/components/OrchestrationApp.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/components/StatusBar.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/decision-attempt-recovery.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/emit-shell-event.d.ts +31 -8
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/gate-prompts.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/index.d.ts +8 -7
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/planner-offer-e1.d.ts +5 -1
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/quorum-loop.d.ts +9 -2
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/shell-sync-recovery.d.ts +23 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/slash-routes/reviewers.d.ts +3 -1
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/types.d.ts +8 -8
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/workspace-terminal-coordinator.d.ts +1 -1
- package/node_modules/@quantiya/codevibe-core/dist/planner/types.d.ts +2 -2
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/atomic-file.d.ts +13 -3
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/consolidator.d.ts +10 -2
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/index.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/ledger.d.ts +17 -9
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/outbox.d.ts +20 -2
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/replay-cursor.d.ts +2 -2
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/sync-transport.d.ts +53 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/types.d.ts +28 -24
- package/node_modules/@quantiya/codevibe-core/dist/types/events.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/types/reviewer.d.ts +14 -4
- package/node_modules/@quantiya/codevibe-core/package.json +1 -1
- package/package.json +2 -2
|
@@ -26,14 +26,14 @@ import { type ReviewedShadowDiffFile, type ShadowEnv } from './workspace-shadow'
|
|
|
26
26
|
* therefore "succeed" (await resolves) while the user sees NOTHING — and the
|
|
27
27
|
* legacy unsandboxed spawn would proceed on only a WARN.
|
|
28
28
|
*
|
|
29
|
-
* A `StrictBadgeSink` MUST instead
|
|
30
|
-
*
|
|
31
|
-
*
|
|
29
|
+
* A `StrictBadgeSink` MUST instead confirm canonical safety-notice persistence
|
|
30
|
+
* (or legacy encrypted createEvent acknowledgment), and THROW when it cannot
|
|
31
|
+
* persist (no session / stub / tap-ignored). This is not a phone ACK. For `tier:'none'` a
|
|
32
32
|
* throw → FAIL CLOSED (no legacy spawn). It is INTENTIONALLY separate from the
|
|
33
33
|
* audit emit: audit emission stays on the existing Class-A / shell-event path;
|
|
34
|
-
* this sink
|
|
34
|
+
* this sink handles both moat-OFF and coarse-egress safety warnings.
|
|
35
35
|
*
|
|
36
|
-
*
|
|
36
|
+
* Coarse-egress failure stays best effort; moat-OFF failure refuses the spawn.
|
|
37
37
|
*/
|
|
38
38
|
export type StrictBadgeSink = (badge: {
|
|
39
39
|
sessionId: string;
|
|
@@ -603,10 +603,10 @@ export declare class LocalExecutorImpl implements LocalExecutor {
|
|
|
603
603
|
*
|
|
604
604
|
* W2 Stage-2 HIGH — DELIVERY DISCIPLINE per tier:
|
|
605
605
|
* - `tier: 'none'` (the moat is fully OFF — the agent runs unsandboxed with
|
|
606
|
-
* ambient `process.env` reachable): the badge MUST be
|
|
607
|
-
* agent runs. It is routed through the STRICT
|
|
608
|
-
* (`deps.strictBadgeSink`) which
|
|
609
|
-
*
|
|
606
|
+
* ambient `process.env` reachable): the badge MUST be PERSISTED before the
|
|
607
|
+
* agent runs. It is routed through the STRICT sink
|
|
608
|
+
* (`deps.strictBadgeSink`) which confirms a canonical V2 notice or legacy
|
|
609
|
+
* encrypted createEvent acknowledgment, and THROWS on a silent no-op (no session key /
|
|
610
610
|
* stub / tap-ignored) — the ordinary `emitShellEvent` would RESOLVE without
|
|
611
611
|
* emitting in those cases (Finding 2). This method AWAITS that delivery with
|
|
612
612
|
* a bounded timeout and RE-THROWS on a reject/timeout. The WARN log stays
|
|
@@ -629,8 +629,8 @@ export declare class LocalExecutorImpl implements LocalExecutor {
|
|
|
629
629
|
* the NOTIFICATION emit settles successfully within
|
|
630
630
|
* `REDUCED_TRUST_BADGE_DELIVERY_TIMEOUT_MS`; REJECTS if the emit rejects OR the
|
|
631
631
|
* timeout fires first. The caller fails closed on a reject (refuses the
|
|
632
|
-
* unsandboxed spawn)
|
|
633
|
-
*
|
|
632
|
+
* unsandboxed spawn). This persistence deadline does not prove the user has
|
|
633
|
+
* read the notice or that a phone rendered it.
|
|
634
634
|
*/
|
|
635
635
|
private awaitBadgeDeliveryOrThrow;
|
|
636
636
|
private spawnWithLifecycle;
|
|
@@ -10,13 +10,13 @@ import type { PlannerAdapter, PlannerInput, PlannerDecision, PlannerProbeResult
|
|
|
10
10
|
import { keychainManager } from '../keychain';
|
|
11
11
|
export { keychainManager };
|
|
12
12
|
import type { TaskAuditSummaryModel } from './audit-summary';
|
|
13
|
-
import { type LocalExecutor, type AuthorityScope, type EmitShellEventFn as LEEmitShellEventFn } from '../local-executor';
|
|
13
|
+
import { type LocalExecutor, type AuthorityScope, type EmitShellEventFn as LEEmitShellEventFn, type StrictBadgeSink } from '../local-executor';
|
|
14
14
|
import { type ReviewerCredentialStore } from '../substrate-launch';
|
|
15
15
|
import { type EngineGroupState } from '../local-executor';
|
|
16
16
|
import type { TeamTapEvent } from './index';
|
|
17
17
|
import type { WorkspaceOutcomeSinkTap } from './workspace-terminal-coordinator';
|
|
18
18
|
import type { GroupDecisionSubmitDeps } from './gate-decision-submit';
|
|
19
|
-
import { QuorumLoop } from './quorum-loop';
|
|
19
|
+
import { QuorumLoop, type ReviewerSafetyNoticeSink } from './quorum-loop';
|
|
20
20
|
import type { TaskProgressEvent } from './task-progress';
|
|
21
21
|
import { type VerdictClassifier } from '../reviewer/verdict-classifier';
|
|
22
22
|
import { type LocalModelArtifactConfig, type LocalModelCommand, type LocalModelEntitlement, type LocalModelStore } from '../local-model/manager';
|
|
@@ -409,6 +409,11 @@ export interface DispatchContextTap {
|
|
|
409
409
|
brief: string;
|
|
410
410
|
}) => Promise<string>;
|
|
411
411
|
}
|
|
412
|
+
/** Same canonical reporter as implementors, without changing the reviewer's
|
|
413
|
+
* advisory policy. Local echo precedes the network; V2 never sends the reason
|
|
414
|
+
* text as an ordinary Event. The loop catches failure and still tears down. */
|
|
415
|
+
export declare function makeReviewerSafetyNoticeSink(appsyncClient: AppSyncClient, session: Session, localNotice: (message: string) => void, legacyEmitter: LEEmitShellEventFn): ReviewerSafetyNoticeSink;
|
|
416
|
+
export declare function makeStrictBadgeSink(appsyncClient: AppSyncClient, session: Session, legacyEmitter: LEEmitShellEventFn): StrictBadgeSink;
|
|
412
417
|
/**
|
|
413
418
|
* [Gemma classifier · D11 + §Wiring] Resolve the reviewer verdict classifier
|
|
414
419
|
* threaded onto `QuorumLoopDeps.classifyVerdict`.
|
|
@@ -449,8 +454,8 @@ export interface BuildQuorumLoopExecutorResult {
|
|
|
449
454
|
* CP-1.f §3.C — Stage-2 r2 (Codex) FIX B. Construct the SINGLE-TASK QuorumLoop +
|
|
450
455
|
* its driving LE for a non-team orchestration session (Pro OR Max-without-teams).
|
|
451
456
|
*
|
|
452
|
-
* The single-implementor reviewer-quorum loop is a Pro+Max feature (Pro =
|
|
453
|
-
*
|
|
457
|
+
* The single-implementor reviewer-quorum loop is a Pro+Max feature (Pro = 1
|
|
458
|
+
* seat, Max = 1–2 seats per `codevibe-policy`); only Agent Teams / MergeGate
|
|
454
459
|
* (CP-12) is Max-only. Before this fix the QuorumLoop was built ONLY inside
|
|
455
460
|
* `buildTeamLocalExecutor` (gated on `tier === 'MAX'`), so a real Pro
|
|
456
461
|
* orchestration session got NO loop → `start_task` silently no-op'd (the only
|