dsh-github-copilot 0.4.0-alpha.107 → 0.4.0-alpha.109

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/lib/remote.js CHANGED
@@ -43,7 +43,7 @@ const DualModelCreateSchema = z.object({
43
43
  expectedRevision: revision$1
44
44
  }).strict();
45
45
  const DualModelCreateResultSchema = z.object({ sessionId: id }).strict();
46
- const contribution$7 = {
46
+ const contribution$8 = {
47
47
  package: "dsh-github-copilot",
48
48
  descriptors: [
49
49
  {
@@ -85,7 +85,7 @@ const contribution$7 = {
85
85
  }
86
86
  ]
87
87
  };
88
- const contribution$6 = {
88
+ const contribution$7 = {
89
89
  package: "dsh-github-copilot",
90
90
  descriptors: [{
91
91
  id: "dsh-github-copilot:githubCopilotSearchRouting.providers",
@@ -216,7 +216,7 @@ const CopilotUsageViewSchema = z.object({
216
216
  if (view.remaining !== void 0 && view.percentUsed !== void 0 && Math.abs((1 - view.remaining / view.limit) * 100 - view.percentUsed) > 1) invalid();
217
217
  }
218
218
  });
219
- const contribution$5 = {
219
+ const contribution$6 = {
220
220
  package: "dsh-github-copilot",
221
221
  descriptors: ["get", "refresh"].map((method) => ({
222
222
  id: `dsh-github-copilot:githubCopilotUsage.${method}`,
@@ -362,7 +362,7 @@ z.object({
362
362
  }).strict();
363
363
  //#endregion
364
364
  //#region lib/types/turn-selection-remote.js
365
- const contribution$4 = {
365
+ const contribution$5 = {
366
366
  package: "dsh-github-copilot",
367
367
  descriptors: [{
368
368
  id: "dsh-github-copilot:githubCopilotTurnSelection.get",
@@ -424,7 +424,7 @@ const agent$1 = {
424
424
  lookup: "agent",
425
425
  codec: strictRemoteCodec("@deepseek-ai/dsh-session/types#SessionId", z.string().min(1).max(256))
426
426
  };
427
- const contribution$3 = {
427
+ const contribution$4 = {
428
428
  package: "dsh-github-copilot",
429
429
  descriptors: [
430
430
  {
@@ -532,7 +532,7 @@ const CopilotAccountsViewSchema = z.object({
532
532
  if (row.identity !== void 0 && !row.configured) invalid();
533
533
  }
534
534
  });
535
- const contribution$2 = {
535
+ const contribution$3 = {
536
536
  package: "dsh-github-copilot",
537
537
  descriptors: [
538
538
  "get",
@@ -585,7 +585,7 @@ const agent = {
585
585
  lookup: "agent",
586
586
  codec: strictRemoteCodec("@deepseek-ai/dsh-session/types#SessionId", z.string().min(1).max(256))
587
587
  };
588
- const contribution$1 = {
588
+ const contribution$2 = {
589
589
  package: "dsh-github-copilot",
590
590
  descriptors: [
591
591
  "get",
@@ -621,6 +621,66 @@ const contribution$1 = {
621
621
  }))
622
622
  };
623
623
  //#endregion
624
+ //#region lib/types/session-continuation-types.js
625
+ const SessionContinuationPreferenceSchema = z.object({
626
+ sessionId: z.string().min(1).max(256).refine((value) => !/[\p{Cc}\p{Cf}]/u.test(value)),
627
+ version: z.literal(1),
628
+ consentedAt: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
629
+ enabled: z.boolean().optional()
630
+ }).strict();
631
+ z.array(SessionContinuationPreferenceSchema).max(2048).refine((rows) => new Set(rows.map((row) => row.sessionId)).size === rows.length);
632
+ z.array(z.object({
633
+ enabled: z.boolean(),
634
+ changedAt: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER)
635
+ }).strict()).max(2048).refine((rows) => rows.every((row, index) => index === 0 || row.changedAt > rows[index - 1].changedAt));
636
+ const ContinuationDefaultViewSchema = z.object({
637
+ enabled: z.boolean(),
638
+ revision: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER)
639
+ }).strict();
640
+ const SessionContinuationViewSchema = z.object({
641
+ enabled: z.boolean(),
642
+ revision: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
643
+ activeTurnEnabled: z.boolean().optional(),
644
+ source: z.enum(["default", "session"]).optional(),
645
+ nextTurnAuthorized: z.boolean().optional()
646
+ }).strict();
647
+ //#endregion
648
+ //#region lib/types/session-continuation-remote.js
649
+ const contribution$1 = {
650
+ package: "dsh-github-copilot",
651
+ descriptors: [
652
+ "get",
653
+ "set",
654
+ "authorizeNext",
655
+ "defaults",
656
+ "setDefault"
657
+ ].map((method) => ({
658
+ id: `dsh-github-copilot:githubCopilotSessionContinuation.${method}`,
659
+ namespace: "githubCopilotSessionContinuation",
660
+ service: "githubCopilotSessionContinuation",
661
+ method,
662
+ invocation: { kind: "direct" },
663
+ parameters: [...method === "defaults" || method === "setDefault" ? [] : [{
664
+ name: "agent",
665
+ wire: "agentId",
666
+ source: "lookup",
667
+ lookup: "agent",
668
+ codec: strictRemoteCodec("@deepseek-ai/dsh-session/types#SessionId", z.string().min(1).max(256))
669
+ }], ...method === "set" || method === "authorizeNext" || method === "setDefault" ? [{
670
+ name: "revision",
671
+ wire: "revision",
672
+ source: "json",
673
+ codec: strictRemoteCodec("dsh-github-copilot#SessionContinuationRevision", z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER))
674
+ }, {
675
+ name: "enabled",
676
+ wire: "enabled",
677
+ source: "json",
678
+ codec: strictRemoteCodec("dsh-github-copilot#SessionContinuationEnabled", method === "set" ? z.boolean().nullable() : z.boolean())
679
+ }] : []],
680
+ result: method === "defaults" || method === "setDefault" ? strictRemoteCodec("dsh-github-copilot#ContinuationDefaultView", ContinuationDefaultViewSchema) : strictRemoteCodec("dsh-github-copilot#SessionContinuationView", SessionContinuationViewSchema)
681
+ }))
682
+ };
683
+ //#endregion
624
684
  //#region lib/types/remote.js
625
685
  /**
626
686
  * Client-safe Remote contribution for the plugin-owned authorization bridge.
@@ -829,6 +889,7 @@ const contribution = {
829
889
  parameters: [],
830
890
  result: strictRemoteCodec(GITHUB_COPILOT_MIGRATION_STATUS_TYPE_SYMBOL, GitHubCopilotMigrationStatusSchema)
831
891
  },
892
+ ...contribution$8.descriptors,
832
893
  ...contribution$7.descriptors,
833
894
  ...contribution$6.descriptors,
834
895
  ...contribution$5.descriptors,
@@ -10,6 +10,7 @@ import type { ProviderCardExtrasOwnerProps, SettingsSectionOwnerProps } from './
10
10
  export { HostedSearchSettingsCard, WebSearchRoutingCard } from './web-search-routing-card.ts';
11
11
  export { ParentModelFollowCard } from './parent-model-follow-card.ts';
12
12
  export { CopilotUsageCard } from './copilot-usage-card.ts';
13
+ import type { SessionContinuationRemote } from './session-continuation-ui.ts';
13
14
  import type { CopilotAccountsRemote } from './copilot-accounts-card.ts';
14
15
  import { copyAuthorizationCode } from './authorization-code-clipboard.ts';
15
16
  export { copyAuthorizationCode };
@@ -72,6 +73,8 @@ export declare function GitHubCopilotAccountModelsPanel(props: {
72
73
  interface GitHubCopilotPreviewFooterProps {
73
74
  readonly remote: ClientContext['remote']['githubCopilot'];
74
75
  readonly accountsRemote?: CopilotAccountsRemote;
76
+ readonly continuationRemote?: SessionContinuationRemote;
77
+ readonly continuationSettings?: ReactElement;
75
78
  readonly locale?: string;
76
79
  /** A slot coordinator owns this controller's attachment across surface handoffs. */
77
80
  readonly account?: ReturnType<typeof createCompactAccount>;
@@ -0,0 +1,7 @@
1
+ import type { CSSProperties } from 'react';
2
+ export declare const composerNoticeStyle: CSSProperties;
3
+ export declare const composerNoticeSurfaceStyle: CSSProperties;
4
+ export declare const composerNoticeQuietButtonStyle: CSSProperties;
5
+ export declare const composerNoticeParagraphStyle: CSSProperties;
6
+ export declare const composerNoticeButtonStyle: CSSProperties;
7
+ //# sourceMappingURL=composer-notice-style.d.ts.map
@@ -9,6 +9,7 @@ import type { WebSearchRoutingConfig } from './web-search-routing-config.ts';
9
9
  import type { LiveSetting } from './settings-reader.ts';
10
10
  import type { ParentModelBinding } from './parent-model-follow.ts';
11
11
  import type { SessionAccountPreference } from './session-accounts.ts';
12
+ import type { SessionContinuationPreference } from './session-continuation-types.ts';
12
13
  /** Plugin configuration. Defaults make the current chat route decide. */
13
14
  export interface InlineConfig {
14
15
  /** Hosted-search switch; managed chat requests remain enabled. */
@@ -44,6 +45,12 @@ export interface InlineConfig {
44
45
  activeAccountId?: string;
45
46
  /** Explicit Session overrides; absence means follow the profile default. */
46
47
  sessionAccounts?: SessionAccountPreference[];
48
+ /** Explicit lossy continuation consent for exact Sessions, never inherited. */
49
+ sessionContinuation?: SessionContinuationPreference[];
50
+ continuationDefaultHistory?: {
51
+ enabled: boolean;
52
+ changedAt: number;
53
+ }[];
47
54
  /** Explicit native child/direct-parent enrollments; empty preserves native routing. */
48
55
  parentModelFollow?: ParentModelBinding[];
49
56
  /** Profile-wide next-turn policy for supported native children. */
@@ -67,7 +74,12 @@ export interface InlineConfig {
67
74
  /** Internal JSON backup of route leaves temporarily owned by the GPT-6 overlay. */
68
75
  temporaryRouteBackup?: string;
69
76
  }
70
- export type LiveInlineConfig = Omit<InlineConfig, 'searchModel' | 'searchRouting' | 'temporaryRouteBackup' | 'excludedModelIds' | 'parentModelFollow' | 'followParentModel' | 'activeAccountId' | 'sessionAccounts'> & {
77
+ export type LiveInlineConfig = Omit<InlineConfig, 'searchModel' | 'searchRouting' | 'temporaryRouteBackup' | 'excludedModelIds' | 'parentModelFollow' | 'followParentModel' | 'activeAccountId' | 'sessionAccounts' | 'sessionContinuation' | 'continuationDefaultHistory'> & {
78
+ continuationDefaultHistory?: InlineConfig['continuationDefaultHistory'] | LiveSetting<ArrayLike<{
79
+ enabled: boolean;
80
+ changedAt: number;
81
+ }>>;
82
+ sessionContinuation?: SessionContinuationPreference[] | LiveSetting<ArrayLike<SessionContinuationPreference>>;
71
83
  sessionAccounts?: SessionAccountPreference[] | LiveSetting<ArrayLike<SessionAccountPreference>>;
72
84
  activeAccountId?: string | LiveSetting<string | undefined>;
73
85
  followParentModel?: boolean | LiveSetting<boolean>;
@@ -77,7 +89,12 @@ export type LiveInlineConfig = Omit<InlineConfig, 'searchModel' | 'searchRouting
77
89
  searchRouting?: WebSearchRoutingConfig | LiveSetting<WebSearchRoutingConfig | undefined>;
78
90
  temporaryRouteBackup?: string | LiveSetting<string | undefined>;
79
91
  };
80
- export type ResolvedInlineConfig = Omit<InlineConfig, 'searchModel' | 'searchRouting' | 'temporaryRouteBackup' | 'excludedModelIds' | 'parentModelFollow' | 'followParentModel' | 'activeAccountId' | 'sessionAccounts'> & {
92
+ export type ResolvedInlineConfig = Omit<InlineConfig, 'searchModel' | 'searchRouting' | 'temporaryRouteBackup' | 'excludedModelIds' | 'parentModelFollow' | 'followParentModel' | 'activeAccountId' | 'sessionAccounts' | 'sessionContinuation' | 'continuationDefaultHistory'> & {
93
+ continuationDefaultHistory: LiveSetting<ArrayLike<{
94
+ enabled: boolean;
95
+ changedAt: number;
96
+ }>>;
97
+ sessionContinuation: LiveSetting<ArrayLike<SessionContinuationPreference>>;
81
98
  sessionAccounts: LiveSetting<ArrayLike<SessionAccountPreference>>;
82
99
  activeAccountId: LiveSetting<string | undefined>;
83
100
  followParentModel: LiveSetting<boolean>;
@@ -17,16 +17,27 @@ export interface CopilotAccountsRemote {
17
17
  reauthorize(accountId: string, expectedRevision: number): Promise<AccountResult>;
18
18
  removeAccount(accountId: string, expectedRevision: number): Promise<AccountResult>;
19
19
  }
20
+ export type CopilotAccountAddRemote = Pick<CopilotAccountsRemote, 'get' | 'add' | 'cancel'>;
21
+ export declare function CopilotAccountAdd(props: {
22
+ remote?: CopilotAccountAddRemote;
23
+ onChanged?: () => void;
24
+ locale?: string;
25
+ }): ReactElement;
20
26
  /** Copy owned presentation fields before decoding traced Client values. */
21
27
  export declare function accountsViewFrom(value: unknown): CopilotAccountsView | undefined;
22
28
  export declare function accountIdentityLabel(view: CopilotAccountsView | undefined): string | undefined;
23
- export declare function CopilotAccountsPanel(props: {
24
- remote?: CopilotAccountsRemote;
29
+ interface AccountControlsProps {
25
30
  expanded: boolean;
31
+ refreshKey?: number;
26
32
  onChanged?: () => void;
27
33
  authorizationBusy?: boolean;
28
34
  configured?: boolean;
35
+ accountSettings?: ReactElement;
36
+ continuationSettings?: ReactElement;
29
37
  locale?: string;
38
+ }
39
+ export declare function CopilotAccountsPanel(props: AccountControlsProps & {
40
+ remote?: CopilotAccountsRemote;
30
41
  }): ReactElement;
31
42
  export {};
32
43
  //# sourceMappingURL=copilot-accounts-card.d.ts.map
@@ -25,6 +25,12 @@ export interface CopilotUsageCardProps {
25
25
  /** Changes revoke every in-flight read, including switches between Copilot routes. */
26
26
  contextKey: string;
27
27
  locale?: string;
28
+ accountActions?: ReactElement;
29
+ continuation?: ReactElement;
30
+ onManage?: () => void;
31
+ navigationDiagnostic?: string;
32
+ /** Parent-owned consent; check the request signal after awaits and dismiss on abort. */
33
+ beforeAccountChange?: (accountId: string | null, signal: AbortSignal) => Promise<boolean>;
28
34
  sessionAccount?: {
29
35
  get(): Promise<{
30
36
  ok: true;
@@ -1,6 +1,7 @@
1
1
  import type { Context } from '@deepseek-ai/cordis';
2
2
  import type { ReactElement } from 'react';
3
3
  import type { ReplayRecoveryDuration } from './replay-recovery-types.ts';
4
+ import type { SessionContinuationRemote } from './session-continuation-ui.ts';
4
5
  export interface ReplayRecoveryRemote {
5
6
  get(agentId: string): Promise<{
6
7
  ok: boolean;
@@ -15,12 +16,13 @@ export interface ReplayRecoveryRemote {
15
16
  value?: unknown;
16
17
  }>;
17
18
  }
18
- export declare function ReplayRecoveryCard({ sessionId, remote, locale, running, refreshKey }: {
19
+ export declare function ReplayRecoveryCard({ sessionId, remote, continuation, locale, running, refreshKey }: {
19
20
  sessionId: string;
20
21
  remote: ReplayRecoveryRemote;
21
22
  locale?: string;
22
23
  running?: boolean;
23
24
  refreshKey?: string;
25
+ continuation?: SessionContinuationRemote;
24
26
  }): ReactElement | null;
25
27
  export declare function registerReplayRecoveryUi(ctx: Context): () => void;
26
28
  //# sourceMappingURL=replay-recovery-ui.d.ts.map
@@ -6,6 +6,7 @@ interface ReplayDispatch {
6
6
  }
7
7
  /** Fixed diagnostics and bounded counts only; never retain request or replay content. */
8
8
  export declare class CopilotResponsesReplayError extends Error {
9
+ readonly dispatchEvidence?: string;
9
10
  constructor(reason?: ReplayFailure, dispatch?: ReplayDispatch);
10
11
  }
11
12
  /** Normalize only the outgoing managed Responses payload, never stored history/context. */
@@ -20,7 +21,7 @@ export declare class ResponsesRetryReplay {
20
21
  begin(context: unknown, signal?: AbortSignal, sessionId?: string, modelId?: string): ResponsesRetryAttempt;
21
22
  }
22
23
  export interface ResponsesRetryAttempt {
23
- normalize(payload: unknown): unknown;
24
+ normalize(payload: unknown, transform?: (payload: unknown) => unknown): unknown;
24
25
  observe(body: string | undefined, status: number): void;
25
26
  finish(): void;
26
27
  }
@@ -0,0 +1,42 @@
1
+ import type { Context } from '@deepseek-ai/cordis';
2
+ import type { Agent } from '@deepseek-ai/dsh-agent';
3
+ import type { GenerateOptions } from '@deepseek-ai/dsh-llm';
4
+ import { TypertRemoteService } from '@deepseek-ai/dsh-typert-protocol';
5
+ import { SessionContinuationTurn } from './session-continuation.ts';
6
+ import type { SessionContinuationView } from './session-continuation-types.ts';
7
+ declare module '@deepseek-ai/cordis' {
8
+ interface Context {
9
+ githubCopilotSessionContinuation: SessionContinuationController;
10
+ }
11
+ }
12
+ interface Admission {
13
+ readonly turn: number;
14
+ readonly enabled: boolean;
15
+ readonly filter: SessionContinuationTurn;
16
+ step: number;
17
+ signal: AbortSignal;
18
+ }
19
+ export declare class SessionContinuationController extends TypertRemoteService {
20
+ private readonly active;
21
+ private readonly once;
22
+ private readonly ready;
23
+ constructor(ctx: Context, active: Map<object, Admission>, once?: Set<object>, ready?: Promise<void>);
24
+ get(agent: Agent): Promise<SessionContinuationView>;
25
+ set(agent: Agent, revision: number, enabled: boolean | null): Promise<SessionContinuationView>;
26
+ authorizeNext(agent: Agent, revision: number, enabled: boolean): Promise<SessionContinuationView>;
27
+ defaults(): Promise<{
28
+ enabled: boolean;
29
+ revision: number;
30
+ }>;
31
+ setDefault(revision: number, enabled: boolean): Promise<{
32
+ enabled: boolean;
33
+ revision: number;
34
+ }>;
35
+ }
36
+ export declare function installSessionContinuation(ctx: Context): {
37
+ ready: Promise<void>;
38
+ prepare(request: GenerateOptions): ((payload: unknown) => unknown) | undefined;
39
+ dispose(): void;
40
+ };
41
+ export {};
42
+ //# sourceMappingURL=session-continuation-host.d.ts.map
@@ -0,0 +1,22 @@
1
+ import type { RemoteResult, TypertRemoteContribution } from '@deepseek-ai/dsh-typert-protocol';
2
+ import type { SessionContinuationView } from './session-continuation-types.ts';
3
+ declare module '@deepseek-ai/dsh-typert-protocol' {
4
+ interface TypertRemoteNamespaceMap {
5
+ githubCopilotSessionContinuation: {
6
+ get(agentId: string): Promise<RemoteResult<SessionContinuationView>>;
7
+ set(agentId: string, revision: number, enabled: boolean | null): Promise<RemoteResult<SessionContinuationView>>;
8
+ authorizeNext(agentId: string, revision: number, enabled: boolean): Promise<RemoteResult<SessionContinuationView>>;
9
+ defaults(): Promise<RemoteResult<{
10
+ enabled: boolean;
11
+ revision: number;
12
+ }>>;
13
+ setDefault(revision: number, enabled: boolean): Promise<RemoteResult<{
14
+ enabled: boolean;
15
+ revision: number;
16
+ }>>;
17
+ };
18
+ }
19
+ }
20
+ declare const contribution: TypertRemoteContribution;
21
+ export default contribution;
22
+ //# sourceMappingURL=session-continuation-remote.d.ts.map
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+ export declare const SessionContinuationPreferenceSchema: z.ZodObject<{
3
+ sessionId: z.ZodString;
4
+ version: z.ZodLiteral<1>;
5
+ consentedAt: z.ZodNumber;
6
+ enabled: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strict>;
8
+ export declare const SessionContinuationPreferencesSchema: z.ZodArray<z.ZodObject<{
9
+ sessionId: z.ZodString;
10
+ version: z.ZodLiteral<1>;
11
+ consentedAt: z.ZodNumber;
12
+ enabled: z.ZodOptional<z.ZodBoolean>;
13
+ }, z.core.$strict>>;
14
+ export type SessionContinuationPreference = z.infer<typeof SessionContinuationPreferenceSchema>;
15
+ export declare const ContinuationDefaultHistorySchema: z.ZodArray<z.ZodObject<{
16
+ enabled: z.ZodBoolean;
17
+ changedAt: z.ZodNumber;
18
+ }, z.core.$strict>>;
19
+ export type ContinuationDefaultChange = z.infer<typeof ContinuationDefaultHistorySchema>[number];
20
+ export declare const ContinuationDefaultViewSchema: z.ZodObject<{
21
+ enabled: z.ZodBoolean;
22
+ revision: z.ZodNumber;
23
+ }, z.core.$strict>;
24
+ export declare const SessionContinuationViewSchema: z.ZodObject<{
25
+ enabled: z.ZodBoolean;
26
+ revision: z.ZodNumber;
27
+ activeTurnEnabled: z.ZodOptional<z.ZodBoolean>;
28
+ source: z.ZodOptional<z.ZodEnum<{
29
+ default: "default";
30
+ session: "session";
31
+ }>>;
32
+ nextTurnAuthorized: z.ZodOptional<z.ZodBoolean>;
33
+ }, z.core.$strict>;
34
+ export type SessionContinuationView = z.infer<typeof SessionContinuationViewSchema>;
35
+ //# sourceMappingURL=session-continuation-types.d.ts.map
@@ -0,0 +1,47 @@
1
+ import type { ReactElement } from 'react';
2
+ export interface SessionContinuationRemote {
3
+ get(agentId: string): Promise<{
4
+ ok: boolean;
5
+ value?: unknown;
6
+ }>;
7
+ set(agentId: string, revision: number, enabled: boolean | null): Promise<{
8
+ ok: boolean;
9
+ value?: unknown;
10
+ }>;
11
+ authorizeNext?(agentId: string, revision: number, enabled: boolean): Promise<{
12
+ ok: boolean;
13
+ value?: unknown;
14
+ }>;
15
+ defaults?(): Promise<{
16
+ ok: boolean;
17
+ value?: unknown;
18
+ }>;
19
+ setDefault?(revision: number, enabled: boolean): Promise<{
20
+ ok: boolean;
21
+ value?: unknown;
22
+ }>;
23
+ }
24
+ export declare function SessionContinuationCard({ sessionId, remote, locale, running, onEnabledChange, expanded }: {
25
+ sessionId: string;
26
+ remote: SessionContinuationRemote | undefined;
27
+ locale?: string;
28
+ running?: boolean;
29
+ expanded?: boolean;
30
+ onEnabledChange?(enabled: boolean): void;
31
+ }): ReactElement;
32
+ export declare function ContinuationDefaultCard({ remote, locale, onSaved }: {
33
+ remote?: SessionContinuationRemote;
34
+ locale?: string;
35
+ onSaved?(): void;
36
+ }): ReactElement;
37
+ export declare function useSessionContinuationSwitch({ sessionId, remote, locale, changesAccount, running }: {
38
+ sessionId: string;
39
+ remote?: SessionContinuationRemote;
40
+ locale?: string;
41
+ running?: boolean;
42
+ changesAccount(accountId: string | null): Promise<boolean>;
43
+ }): {
44
+ beforeAccountChange(accountId: string | null, signal?: AbortSignal): Promise<boolean>;
45
+ content: ReactElement;
46
+ };
47
+ //# sourceMappingURL=session-continuation-ui.d.ts.map
@@ -0,0 +1,13 @@
1
+ export declare const SESSION_CONTINUATION_LIMITS: Readonly<{
2
+ items: 4096;
3
+ values: 65536;
4
+ depth: 64;
5
+ bytes: number;
6
+ }>;
7
+ /** One admitted turn; fingerprints never become durable history or account provenance. */
8
+ export declare class SessionContinuationTurn {
9
+ private baseline;
10
+ get initialized(): boolean;
11
+ transform(payload: unknown): unknown;
12
+ }
13
+ //# sourceMappingURL=session-continuation.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-github-copilot",
3
3
  "description": "DSH companion for GitHub Copilot sign-in, account-aware model profiles, tool compatibility, and provider-hosted search.",
4
- "version": "0.4.0-alpha.107",
4
+ "version": "0.4.0-alpha.109",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "registry": "https://registry.npmjs.org/",
@@ -66,6 +66,9 @@
66
66
  "docs/manual-compaction-recovery.md",
67
67
  "docs/copilot-usage.md",
68
68
  "docs/copilot-accounts.md",
69
+ "docs/session-continuation.md",
70
+ "docs/account-management-experience.md",
71
+ "docs/mockups/copilot-account-management.html",
69
72
  "docs/automatic-model-routing.md",
70
73
  "docs/auto-task-routing.md",
71
74
  "docs/image-input-compatibility.md",