@quantiya/codevibe-core 2.0.49 → 2.0.51
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/appsync/appsync-client.d.ts +24 -0
- package/dist/appsync/index.d.ts +2 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +493 -482
- package/dist/keychain/keychain-backend.d.ts +16 -0
- package/dist/orchestration-shell/attachments.d.ts +7 -0
- package/dist/orchestration-shell/cli.d.ts +1 -1
- package/dist/orchestration-shell/cli.js +504 -68
- package/dist/orchestration-shell/index.d.ts +5 -4
- package/dist/orchestration-shell/web/extract.d.ts +12 -0
- package/dist/planner/client.d.ts +1 -0
- package/dist/planner/composite-advisory.d.ts +1 -0
- package/dist/planner/hosted-advisory.d.ts +4 -1
- package/dist/tool-activity/types.d.ts +12 -12
- package/package.json +1 -1
|
@@ -489,6 +489,22 @@ export declare function shouldDeliverSubscribedEvent(event: Pick<Event, 'source'
|
|
|
489
489
|
* failure from a genuine sign-in rejection.
|
|
490
490
|
*/
|
|
491
491
|
export type AuthFailureKind = 'no_tokens' | 'refresh_auth_rejected' | 'refresh_network' | 'credential_storage_unavailable';
|
|
492
|
+
/**
|
|
493
|
+
* Exit code a companion daemon uses when it cannot read its stored credentials.
|
|
494
|
+
* The plugins' hooks and launchers key their user-facing message off it, so a
|
|
495
|
+
* credential-store failure is never reported as "run codevibe login".
|
|
496
|
+
*/
|
|
497
|
+
export declare const CREDENTIAL_STORAGE_UNAVAILABLE_EXIT_CODE = 78;
|
|
498
|
+
export interface StoredAuthFailureReport {
|
|
499
|
+
exitCode: number;
|
|
500
|
+
message: string;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* What a companion daemon prints, and exits with, when
|
|
504
|
+
* `authenticateWithStoredTokens()` fails. Signing in again repairs only a missing
|
|
505
|
+
* or rejected sign-in; for the other kinds it says what actually went wrong.
|
|
506
|
+
*/
|
|
507
|
+
export declare function describeStoredAuthFailure(kind: AuthFailureKind | null, detail: string | null): StoredAuthFailureReport;
|
|
492
508
|
export declare const DEFAULT_HEARTBEAT_INTERVAL_MS = 120000;
|
|
493
509
|
export declare const MIN_HEARTBEAT_INTERVAL_MS = 1000;
|
|
494
510
|
export declare const MAX_HEARTBEAT_INTERVAL_MS = 300000;
|
|
@@ -530,6 +546,11 @@ export declare class AppSyncClient {
|
|
|
530
546
|
* round-1 Codex M1.
|
|
531
547
|
*/
|
|
532
548
|
private lastAuthFailureKind;
|
|
549
|
+
/**
|
|
550
|
+
* The credential-store error message behind a `credential_storage_unavailable`
|
|
551
|
+
* failure (it names the cause and the fix). `null` for every other outcome.
|
|
552
|
+
*/
|
|
553
|
+
private lastAuthFailureDetail;
|
|
533
554
|
/**
|
|
534
555
|
* Sentinel set inside `performRefresh` / `callCognitoRefresh` when
|
|
535
556
|
* the refresh round-trip fails with a network-shaped error (DNS,
|
|
@@ -592,6 +613,8 @@ export declare class AppSyncClient {
|
|
|
592
613
|
* cannot repair a locked or unavailable keyring.
|
|
593
614
|
*/
|
|
594
615
|
getLastAuthFailureKind(): AuthFailureKind | null;
|
|
616
|
+
/** The credential-store error message behind a `credential_storage_unavailable` failure. */
|
|
617
|
+
getLastAuthFailureDetail(): string | null;
|
|
595
618
|
/**
|
|
596
619
|
* Heuristic — does the error message look like a transient network
|
|
597
620
|
* failure rather than an auth-token rejection? Used for refresh-path
|
|
@@ -945,6 +968,7 @@ export declare class AppSyncClient {
|
|
|
945
968
|
generatePlannerAdvisory(input: {
|
|
946
969
|
sessionId: string;
|
|
947
970
|
prompt: string;
|
|
971
|
+
images?: string[];
|
|
948
972
|
maxTokens?: number;
|
|
949
973
|
temperature?: number;
|
|
950
974
|
}): Promise<{
|
package/dist/appsync/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { AppSyncClient, AppSyncAuthenticationError, AppSyncGraphQLError, DownloadUrlResponse, resolveHeartbeatIntervalMs, DEFAULT_HEARTBEAT_INTERVAL_MS, MIN_HEARTBEAT_INTERVAL_MS, MAX_HEARTBEAT_INTERVAL_MS, isRecognizedNonProductionEnvironment, RECOGNIZED_NON_PRODUCTION_ENVIRONMENTS, } from './appsync-client';
|
|
1
|
+
export { AppSyncClient, AppSyncAuthenticationError, AppSyncGraphQLError, DownloadUrlResponse, resolveHeartbeatIntervalMs, DEFAULT_HEARTBEAT_INTERVAL_MS, MIN_HEARTBEAT_INTERVAL_MS, MAX_HEARTBEAT_INTERVAL_MS, isRecognizedNonProductionEnvironment, RECOGNIZED_NON_PRODUCTION_ENVIRONMENTS, CREDENTIAL_STORAGE_UNAVAILABLE_EXIT_CODE, describeStoredAuthFailure, } from './appsync-client';
|
|
2
|
+
export type { AuthFailureKind, StoredAuthFailureReport } from './appsync-client';
|
|
2
3
|
export { coerceAwsJsonObject } from './appsync-client';
|
|
3
4
|
export type { ClassBPacketEnvelopeMeta } from './appsync-client';
|
|
4
5
|
export type { TaskReviewSummary, TaskReviewSummaryRound, TaskReviewSummaryReviewer, TaskGroupStatusResult, PutContextItemInput, } from './appsync-client';
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export { AppSyncClient, AppSyncGraphQLError, DownloadUrlResponse } from './appsy
|
|
|
11
11
|
export { queries, mutations, subscriptions } from './appsync';
|
|
12
12
|
export { isPersistedEventResult } from './appsync';
|
|
13
13
|
export type { PutContextItemInput } from './appsync';
|
|
14
|
+
export { CREDENTIAL_STORAGE_UNAVAILABLE_EXIT_CODE, describeStoredAuthFailure } from './appsync';
|
|
15
|
+
export type { AuthFailureKind, StoredAuthFailureReport } from './appsync';
|
|
14
16
|
export { AuthService, authService } from './auth';
|
|
15
17
|
export { bindOAuthServer, PRIMARY_PORT, PORT_RANGE_SIZE } from './auth';
|
|
16
18
|
export { runAuthCli } from './auth';
|
|
@@ -42,7 +44,7 @@ export { assertReviewerVendorCredential, reviewerProviderFor, withReviewerCreden
|
|
|
42
44
|
export { OllamaGemmaPlannerRunner, type OllamaRuntimeConfig } from './local-model/ollama';
|
|
43
45
|
export * as Continuation from './continuation';
|
|
44
46
|
export * as StructuralSummary from './structural-summary';
|
|
45
|
-
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';
|
|
46
48
|
export { renderConversationEntry, ConversationPane, renderEntryAsLine, runLineLogFallback } from './orchestration-shell';
|
|
47
49
|
export { initInkRuntime, getInkRuntime } from './orchestration-shell';
|
|
48
50
|
export { runCompanionMode } from './companion-mode';
|