@hasna/switcher 0.2.11 → 0.2.13
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/claude-desktop-gateway.d.ts +33 -0
- package/dist/claude-desktop-launch.d.ts +2 -3
- package/dist/claude-desktop-models.d.ts +2 -0
- package/dist/claude-desktop.d.ts +6 -0
- package/dist/claude-desktop.js +5368 -0
- package/dist/cli/index.js +763 -192
- package/dist/desktop-apps.d.ts +3 -0
- package/dist/desktop-selection.d.ts +20 -0
- package/dist/desktop-state.d.ts +30 -1
- package/dist/index.js +5362 -86
- package/dist/mcp/index.js +6315 -368
- package/dist/native-state.d.ts +2 -0
- package/dist/private-directory.d.ts +2 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/sdk.js +5362 -86
- package/dist/serve/index.js +2 -2
- package/docs/CLAUDE-DESKTOP-GATEWAY.md +84 -0
- package/hasna.contract.json +1 -1
- package/openapi.json +1 -1
- package/package.json +9 -4
package/dist/native-state.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ type Entry = {
|
|
|
15
15
|
};
|
|
16
16
|
export declare const NATIVE_STATE_ENTRIES: Record<SharedNativeTool, readonly Entry[]>;
|
|
17
17
|
export declare function assertNativeStateDirectory(path: string): Promise<void>;
|
|
18
|
+
/** Same directory policy, without yielding during a final launch handoff. */
|
|
19
|
+
export declare function assertNativeStateDirectorySync(path: string): void;
|
|
18
20
|
export declare function ensureNativeStateDirectory(path: string, create?: boolean): Promise<void>;
|
|
19
21
|
/** Disabling projection must not silently reuse a previously shared overlay.
|
|
20
22
|
* Keep existing links intact; a different isolated profile is an explicit choice. */
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SwitcherClient } from "./sdk";
|
|
2
2
|
import type { CatalogCredentialResolver } from "./catalog";
|
|
3
|
+
export { privateDirectory } from "./private-directory";
|
|
3
4
|
/** The refusal code when no Switcher API credential is configured and the local opt-in is not set. */
|
|
4
5
|
export declare const REMOTE_API_CONFIG_MISSING = "remote_api_config_missing";
|
|
5
6
|
export declare function switcherHome(env?: NodeJS.ProcessEnv): string;
|
|
6
|
-
export declare function privateDirectory(path: string): Promise<void>;
|
|
7
7
|
/** Data access always uses HTTP, including the per-command owned local service. */
|
|
8
8
|
export declare function openCliRuntime(env?: NodeJS.ProcessEnv, resolveCredential?: CatalogCredentialResolver): Promise<{
|
|
9
9
|
client: SwitcherClient;
|