@quantiya/codevibe-core 2.0.50 → 2.0.52

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.
@@ -968,6 +968,7 @@ export declare class AppSyncClient {
968
968
  generatePlannerAdvisory(input: {
969
969
  sessionId: string;
970
970
  prompt: string;
971
+ images?: string[];
971
972
  maxTokens?: number;
972
973
  temperature?: number;
973
974
  }): Promise<{
@@ -15,10 +15,10 @@ export interface ProviderConfig {
15
15
  readonly synthesizedHeaders: Readonly<Record<string, string>>;
16
16
  /**
17
17
  * The EXACT allowlist of `anthropic-beta` (or provider equivalent)
18
- * tokens the broker will pass through. A request carrying a beta token
19
- * outside this set is rejected (400) — header VALUES are agent-
20
- * controlled and can carry data (Codex R2). Empty for OpenAI (no beta
21
- * header is forwarded).
18
+ * tokens the broker will pass through. Non-allowlisted tokens are
19
+ * filtered out (dropped) by the canonical constructor — header VALUES
20
+ * are agent-controlled and cannot ride through unreviewed (Codex R2).
21
+ * Empty for OpenAI (no beta header is forwarded).
22
22
  */
23
23
  readonly betaTokenAllowlist: ReadonlySet<string>;
24
24
  /**
@@ -62,9 +62,9 @@ export declare function requestSha256(body: unknown): string;
62
62
  /**
63
63
  * Build the canonical upstream request (§3.4 step 0). Rejects (throws
64
64
  * `CanonicalRejectError` → 400) anything outside the canonical shape:
65
- * non-JSON content type, a body that isn't a JSON object, or a non-
66
- * allowlisted beta token. DROPS the agent's auth / every other header /
67
- * all query params silently (they simply do not survive into the result).
65
+ * non-JSON content type, a body that isn't a JSON object, or a non-canonical
66
+ * model ID. Non-allowlisted beta tokens are FILTERED (dropped); agent auth /
67
+ * every other header / all query params are DROPPED silently.
68
68
  */
69
69
  export declare function buildCanonicalRequest(input: CanonicalInput): CanonicalRequest;
70
70
  /**
package/dist/index.d.ts CHANGED
@@ -44,7 +44,7 @@ export { assertReviewerVendorCredential, reviewerProviderFor, withReviewerCreden
44
44
  export { OllamaGemmaPlannerRunner, type OllamaRuntimeConfig } from './local-model/ollama';
45
45
  export * as Continuation from './continuation';
46
46
  export * as StructuralSummary from './structural-summary';
47
- export { runOrchestrationShell, handleShellUserInput, createOrchestrationStore, type OrchestrationStore, routeBrowse, type RouteBrowseDeps, type RetainedBrowsePage, RETAINED_PAGE_MAX_CHARS, composeBrainstormPanelBrief, MAX_BRAINSTORM_PAGE_CHARS, MAX_BRAINSTORM_PAGE_TOKENS, MAX_BRAINSTORM_PAGE_BYTES, extractQueryRelevantSnippets, htmlToText, validateAgyArgPrompt, AGY_ARG_PROMPT_MAX_UTF8_BYTES, renderProgressLine, formatElapsed, isSpinnerPhase, createTaskProgressRelay, formatMobileProgressMessage, MAX_MOBILE_PROGRESS_MESSAGE_LENGTH, type TaskProgressEvent, type OnProgress, type TaskProgressRelay, type TaskProgressRelayDeps, } from './orchestration-shell';
47
+ export { runOrchestrationShell, handleShellUserInput, createOrchestrationStore, type OrchestrationStore, routeBrowse, type RouteBrowseDeps, type RetainedBrowsePage, RETAINED_PAGE_MAX_CHARS, composeBrainstormPanelBrief, MAX_BRAINSTORM_PAGE_CHARS, MAX_BRAINSTORM_PAGE_TOKENS, MAX_BRAINSTORM_PAGE_BYTES, extractQueryRelevantSnippets, isPromptRelevantToRetainedPage, htmlToText, validateAgyArgPrompt, AGY_ARG_PROMPT_MAX_UTF8_BYTES, renderProgressLine, formatElapsed, isSpinnerPhase, createTaskProgressRelay, formatMobileProgressMessage, MAX_MOBILE_PROGRESS_MESSAGE_LENGTH, type TaskProgressEvent, type OnProgress, type TaskProgressRelay, type TaskProgressRelayDeps, } from './orchestration-shell';
48
48
  export { renderConversationEntry, ConversationPane, renderEntryAsLine, runLineLogFallback } from './orchestration-shell';
49
49
  export { initInkRuntime, getInkRuntime } from './orchestration-shell';
50
50
  export { runCompanionMode } from './companion-mode';