@quantiya/codevibe-claude-plugin 1.0.36 → 1.0.37
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/.claude-plugin/plugin.json +1 -1
- package/dist/server.js +13 -13
- package/node_modules/@quantiya/codevibe-core/dist/appsync/__tests__/appsync-client.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/appsync-client.d.ts +139 -1
- package/node_modules/@quantiya/codevibe-core/dist/appsync/queries.d.ts +5 -0
- package/node_modules/@quantiya/codevibe-core/dist/audit-keys/__tests__/audit-keys-parity.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/audit-keys/index.d.ts +41 -0
- package/node_modules/@quantiya/codevibe-core/dist/auth/__tests__/auth-telemetry.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/auth/auth-telemetry.d.ts +29 -8
- package/node_modules/@quantiya/codevibe-core/dist/index.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/dist/index.js +194 -33
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/__tests__/setup-bootstrap.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/__tests__/setup-failure-recourse.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/__tests__/setup-save.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/__tests__/setup-seat-picker.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/__tests__/setup-telemetry.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/__tests__/setup-test-agents.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/__tests__/setup-types.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/__tests__/setup-wizard.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/__tests__/v1-options.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/detect-agents.d.ts +56 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/index.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/orchestration-cli.d.ts +12 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-bootstrap.d.ts +146 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-failure-recourse.d.ts +23 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-save.d.ts +47 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-seat-picker.d.ts +72 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-telemetry.d.ts +54 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-test-agents.d.ts +108 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-types.d.ts +140 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-wizard.d.ts +57 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/v1-options.d.ts +108 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/__tests__/integration.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/__tests__/mocks.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/__tests__/output-parser.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/__tests__/registry.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/__tests__/subprocess.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/index.d.ts +15 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/mocks.d.ts +80 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/output-parser.d.ts +95 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/provider.d.ts +153 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/__tests__/claude-live-smoke.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/__tests__/claude.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/__tests__/codex-live-smoke.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/__tests__/codex.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/__tests__/gemini-live-smoke.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/__tests__/gemini.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/claude.d.ts +59 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/codex.d.ts +67 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/common.d.ts +25 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/gemini.d.ts +108 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/registry.d.ts +87 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/subprocess.d.ts +117 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/types.d.ts +101 -0
- package/node_modules/@quantiya/codevibe-core/dist/types/index.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/types/orchestration.d.ts +57 -0
- package/node_modules/@quantiya/codevibe-core/dist/types/reviewer.d.ts +67 -0
- package/node_modules/@quantiya/codevibe-core/dist/types/session.d.ts +16 -0
- package/package.json +1 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Review lens a reviewer seat evaluates through. Mirrors
|
|
3
|
+
* codevibe-policy::ReviewerRole in the Rust engine.
|
|
4
|
+
*
|
|
5
|
+
* **Append-only post-launch** per the 2026-04-23 memory lock — these
|
|
6
|
+
* string values are cryptographically bound into the audit hash chain
|
|
7
|
+
* once used. Renaming or removing a value would break chain verification
|
|
8
|
+
* on every prior entry. Add new values freely; never rename or remove.
|
|
9
|
+
*
|
|
10
|
+
* UPPERCASE here (matches AppSync GraphQL enum convention). The Lambda
|
|
11
|
+
* translates to snake_case before writing to the audit chain / Rust
|
|
12
|
+
* engine wire.
|
|
13
|
+
*/
|
|
14
|
+
export declare enum ReviewerRole {
|
|
15
|
+
ARCHITECTURE = "ARCHITECTURE",
|
|
16
|
+
CORRECTNESS = "CORRECTNESS",
|
|
17
|
+
SECURITY = "SECURITY",
|
|
18
|
+
ACCURACY = "ACCURACY",
|
|
19
|
+
CLARITY = "CLARITY",
|
|
20
|
+
COMPLETENESS = "COMPLETENESS",
|
|
21
|
+
ARCHITECTURE_AND_ACCURACY = "ARCHITECTURE_AND_ACCURACY",
|
|
22
|
+
CORRECTNESS_AND_CLARITY = "CORRECTNESS_AND_CLARITY",
|
|
23
|
+
SECURITY_AND_COMPLETENESS = "SECURITY_AND_COMPLETENESS"
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* One seat in a user's reviewer panel. `seat_id` is the panel position
|
|
27
|
+
* (0-indexed: Pro has seats 0–1, Max has 0–2). `role` is the review lens
|
|
28
|
+
* — unique within a policy. `agent` (CLAUDE | GEMINI | CODEX) may repeat
|
|
29
|
+
* across seats — single-vendor users get multiple same-kind seats with
|
|
30
|
+
* distinct roles.
|
|
31
|
+
*/
|
|
32
|
+
export interface ReviewerAgentSpec {
|
|
33
|
+
seatId: number;
|
|
34
|
+
role: ReviewerRole;
|
|
35
|
+
agent: 'CLAUDE' | 'GEMINI' | 'CODEX';
|
|
36
|
+
modelHint?: string | null;
|
|
37
|
+
}
|
|
38
|
+
export interface ReviewerAgentSpecInput {
|
|
39
|
+
seatId: number;
|
|
40
|
+
role: ReviewerRole;
|
|
41
|
+
agent: 'CLAUDE' | 'GEMINI' | 'CODEX';
|
|
42
|
+
modelHint?: string | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Input for updateReviewerPolicy. Fields are independent:
|
|
46
|
+
* - orchestrationEnabledDefault: set to true/false to persist the user's
|
|
47
|
+
* opt-in preference for new sessions. Null = leave unchanged.
|
|
48
|
+
* - reviewerSeats: non-empty array sets a custom panel. Empty array
|
|
49
|
+
* resets to tier defaults. Null = leave unchanged.
|
|
50
|
+
*/
|
|
51
|
+
export interface UpdateReviewerPolicyInput {
|
|
52
|
+
orchestrationEnabledDefault?: boolean | null;
|
|
53
|
+
reviewerSeats?: ReviewerAgentSpecInput[] | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* User record returned by updateAvailableAgents and updateReviewerPolicy.
|
|
57
|
+
* Subset of the full AppSync User type — only the fields the two mutations
|
|
58
|
+
* return. Use this in the AppSyncClient response typing, not as a general
|
|
59
|
+
* "User" replacement.
|
|
60
|
+
*/
|
|
61
|
+
export interface UserReviewerPolicySnapshot {
|
|
62
|
+
userId: string;
|
|
63
|
+
availableAgents?: Array<'CLAUDE' | 'GEMINI' | 'CODEX'> | null;
|
|
64
|
+
orchestrationEnabledDefault?: boolean | null;
|
|
65
|
+
reviewerSeats?: ReviewerAgentSpec[] | null;
|
|
66
|
+
updatedAt: string;
|
|
67
|
+
}
|
|
@@ -32,6 +32,12 @@ export interface Session {
|
|
|
32
32
|
creatorDeviceId?: string;
|
|
33
33
|
encryptionVersion?: number;
|
|
34
34
|
lastHeartbeatAt?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Quorum 2.0 opt-in flag (2f.0.a.3). True routes the session to the
|
|
37
|
+
* 2.0 orchestration flow once 2f.3 Lambda is live; null/false keeps
|
|
38
|
+
* the 1.0 companion flow.
|
|
39
|
+
*/
|
|
40
|
+
orchestrationEnabled?: boolean | null;
|
|
35
41
|
}
|
|
36
42
|
/**
|
|
37
43
|
* GraphQL input for creating sessions
|
|
@@ -47,6 +53,11 @@ export interface CreateSessionInput {
|
|
|
47
53
|
creatorDeviceId?: string;
|
|
48
54
|
isEncrypted?: boolean;
|
|
49
55
|
encryptionVersion?: number;
|
|
56
|
+
/**
|
|
57
|
+
* Quorum 2.0 (2f.0.a.3). Null/absent = server reads
|
|
58
|
+
* User.orchestrationEnabledDefault (option 6a auto-populate).
|
|
59
|
+
*/
|
|
60
|
+
orchestrationEnabled?: boolean;
|
|
50
61
|
}
|
|
51
62
|
/**
|
|
52
63
|
* GraphQL input for updating sessions
|
|
@@ -56,4 +67,9 @@ export interface UpdateSessionInput {
|
|
|
56
67
|
status?: SessionStatus;
|
|
57
68
|
metadata?: Record<string, any>;
|
|
58
69
|
lastHeartbeatAt?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Quorum 2.0 (2f.0.a.3). Per-session override for the orchestration
|
|
72
|
+
* opt-in. Plugin CLI --orchestration/--no-orchestration sets this.
|
|
73
|
+
*/
|
|
74
|
+
orchestrationEnabled?: boolean;
|
|
59
75
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantiya/codevibe-claude-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.37",
|
|
4
4
|
"description": "Control Claude Code from your iPhone and Android — real-time sync, approve file edits, send prompts by voice. Part of CodeVibe.",
|
|
5
5
|
"main": "dist/server.js",
|
|
6
6
|
"bin": {
|