@quantiya/codevibe-core 2.0.51 → 2.0.53

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.
@@ -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
@@ -48,7 +48,7 @@ export { runOrchestrationShell, handleShellUserInput, createOrchestrationStore,
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';
51
- export { pickMode } from './orchestration-shell';
51
+ export { pickMode, shouldRenderPlain } from './orchestration-shell';
52
52
  export { emitShellEvent, createShellEventEmitter } from './orchestration-shell';
53
53
  export { processMarkers, withRoleMarker } from './orchestration-shell';
54
54
  export { ToolActivityOutbox, type ToolActivityOutboxOptions, type ListPendingResult, } from './tool-activity';