@wrkrdev/cli 0.1.0

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/LICENSE ADDED
@@ -0,0 +1,184 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction, and
10
+ distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright
13
+ owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all other entities
16
+ that control, are controlled by, or are under common control with that entity.
17
+ For the purposes of this definition, "control" means (i) the power, direct or
18
+ indirect, to cause the direction or management of such entity, whether by
19
+ contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
20
+ outstanding shares, or (iii) beneficial ownership of such entity.
21
+
22
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
23
+ permissions granted by this License.
24
+
25
+ "Source" form shall mean the preferred form for making modifications, including
26
+ but not limited to software source code, documentation source, and
27
+ configuration files.
28
+
29
+ "Object" form shall mean any form resulting from mechanical transformation or
30
+ translation of a Source form, including but not limited to compiled object code,
31
+ generated documentation, and conversions to other media types.
32
+
33
+ "Work" shall mean the work of authorship, whether in Source or Object form,
34
+ made available under the License, as indicated by a copyright notice that is
35
+ included in or attached to the work (an example is provided in the Appendix
36
+ below).
37
+
38
+ "Derivative Works" shall mean any work, whether in Source or Object form, that
39
+ is based on (or derived from) the Work and for which the editorial revisions,
40
+ annotations, elaborations, or other modifications represent, as a whole, an
41
+ original work of authorship. For the purposes of this License, Derivative Works
42
+ shall not include works that remain separable from, or merely link (or bind by
43
+ name) to the interfaces of, the Work and Derivative Works thereof.
44
+
45
+ "Contribution" shall mean any work of authorship, including the original
46
+ version of the Work and any modifications or additions to that Work or
47
+ Derivative Works thereof, that is intentionally submitted to Licensor for
48
+ inclusion in the Work by the copyright owner or by an individual or Legal
49
+ Entity authorized to submit on behalf of the copyright owner. For the purposes
50
+ of this definition, "submitted" means any form of electronic, verbal, or
51
+ written communication sent to the Licensor or its representatives, including
52
+ but not limited to communication on electronic mailing lists, source code
53
+ control systems, and issue tracking systems that are managed by, or on behalf
54
+ of, the Licensor for the purpose of discussing and improving the Work, but
55
+ excluding communication that is conspicuously marked or otherwise designated in
56
+ writing by the copyright owner as "Not a Contribution."
57
+
58
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
59
+ of whom a Contribution has been received by Licensor and subsequently
60
+ incorporated within the Work.
61
+
62
+ 2. Grant of Copyright License. Subject to the terms and conditions of this
63
+ License, each Contributor hereby grants to You a perpetual, worldwide,
64
+ non-exclusive, no-charge, royalty-free, irrevocable copyright license to
65
+ reproduce, prepare Derivative Works of, publicly display, publicly perform,
66
+ sublicense, and distribute the Work and such Derivative Works in Source or
67
+ Object form.
68
+
69
+ 3. Grant of Patent License. Subject to the terms and conditions of this
70
+ License, each Contributor hereby grants to You a perpetual, worldwide,
71
+ non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this
72
+ section) patent license to make, have made, use, offer to sell, sell, import,
73
+ and otherwise transfer the Work, where such license applies only to those
74
+ patent claims licensable by such Contributor that are necessarily infringed by
75
+ their Contribution(s) alone or by combination of their Contribution(s) with the
76
+ Work to which such Contribution(s) was submitted. If You institute patent
77
+ litigation against any entity (including a cross-claim or counterclaim in a
78
+ lawsuit) alleging that the Work or a Contribution incorporated within the Work
79
+ constitutes direct or contributory patent infringement, then any patent
80
+ licenses granted to You under this License for that Work shall terminate as of
81
+ the date such litigation is filed.
82
+
83
+ 4. Redistribution. You may reproduce and distribute copies of the Work or
84
+ Derivative Works thereof in any medium, with or without modifications, and in
85
+ Source or Object form, provided that You meet the following conditions:
86
+
87
+ (a) You must give any other recipients of the Work or Derivative Works a copy
88
+ of this License; and
89
+
90
+ (b) You must cause any modified files to carry prominent notices stating that
91
+ You changed the files; and
92
+
93
+ (c) You must retain, in the Source form of any Derivative Works that You
94
+ distribute, all copyright, patent, trademark, and attribution notices from the
95
+ Source form of the Work, excluding those notices that do not pertain to any
96
+ part of the Derivative Works; and
97
+
98
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then
99
+ any Derivative Works that You distribute must include a readable copy of the
100
+ attribution notices contained within such NOTICE file, excluding those notices
101
+ that do not pertain to any part of the Derivative Works, in at least one of the
102
+ following places: within a NOTICE text file distributed as part of the
103
+ Derivative Works; within the Source form or documentation, if provided along
104
+ with the Derivative Works; or, within a display generated by the Derivative
105
+ Works, if and wherever such third-party notices normally appear. The contents
106
+ of the NOTICE file are for informational purposes only and do not modify the
107
+ License. You may add Your own attribution notices within Derivative Works that
108
+ You distribute, alongside or as an addendum to the NOTICE text from the Work,
109
+ provided that such additional attribution notices cannot be construed as
110
+ modifying the License.
111
+
112
+ You may add Your own copyright statement to Your modifications and may provide
113
+ additional or different license terms and conditions for use, reproduction, or
114
+ distribution of Your modifications, or for any such Derivative Works as a
115
+ whole, provided Your use, reproduction, and distribution of the Work otherwise
116
+ complies with the conditions stated in this License.
117
+
118
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any
119
+ Contribution intentionally submitted for inclusion in the Work by You to the
120
+ Licensor shall be under the terms and conditions of this License, without any
121
+ additional terms or conditions. Notwithstanding the above, nothing herein shall
122
+ supersede or modify the terms of any separate license agreement you may have
123
+ executed with Licensor regarding such Contributions.
124
+
125
+ 6. Trademarks. This License does not grant permission to use the trade names,
126
+ trademarks, service marks, or product names of the Licensor, except as required
127
+ for reasonable and customary use in describing the origin of the Work and
128
+ reproducing the content of the NOTICE file.
129
+
130
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
131
+ writing, Licensor provides the Work (and each Contributor provides its
132
+ Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
133
+ KIND, either express or implied, including, without limitation, any warranties
134
+ or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
135
+ PARTICULAR PURPOSE. You are solely responsible for determining the
136
+ appropriateness of using or redistributing the Work and assume any risks
137
+ associated with Your exercise of permissions under this License.
138
+
139
+ 8. Limitation of Liability. In no event and under no legal theory, whether in
140
+ tort (including negligence), contract, or otherwise, unless required by
141
+ applicable law (such as deliberate and grossly negligent acts) or agreed to in
142
+ writing, shall any Contributor be liable to You for damages, including any
143
+ direct, indirect, special, incidental, or consequential damages of any
144
+ character arising as a result of this License or out of the use or inability to
145
+ use the Work (including but not limited to damages for loss of goodwill, work
146
+ stoppage, computer failure or malfunction, or any and all other commercial
147
+ damages or losses), even if such Contributor has been advised of the
148
+ possibility of such damages.
149
+
150
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or
151
+ Derivative Works thereof, You may choose to offer, and charge a fee for,
152
+ acceptance of support, warranty, indemnity, or other liability obligations
153
+ and/or rights consistent with this License. However, in accepting such
154
+ obligations, You may act only on Your own behalf and on Your sole
155
+ responsibility, not on behalf of any other Contributor, and only if You agree
156
+ to indemnify, defend, and hold each Contributor harmless for any liability
157
+ incurred by, or claims asserted against, such Contributor by reason of Your
158
+ accepting any such warranty or additional liability.
159
+
160
+ END OF TERMS AND CONDITIONS
161
+
162
+ APPENDIX: How to apply the Apache License to your work.
163
+
164
+ To apply the Apache License to your work, attach the following boilerplate
165
+ notice, with the fields enclosed by brackets "[]" replaced with your own
166
+ identifying information. (Don't include the brackets!) The text should be
167
+ enclosed in the appropriate comment syntax for the file format. We also
168
+ recommend that a file or class name and description of purpose be included on
169
+ the same "printed page" as the copyright notice for easier identification
170
+ within third-party archives.
171
+
172
+ Copyright [yyyy] [name of copyright owner]
173
+
174
+ Licensed under the Apache License, Version 2.0 (the "License");
175
+ you may not use this file except in compliance with the License.
176
+ You may obtain a copy of the License at
177
+
178
+ http://www.apache.org/licenses/LICENSE-2.0
179
+
180
+ Unless required by applicable law or agreed to in writing, software
181
+ distributed under the License is distributed on an "AS IS" BASIS,
182
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
183
+ See the License for the specific language governing permissions and
184
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # @wrkrdev/cli
2
+
3
+ CLI for the current public Wrkr `/v1` operator auth, project lookup, and deployment rollout surface.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ bun add -g @wrkrdev/cli
9
+ ```
10
+
11
+ This package installs the `wrkr` executable from compiled output with a `#!/usr/bin/env node` shebang. You can also run it without installing globally via `bunx @wrkrdev/cli --help`.
12
+
13
+ ## Quick start
14
+
15
+ ```bash
16
+ WRKR_TOKEN=wrkr_pat_xxx \
17
+ wrkr projects list --base-url https://wrkr.dev
18
+ ```
19
+
20
+ ## Supported surface
21
+
22
+ - `wrkr auth session`, `wrkr auth exchange`, and `wrkr auth revoke`.
23
+ - `wrkr auth pats list`, `wrkr auth pats create`, and `wrkr auth pats revoke`.
24
+ - `wrkr projects list`.
25
+ - `wrkr deployments list`.
26
+ - `wrkr deployments releases list` and `wrkr deployments releases create`.
27
+ - `wrkr deployments bindings list`, `create`, `promote`, and `rollback`.
28
+ - Global auth/config flags: `--base-url`, `--token`, and `--cookie`, plus `WRKR_BASE_URL`, `WRKR_TOKEN`, `WRKR_PAT`, and `WRKR_COOKIE`.
29
+ - Output behavior: JSON to stdout, structured error JSON to stderr, and exit code `1` on failure.
30
+
31
+ ## Out of scope
32
+
33
+ - Project mutation beyond listing.
34
+ - Worker runtime, workspaces, and direct internal-service access.
35
+ - Shell completions, interactive prompts, config files, or browser-only flows.
36
+
37
+ ## License
38
+
39
+ Apache-2.0.
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ import { main } from '../src/index.js';
3
+ await main(process.argv.slice(2));
@@ -0,0 +1,12 @@
1
+ import { createWrkrClient } from '@wrkrdev/sdk';
2
+ export type CliIo = {
3
+ stdout: (line: string) => void;
4
+ stderr: (line: string) => void;
5
+ };
6
+ export type CliDeps = {
7
+ env?: Record<string, string | undefined>;
8
+ createClient?: typeof createWrkrClient;
9
+ io?: CliIo;
10
+ };
11
+ export declare function runCli(args: string[], deps?: CliDeps): Promise<number>;
12
+ export declare function main(args?: string[]): Promise<void>;
@@ -0,0 +1,275 @@
1
+ import { createWrkrClient, WrkrApiError } from '@wrkrdev/sdk';
2
+ function defaultIo() {
3
+ return {
4
+ stdout: (line) => console.log(line),
5
+ stderr: (line) => console.error(line),
6
+ };
7
+ }
8
+ function printJson(io, value) {
9
+ io.stdout(JSON.stringify(value, null, 2));
10
+ }
11
+ function printHelp(io) {
12
+ io.stdout([
13
+ 'wrkr <command> [subcommand] [options]',
14
+ '',
15
+ 'Auth:',
16
+ ' wrkr auth session',
17
+ ' wrkr auth exchange',
18
+ ' wrkr auth revoke',
19
+ ' wrkr auth pats list',
20
+ ' wrkr auth pats create --name <name> [--scope <scope>]... [--expires-at <iso>]',
21
+ ' wrkr auth pats revoke --pat-id <patId>',
22
+ '',
23
+ 'Projects:',
24
+ ' wrkr projects list',
25
+ '',
26
+ 'Deployments:',
27
+ ' wrkr deployments list --project-id <id>',
28
+ ' wrkr deployments releases list --project-id <id> --deployment-id <id>',
29
+ ' wrkr deployments releases create --project-id <id> --deployment-id <id> --source-json <json>',
30
+ ' wrkr deployments bindings list --project-id <id> --deployment-id <id>',
31
+ ' wrkr deployments bindings create --project-id <id> --deployment-id <id> --release-id <id> --binding-json <json> [--activate <true|false>]',
32
+ ' wrkr deployments bindings promote --project-id <id> --deployment-id <id> --binding-id <id>',
33
+ ' wrkr deployments bindings rollback --project-id <id> --deployment-id <id> --binding-id <id>',
34
+ '',
35
+ 'Global options:',
36
+ ' --base-url <url> default https://wrkr.dev; env WRKR_BASE_URL',
37
+ ' --token <token> operator PAT; env WRKR_TOKEN or WRKR_PAT',
38
+ ' --cookie <cookie> browser session bridge cookie; env WRKR_COOKIE',
39
+ ].join('\n'));
40
+ }
41
+ function parseArgs(args) {
42
+ const positionals = [];
43
+ const options = new Map();
44
+ for (let index = 0; index < args.length; index += 1) {
45
+ const arg = args[index];
46
+ if (!arg.startsWith('--')) {
47
+ positionals.push(arg);
48
+ continue;
49
+ }
50
+ const withoutPrefix = arg.slice(2);
51
+ const eqIndex = withoutPrefix.indexOf('=');
52
+ if (eqIndex >= 0) {
53
+ const key = withoutPrefix.slice(0, eqIndex);
54
+ const value = withoutPrefix.slice(eqIndex + 1);
55
+ options.set(key, [...(options.get(key) ?? []), value]);
56
+ continue;
57
+ }
58
+ const next = args[index + 1];
59
+ if (typeof next !== 'undefined' && !next.startsWith('--')) {
60
+ options.set(withoutPrefix, [...(options.get(withoutPrefix) ?? []), next]);
61
+ index += 1;
62
+ continue;
63
+ }
64
+ options.set(withoutPrefix, [...(options.get(withoutPrefix) ?? []), 'true']);
65
+ }
66
+ return { positionals, options };
67
+ }
68
+ function getOption(parsed, key) {
69
+ return parsed.options.get(key)?.at(-1);
70
+ }
71
+ function getOptions(parsed, key) {
72
+ return parsed.options.get(key) ?? [];
73
+ }
74
+ function requireOption(parsed, key) {
75
+ const value = getOption(parsed, key);
76
+ if (typeof value === 'undefined' || value.length === 0) {
77
+ throw new Error(`Missing required option --${key}`);
78
+ }
79
+ return value;
80
+ }
81
+ function isRecord(value) {
82
+ return Boolean(value) && typeof value === 'object' && !Array.isArray(value);
83
+ }
84
+ function parseBooleanOption(parsed, key) {
85
+ const value = getOption(parsed, key);
86
+ if (typeof value === 'undefined')
87
+ return undefined;
88
+ if (value === 'true')
89
+ return true;
90
+ if (value === 'false')
91
+ return false;
92
+ throw new Error(`Option --${key} must be true or false`);
93
+ }
94
+ function parseJsonOption(parsed, key) {
95
+ const value = getOption(parsed, key);
96
+ if (typeof value === 'undefined')
97
+ return undefined;
98
+ try {
99
+ return JSON.parse(value);
100
+ }
101
+ catch {
102
+ throw new Error(`Option --${key} must be valid JSON`);
103
+ }
104
+ }
105
+ function createClientFromParsedArgs(parsed, deps) {
106
+ const env = deps.env ?? process.env;
107
+ const createClient = deps.createClient ?? createWrkrClient;
108
+ const baseUrl = getOption(parsed, 'base-url') ?? env.WRKR_BASE_URL ?? 'https://wrkr.dev';
109
+ const operatorToken = getOption(parsed, 'token') ?? env.WRKR_TOKEN ?? env.WRKR_PAT;
110
+ const cookie = getOption(parsed, 'cookie') ?? env.WRKR_COOKIE;
111
+ return createClient({
112
+ baseUrl,
113
+ operatorToken,
114
+ cookie,
115
+ });
116
+ }
117
+ async function handleAuth(parsed, client, io) {
118
+ const action = parsed.positionals[1];
119
+ if (action === 'session') {
120
+ printJson(io, await client.auth.session.get());
121
+ return;
122
+ }
123
+ if (action === 'exchange') {
124
+ printJson(io, await client.auth.session.exchange());
125
+ return;
126
+ }
127
+ if (action === 'revoke') {
128
+ printJson(io, await client.auth.session.revoke());
129
+ return;
130
+ }
131
+ if (action === 'pats') {
132
+ const patAction = parsed.positionals[2];
133
+ if (patAction === 'list') {
134
+ printJson(io, await client.auth.pats.list());
135
+ return;
136
+ }
137
+ if (patAction === 'create') {
138
+ const name = requireOption(parsed, 'name');
139
+ const scopeIds = getOptions(parsed, 'scope');
140
+ const expiresAt = getOption(parsed, 'expires-at');
141
+ printJson(io, await client.auth.pats.create({
142
+ name,
143
+ ...(scopeIds.length > 0 ? { scopeIds: scopeIds } : {}),
144
+ ...(expiresAt ? { expiresAt } : {}),
145
+ }));
146
+ return;
147
+ }
148
+ if (patAction === 'revoke') {
149
+ printJson(io, await client.auth.pats.revoke(requireOption(parsed, 'pat-id')));
150
+ return;
151
+ }
152
+ }
153
+ throw new Error('Unsupported auth command');
154
+ }
155
+ async function handleProjects(parsed, client, io) {
156
+ if (parsed.positionals[1] === 'list') {
157
+ printJson(io, await client.projects.list());
158
+ return;
159
+ }
160
+ throw new Error('Unsupported projects command');
161
+ }
162
+ async function handleDeployments(parsed, client, io) {
163
+ const action = parsed.positionals[1];
164
+ const projectId = requireOption(parsed, 'project-id');
165
+ if (action === 'releases') {
166
+ const releaseAction = parsed.positionals[2];
167
+ const deploymentId = requireOption(parsed, 'deployment-id');
168
+ if (releaseAction === 'list') {
169
+ printJson(io, await client.deployments.releases.list(projectId, deploymentId));
170
+ return;
171
+ }
172
+ if (releaseAction === 'create') {
173
+ const source = parseJsonOption(parsed, 'source-json');
174
+ if (!source || !isRecord(source)) {
175
+ throw new Error('Option --source-json must be a JSON object');
176
+ }
177
+ printJson(io, await client.deployments.releases.create(projectId, deploymentId, {
178
+ contractVersion: 1,
179
+ source,
180
+ }));
181
+ return;
182
+ }
183
+ throw new Error('Unsupported deployments releases command');
184
+ }
185
+ if (action === 'bindings') {
186
+ const bindingAction = parsed.positionals[2];
187
+ const deploymentId = requireOption(parsed, 'deployment-id');
188
+ if (bindingAction === 'list') {
189
+ printJson(io, await client.deployments.environmentBindings.list(projectId, deploymentId));
190
+ return;
191
+ }
192
+ if (bindingAction === 'create') {
193
+ const binding = parseJsonOption(parsed, 'binding-json');
194
+ if (!binding || !isRecord(binding)) {
195
+ throw new Error('Option --binding-json must be a JSON object');
196
+ }
197
+ const activate = parseBooleanOption(parsed, 'activate');
198
+ printJson(io, await client.deployments.environmentBindings.create(projectId, deploymentId, {
199
+ contractVersion: 1,
200
+ releaseId: requireOption(parsed, 'release-id'),
201
+ binding,
202
+ ...(typeof activate === 'boolean' ? { activate } : {}),
203
+ }));
204
+ return;
205
+ }
206
+ if (bindingAction === 'promote') {
207
+ printJson(io, await client.deployments.environmentBindings.promote(projectId, deploymentId, requireOption(parsed, 'binding-id')));
208
+ return;
209
+ }
210
+ if (bindingAction === 'rollback') {
211
+ printJson(io, await client.deployments.environmentBindings.rollback(projectId, deploymentId, requireOption(parsed, 'binding-id')));
212
+ return;
213
+ }
214
+ throw new Error('Unsupported deployments bindings command');
215
+ }
216
+ if (action === 'list') {
217
+ printJson(io, await client.deployments.list(projectId));
218
+ return;
219
+ }
220
+ throw new Error('Unsupported deployments command');
221
+ }
222
+ function renderError(error) {
223
+ if (error instanceof WrkrApiError) {
224
+ return {
225
+ error: error.message,
226
+ status: error.status,
227
+ code: error.code,
228
+ detail: error.detail,
229
+ stage: error.stage,
230
+ retryable: error.retryable,
231
+ retryAfterMs: error.retryAfterMs,
232
+ requestId: error.requestId,
233
+ issues: error.issues,
234
+ };
235
+ }
236
+ if (error instanceof Error) {
237
+ return { error: error.message };
238
+ }
239
+ return { error: 'Unknown CLI failure' };
240
+ }
241
+ export async function runCli(args, deps = {}) {
242
+ const io = deps.io ?? defaultIo();
243
+ const parsed = parseArgs(args);
244
+ if (parsed.positionals.length === 0 || parsed.options.has('help')) {
245
+ printHelp(io);
246
+ return 0;
247
+ }
248
+ try {
249
+ const client = createClientFromParsedArgs(parsed, deps);
250
+ const command = parsed.positionals[0];
251
+ if (command === 'auth') {
252
+ await handleAuth(parsed, client, io);
253
+ return 0;
254
+ }
255
+ if (command === 'projects') {
256
+ await handleProjects(parsed, client, io);
257
+ return 0;
258
+ }
259
+ if (command === 'deployments') {
260
+ await handleDeployments(parsed, client, io);
261
+ return 0;
262
+ }
263
+ throw new Error(`Unsupported command "${command}"`);
264
+ }
265
+ catch (error) {
266
+ io.stderr(JSON.stringify(renderError(error), null, 2));
267
+ return 1;
268
+ }
269
+ }
270
+ export async function main(args = process.argv.slice(2)) {
271
+ const code = await runCli(args);
272
+ if (code !== 0) {
273
+ process.exit(code);
274
+ }
275
+ }
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@wrkrdev/cli",
3
+ "version": "0.1.0",
4
+ "description": "CLI for the current Wrkr /v1 operator auth, project lookup, and deployment rollout surface.",
5
+ "license": "Apache-2.0",
6
+ "type": "module",
7
+ "main": "./dist/src/index.js",
8
+ "module": "./dist/src/index.js",
9
+ "types": "./dist/src/index.d.ts",
10
+ "bin": {
11
+ "wrkr": "dist/bin/wrkr.js"
12
+ },
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/src/index.d.ts",
16
+ "import": "./dist/src/index.js",
17
+ "default": "./dist/src/index.js"
18
+ }
19
+ },
20
+ "keywords": [
21
+ "wrkr",
22
+ "cli",
23
+ "node",
24
+ "operator",
25
+ "deployments"
26
+ ],
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "files": [
31
+ "dist",
32
+ "README.md",
33
+ "LICENSE"
34
+ ],
35
+ "scripts": {
36
+ "build": "rm -rf dist && tsc -p tsconfig.build.json",
37
+ "typecheck": "tsc --noEmit",
38
+ "test": "bun test"
39
+ },
40
+ "dependencies": {
41
+ "@wrkrdev/api-contract": "^0.1.0",
42
+ "@wrkrdev/sdk": "^0.1.0"
43
+ }
44
+ }