@productlobster/plob 0.1.3 → 0.1.5
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/README.md +26 -7
- package/dist/cli.js +8047 -2386
- package/dist/index.d.ts +15 -2
- package/dist/index.js +8047 -2386
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
import { Command } from 'commander';
|
|
2
2
|
|
|
3
|
+
type KeychainCredentialLocation = typeof keychainCredentialLocation | typeof legacyKeychainCredentialLocation;
|
|
3
4
|
interface CredentialStore {
|
|
4
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Deletes the current and the legacy entry. Resolves to the entries that
|
|
7
|
+
* existed and were removed, current first; empty when neither was removed.
|
|
8
|
+
*/
|
|
9
|
+
deleteBearerToken(): Promise<KeychainCredentialLocation[]>;
|
|
5
10
|
loadBearerToken(): Promise<string | null>;
|
|
6
11
|
saveBearerToken(secret: string): Promise<void>;
|
|
7
12
|
}
|
|
13
|
+
declare const keychainCredentialLocation: {
|
|
14
|
+
readonly account: "default";
|
|
15
|
+
readonly service: "productlobster.plob-cli";
|
|
16
|
+
};
|
|
17
|
+
declare const legacyKeychainCredentialLocation: {
|
|
18
|
+
readonly account: "default";
|
|
19
|
+
readonly service: "productlobster.pl-cli";
|
|
20
|
+
};
|
|
8
21
|
|
|
9
22
|
declare const EXIT_CODES: {
|
|
10
23
|
readonly success: 0;
|
|
@@ -108,4 +121,4 @@ declare function createProgram(config?: CliProgramConfig): {
|
|
|
108
121
|
};
|
|
109
122
|
declare function runCli(argv?: readonly string[], config?: CliProgramConfig): Promise<number>;
|
|
110
123
|
|
|
111
|
-
export { type CliExitCode, type CliIO, type CliProgramConfig, type CommandRunnerDeps, EXIT_CODES, type McpClientConfig, type McpToolClient, type RunnerGlobalOptions, createProgram, createSdkMcpClient, runCli, runCommand };
|
|
124
|
+
export { type CliExitCode, type CliIO, type CliProgramConfig, type CommandRunnerDeps, type CredentialStore, EXIT_CODES, type KeychainCredentialLocation, type McpClientConfig, type McpToolClient, type RunnerGlobalOptions, createProgram, createSdkMcpClient, runCli, runCommand };
|