opensteer 0.6.13 → 0.7.1
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 +256 -184
- package/dist/chunk-7QTHGTGN.js +32589 -0
- package/dist/chunk-7QTHGTGN.js.map +1 -0
- package/dist/cli/bin.cjs +38219 -0
- package/dist/cli/bin.cjs.map +1 -0
- package/dist/cli/bin.d.cts +1 -0
- package/dist/cli/bin.d.ts +1 -0
- package/dist/cli/bin.js +5612 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/index.cjs +31327 -16009
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +4440 -670
- package/dist/index.d.ts +4440 -670
- package/dist/index.js +438 -378
- package/dist/index.js.map +1 -0
- package/package.json +58 -62
- package/skills/README.md +21 -20
- package/skills/opensteer/SKILL.md +60 -194
- package/skills/opensteer/references/cli-reference.md +69 -113
- package/skills/opensteer/references/request-workflow.md +81 -0
- package/skills/opensteer/references/sdk-reference.md +101 -154
- package/CHANGELOG.md +0 -75
- package/bin/opensteer.mjs +0 -1423
- package/dist/browser-profile-client-CGXc0-P9.d.cts +0 -228
- package/dist/browser-profile-client-DHLzMf-K.d.ts +0 -228
- package/dist/chunk-2ES46WCO.js +0 -1437
- package/dist/chunk-3H5RRIMZ.js +0 -69
- package/dist/chunk-AVXUMEDG.js +0 -62
- package/dist/chunk-DN3GI5CH.js +0 -57
- package/dist/chunk-FAHE5DB2.js +0 -190
- package/dist/chunk-HBTSQ2V4.js +0 -15259
- package/dist/chunk-K5CL76MG.js +0 -81
- package/dist/chunk-U724TBY6.js +0 -1262
- package/dist/chunk-ZRCFF546.js +0 -77
- package/dist/cli/auth.cjs +0 -2022
- package/dist/cli/auth.d.cts +0 -114
- package/dist/cli/auth.d.ts +0 -114
- package/dist/cli/auth.js +0 -15
- package/dist/cli/local-profile.cjs +0 -197
- package/dist/cli/local-profile.d.cts +0 -18
- package/dist/cli/local-profile.d.ts +0 -18
- package/dist/cli/local-profile.js +0 -97
- package/dist/cli/profile.cjs +0 -18548
- package/dist/cli/profile.d.cts +0 -79
- package/dist/cli/profile.d.ts +0 -79
- package/dist/cli/profile.js +0 -1328
- package/dist/cli/server.cjs +0 -17232
- package/dist/cli/server.d.cts +0 -2
- package/dist/cli/server.d.ts +0 -2
- package/dist/cli/server.js +0 -977
- package/dist/cli/skills-installer.cjs +0 -230
- package/dist/cli/skills-installer.d.cts +0 -28
- package/dist/cli/skills-installer.d.ts +0 -28
- package/dist/cli/skills-installer.js +0 -201
- package/dist/extractor-4Q3TFZJB.js +0 -8
- package/dist/resolver-MGN64KCP.js +0 -7
- package/dist/types-Cr10igF3.d.cts +0 -345
- package/dist/types-Cr10igF3.d.ts +0 -345
- package/skills/electron/SKILL.md +0 -87
- package/skills/electron/references/opensteer-electron-recipes.md +0 -88
- package/skills/electron/references/opensteer-electron-workflow.md +0 -85
- package/skills/opensteer/references/examples.md +0 -118
package/dist/cli/profile.d.cts
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { Cookie } from 'playwright';
|
|
2
|
-
import { O as OpensteerAuthScheme, a as OpensteerConfig, C as CookieParam } from '../types-Cr10igF3.cjs';
|
|
3
|
-
import { B as BrowserProfileStatus, a as BrowserProfileListRequest, b as BrowserProfileListResponse, c as BrowserProfileCreateRequest, d as BrowserProfileDescriptor } from '../browser-profile-client-CGXc0-P9.cjs';
|
|
4
|
-
|
|
5
|
-
type ParsedProfileArgs = {
|
|
6
|
-
mode: 'help';
|
|
7
|
-
} | {
|
|
8
|
-
mode: 'error';
|
|
9
|
-
error: string;
|
|
10
|
-
} | {
|
|
11
|
-
mode: 'list';
|
|
12
|
-
args: ProfileListArgs;
|
|
13
|
-
} | {
|
|
14
|
-
mode: 'create';
|
|
15
|
-
args: ProfileCreateArgs;
|
|
16
|
-
} | {
|
|
17
|
-
mode: 'sync';
|
|
18
|
-
args: ProfileSyncArgs;
|
|
19
|
-
};
|
|
20
|
-
interface ProfileCommonCloudArgs {
|
|
21
|
-
apiKey?: string;
|
|
22
|
-
accessToken?: string;
|
|
23
|
-
baseUrl?: string;
|
|
24
|
-
authScheme?: OpensteerAuthScheme;
|
|
25
|
-
json?: boolean;
|
|
26
|
-
}
|
|
27
|
-
interface ProfileListArgs extends ProfileCommonCloudArgs {
|
|
28
|
-
cursor?: string;
|
|
29
|
-
limit?: number;
|
|
30
|
-
status?: BrowserProfileStatus;
|
|
31
|
-
}
|
|
32
|
-
interface ProfileCreateArgs extends ProfileCommonCloudArgs {
|
|
33
|
-
name: string;
|
|
34
|
-
}
|
|
35
|
-
interface ProfileSyncArgs extends ProfileCommonCloudArgs {
|
|
36
|
-
fromProfileDir: string;
|
|
37
|
-
toProfileId?: string;
|
|
38
|
-
name?: string;
|
|
39
|
-
domains: string[];
|
|
40
|
-
allDomains: boolean;
|
|
41
|
-
dryRun: boolean;
|
|
42
|
-
yes: boolean;
|
|
43
|
-
headless: boolean;
|
|
44
|
-
}
|
|
45
|
-
interface CloudAuthContext {
|
|
46
|
-
token: string;
|
|
47
|
-
baseUrl: string;
|
|
48
|
-
authScheme: OpensteerAuthScheme;
|
|
49
|
-
kind: 'api-key' | 'access-token';
|
|
50
|
-
source: 'flag' | 'env' | 'saved';
|
|
51
|
-
}
|
|
52
|
-
interface BrowserProfileClientLike {
|
|
53
|
-
list(request?: BrowserProfileListRequest): Promise<BrowserProfileListResponse>;
|
|
54
|
-
create(request: BrowserProfileCreateRequest): Promise<BrowserProfileDescriptor>;
|
|
55
|
-
}
|
|
56
|
-
interface OpensteerLike {
|
|
57
|
-
launch(options?: Record<string, unknown>): Promise<void>;
|
|
58
|
-
close(): Promise<void>;
|
|
59
|
-
readonly context: {
|
|
60
|
-
addCookies(cookies: CookieParam[]): Promise<void>;
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
interface ProfileCliDeps {
|
|
64
|
-
readonly env: Record<string, string | undefined>;
|
|
65
|
-
readonly createBrowserProfileClient: (context: CloudAuthContext) => BrowserProfileClientLike;
|
|
66
|
-
readonly createOpensteer: (config: OpensteerConfig) => OpensteerLike;
|
|
67
|
-
readonly loadLocalProfileCookies: (profileDir: string, options?: {
|
|
68
|
-
headless?: boolean;
|
|
69
|
-
timeout?: number;
|
|
70
|
-
}) => Promise<Cookie[]>;
|
|
71
|
-
readonly isInteractive: () => boolean;
|
|
72
|
-
readonly confirm: (message: string) => Promise<boolean>;
|
|
73
|
-
readonly writeStdout: (message: string) => void;
|
|
74
|
-
readonly writeStderr: (message: string) => void;
|
|
75
|
-
}
|
|
76
|
-
declare function parseOpensteerProfileArgs(rawArgs: string[]): ParsedProfileArgs;
|
|
77
|
-
declare function runOpensteerProfileCli(rawArgs: string[], overrideDeps?: Partial<ProfileCliDeps>): Promise<number>;
|
|
78
|
-
|
|
79
|
-
export { type ParsedProfileArgs, type ProfileCommonCloudArgs, type ProfileCreateArgs, type ProfileListArgs, type ProfileSyncArgs, parseOpensteerProfileArgs, runOpensteerProfileCli };
|
package/dist/cli/profile.d.ts
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { Cookie } from 'playwright';
|
|
2
|
-
import { O as OpensteerAuthScheme, a as OpensteerConfig, C as CookieParam } from '../types-Cr10igF3.js';
|
|
3
|
-
import { B as BrowserProfileStatus, a as BrowserProfileListRequest, b as BrowserProfileListResponse, c as BrowserProfileCreateRequest, d as BrowserProfileDescriptor } from '../browser-profile-client-DHLzMf-K.js';
|
|
4
|
-
|
|
5
|
-
type ParsedProfileArgs = {
|
|
6
|
-
mode: 'help';
|
|
7
|
-
} | {
|
|
8
|
-
mode: 'error';
|
|
9
|
-
error: string;
|
|
10
|
-
} | {
|
|
11
|
-
mode: 'list';
|
|
12
|
-
args: ProfileListArgs;
|
|
13
|
-
} | {
|
|
14
|
-
mode: 'create';
|
|
15
|
-
args: ProfileCreateArgs;
|
|
16
|
-
} | {
|
|
17
|
-
mode: 'sync';
|
|
18
|
-
args: ProfileSyncArgs;
|
|
19
|
-
};
|
|
20
|
-
interface ProfileCommonCloudArgs {
|
|
21
|
-
apiKey?: string;
|
|
22
|
-
accessToken?: string;
|
|
23
|
-
baseUrl?: string;
|
|
24
|
-
authScheme?: OpensteerAuthScheme;
|
|
25
|
-
json?: boolean;
|
|
26
|
-
}
|
|
27
|
-
interface ProfileListArgs extends ProfileCommonCloudArgs {
|
|
28
|
-
cursor?: string;
|
|
29
|
-
limit?: number;
|
|
30
|
-
status?: BrowserProfileStatus;
|
|
31
|
-
}
|
|
32
|
-
interface ProfileCreateArgs extends ProfileCommonCloudArgs {
|
|
33
|
-
name: string;
|
|
34
|
-
}
|
|
35
|
-
interface ProfileSyncArgs extends ProfileCommonCloudArgs {
|
|
36
|
-
fromProfileDir: string;
|
|
37
|
-
toProfileId?: string;
|
|
38
|
-
name?: string;
|
|
39
|
-
domains: string[];
|
|
40
|
-
allDomains: boolean;
|
|
41
|
-
dryRun: boolean;
|
|
42
|
-
yes: boolean;
|
|
43
|
-
headless: boolean;
|
|
44
|
-
}
|
|
45
|
-
interface CloudAuthContext {
|
|
46
|
-
token: string;
|
|
47
|
-
baseUrl: string;
|
|
48
|
-
authScheme: OpensteerAuthScheme;
|
|
49
|
-
kind: 'api-key' | 'access-token';
|
|
50
|
-
source: 'flag' | 'env' | 'saved';
|
|
51
|
-
}
|
|
52
|
-
interface BrowserProfileClientLike {
|
|
53
|
-
list(request?: BrowserProfileListRequest): Promise<BrowserProfileListResponse>;
|
|
54
|
-
create(request: BrowserProfileCreateRequest): Promise<BrowserProfileDescriptor>;
|
|
55
|
-
}
|
|
56
|
-
interface OpensteerLike {
|
|
57
|
-
launch(options?: Record<string, unknown>): Promise<void>;
|
|
58
|
-
close(): Promise<void>;
|
|
59
|
-
readonly context: {
|
|
60
|
-
addCookies(cookies: CookieParam[]): Promise<void>;
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
interface ProfileCliDeps {
|
|
64
|
-
readonly env: Record<string, string | undefined>;
|
|
65
|
-
readonly createBrowserProfileClient: (context: CloudAuthContext) => BrowserProfileClientLike;
|
|
66
|
-
readonly createOpensteer: (config: OpensteerConfig) => OpensteerLike;
|
|
67
|
-
readonly loadLocalProfileCookies: (profileDir: string, options?: {
|
|
68
|
-
headless?: boolean;
|
|
69
|
-
timeout?: number;
|
|
70
|
-
}) => Promise<Cookie[]>;
|
|
71
|
-
readonly isInteractive: () => boolean;
|
|
72
|
-
readonly confirm: (message: string) => Promise<boolean>;
|
|
73
|
-
readonly writeStdout: (message: string) => void;
|
|
74
|
-
readonly writeStderr: (message: string) => void;
|
|
75
|
-
}
|
|
76
|
-
declare function parseOpensteerProfileArgs(rawArgs: string[]): ParsedProfileArgs;
|
|
77
|
-
declare function runOpensteerProfileCli(rawArgs: string[], overrideDeps?: Partial<ProfileCliDeps>): Promise<number>;
|
|
78
|
-
|
|
79
|
-
export { type ParsedProfileArgs, type ProfileCommonCloudArgs, type ProfileCreateArgs, type ProfileListArgs, type ProfileSyncArgs, parseOpensteerProfileArgs, runOpensteerProfileCli };
|