@quantiya/codevibe-claude-plugin 2.0.36 → 2.0.38

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.
@@ -46,6 +46,7 @@ import { ensureFreshContextStore } from './context-store';
46
46
  import type { EnsureFreshResult } from './context-store';
47
47
  import { contextItemOccurrence, type ContextDurabilityReceipt } from './context-items';
48
48
  import { renderRehydratedSessionContext } from './context-compaction';
49
+ import type { AgentKind as LocalExecutorAgentKind } from '../local-executor/types';
49
50
  import { type TaskProgressEvent } from './task-progress';
50
51
  export declare class OrchestrationShellStartupError extends Error {
51
52
  readonly cause?: unknown;
@@ -265,7 +266,10 @@ export { renderEntryAsLine, runLineLogFallback } from './non-tty-fallback';
265
266
  export { initInkRuntime, getInkRuntime } from './ink-runtime';
266
267
  export { reducer } from './reducer';
267
268
  export { createOrchestrationStore, type OrchestrationStore } from './store';
268
- export { routeBrowse, type RouteBrowseDeps } from './route-browse';
269
+ export { routeBrowse, RETAINED_PAGE_MAX_CHARS, type RouteBrowseDeps, type RetainedBrowsePage, } from './route-browse';
270
+ export { composeBrainstormPanelBrief, fitTextToBudget, MAX_BRAINSTORM_PAGE_CHARS, MAX_BRAINSTORM_PAGE_TOKENS, MAX_BRAINSTORM_PAGE_BYTES, } from './brainstorm-quorum';
271
+ export { extractQueryRelevantSnippets, htmlToText } from './web/extract';
272
+ export { validateAgyArgPrompt, AGY_ARG_PROMPT_MAX_UTF8_BYTES, } from '../agy-cli-contract';
269
273
  export type { Mode, Tier, PlannerDecision, AgentKind, PlannerHealthState, RunningTaskState, ReviewerSeatState, GateState, ExecutionEventEntry, RefusalEventEntry, BypassEventEntry, MobileEventEntry, EventStreamEntry, ConversationEntry, QueuedTask, PendingClarification, OrchestrationState, OrchestrationAction, LastModeFile, TeamState, TeamTrackEntry, TeamTrackState, TeamMergeGateStatus, LiveProgress, } from './types';
270
274
  export { formatElapsed, isSpinnerPhase, renderProgressLine, type TaskProgressEvent, type OnProgress, } from './task-progress';
271
275
  export { runDeclaredTestSurfaces, DECLARED_TEST_TIMEOUT_MS, type DeclaredTestResult, type DeclaredTestReason, type RunDeclaredTestSurfacesArgs, } from './declared-test-runner';
@@ -483,6 +487,14 @@ export declare function createSubscribedEventDispatcher(deps: {
483
487
  * #469]). Called from the `teamShellEventTap.fn` installed at startup.
484
488
  */
485
489
  export declare function routeTeamShellEventToStore(store: OrchestrationStore, evt: TeamTapEvent): void;
490
+ export declare function readOnlyAgentPrompt(args: {
491
+ agent: LocalExecutorAgentKind;
492
+ intent: AgentMentionIntent;
493
+ advisoryBrief: string;
494
+ workingDir: string;
495
+ allowRepositoryTools: boolean;
496
+ hasRetainedPage?: boolean;
497
+ }): string;
486
498
  export declare const BRAINSTORM_PANEL_ADVISORY_TIMEOUT_MS = 1800000;
487
499
  export declare function routeReadOnlyAgentMention(args: {
488
500
  store: OrchestrationStore;
@@ -15,7 +15,7 @@ export interface RetainedBrowsePage {
15
15
  readAt: string;
16
16
  }
17
17
  /** Retained page text bound — the answerer caps again at render time. */
18
- export declare const RETAINED_PAGE_MAX_CHARS = 24000;
18
+ export declare const RETAINED_PAGE_MAX_CHARS = 120000;
19
19
  export interface RouteBrowseDeps {
20
20
  store: OrchestrationStore;
21
21
  /** Undefined when the local model isn't installed/enabled → no-model advisory. */
@@ -4,4 +4,4 @@ export { PlannerCacheLayer } from './cache';
4
4
  export { PlannerHealthMachine } from './health-state';
5
5
  export { BackendPlannerClient, PlannerBudgetExceededError, PlannerTierGateRejectedError, type PlannerAppSyncTransport, type PlannerCryptoBridge, type SessionKeyResolver, type ShellEventEmit, type EmitShellEventFn, } from './client';
6
6
  export { LocalGemmaPlannerAdapter, parseLocalGemmaPlannerDecision, PlannerOutputUnparseableError, renderLocalGemmaPlannerPrompt, type LocalGemmaPlannerRunner, } from './local-gemma';
7
- export { parseLocalGemmaAdvisorySummary, renderLocalGemmaFamiliarizePrompt, renderLocalGemmaMultiBrowsePrompt, renderLocalGemmaBrowsePrompt, MAX_MULTI_BROWSE_TOTAL_CONTENT_CHARS, MAX_MULTI_BROWSE_RENDERED_PROMPT_CHARS, type LocalGemmaAdvisoryRunner, } from './local-advisory';
7
+ export { parseLocalGemmaAdvisorySummary, renderLocalGemmaFamiliarizePrompt, renderLocalGemmaMultiBrowsePrompt, renderLocalGemmaBrowsePrompt, MAX_BROWSE_CONTENT_CHARS, MAX_MULTI_BROWSE_TOTAL_CONTENT_CHARS, MAX_MULTI_BROWSE_RENDERED_PROMPT_CHARS, type LocalGemmaAdvisoryRunner, } from './local-advisory';
@@ -39,12 +39,14 @@ export interface LocalGemmaAdvisoryOptions {
39
39
  */
40
40
  think?: boolean;
41
41
  }
42
+ export declare const MAX_RENDERED_PROMPT_CHARS = 30000;
43
+ export declare const MAX_RENDERED_PROMPT_TOKENS = 7500;
42
44
  export declare function redactAbsoluteLocalPaths(text: string): string;
43
45
  export declare function renderLocalGemmaFamiliarizePrompt(args: {
44
46
  userPrompt: string;
45
47
  summary: StructuralSummary;
46
48
  }): string;
47
- export declare const MAX_BROWSE_CONTENT_CHARS = 12000;
49
+ export declare const MAX_BROWSE_CONTENT_CHARS = 24000;
48
50
  export declare const MAX_MULTI_BROWSE_TOTAL_CONTENT_CHARS = 6000;
49
51
  /**
50
52
  * WEB-BROWSING (docs/WEB-BROWSING-DESIGN.md): build the advisory prompt for a
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe-core",
3
- "version": "2.0.31",
3
+ "version": "2.0.33",
4
4
  "description": "Core library for CodeVibe plugins - shared keychain, crypto, AppSync, and auth functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe-claude-plugin",
3
- "version": "2.0.36",
3
+ "version": "2.0.38",
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
  "codevibe": {
@@ -48,7 +48,7 @@
48
48
  "node": ">=22.0.0"
49
49
  },
50
50
  "dependencies": {
51
- "@quantiya/codevibe-core": "^2.0.31",
51
+ "@quantiya/codevibe-core": "^2.0.33",
52
52
  "@quantiya/quorum-core": "^1.0.1",
53
53
  "dotenv": "^16.6.1",
54
54
  "express": "^5.1.0",