@picked/cli 0.0.1-dev.1788925875333 → 0.0.1-dev.1793753513002

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.
Files changed (39) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +29 -11
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/cjs/cli.js +7 -2
  5. package/dist/cjs/index.js +1 -1
  6. package/dist/esm/cli.js +76 -65
  7. package/dist/esm/index.js +1 -2
  8. package/dist/types/commands/docs.d.ts +65 -0
  9. package/dist/types/commands/docs.d.ts.map +1 -0
  10. package/dist/types/commands/login.d.ts +2 -1
  11. package/dist/types/commands/login.d.ts.map +1 -1
  12. package/dist/types/commands/pull.d.ts +19 -0
  13. package/dist/types/commands/pull.d.ts.map +1 -0
  14. package/dist/types/commands/whoami.d.ts +1 -0
  15. package/dist/types/commands/whoami.d.ts.map +1 -1
  16. package/dist/types/commands/workspace-export.d.ts +28 -0
  17. package/dist/types/commands/workspace-export.d.ts.map +1 -0
  18. package/dist/types/commands/workspace-import.d.ts +26 -0
  19. package/dist/types/commands/workspace-import.d.ts.map +1 -0
  20. package/dist/types/commands/workspace-list.d.ts +1 -1
  21. package/dist/types/commands/workspace-list.d.ts.map +1 -1
  22. package/dist/types/commands/workspace-use.d.ts.map +1 -1
  23. package/dist/types/index.d.ts +4 -0
  24. package/dist/types/index.d.ts.map +1 -1
  25. package/dist/types/lib/admin-client.d.ts +22 -0
  26. package/dist/types/lib/admin-client.d.ts.map +1 -0
  27. package/dist/types/lib/bundle.d.ts +79 -0
  28. package/dist/types/lib/bundle.d.ts.map +1 -0
  29. package/dist/types/lib/docs.d.ts +94 -0
  30. package/dist/types/lib/docs.d.ts.map +1 -0
  31. package/dist/types/lib/workspace-transfer.d.ts +120 -0
  32. package/dist/types/lib/workspace-transfer.d.ts.map +1 -0
  33. package/dist/types/lib/workspaces.d.ts +8 -9
  34. package/dist/types/lib/workspaces.d.ts.map +1 -1
  35. package/dist/workspace-use-BlhQXU7t.js +1043 -0
  36. package/dist/workspace-use-CBVbT-DN.cjs +53 -0
  37. package/package.json +14 -7
  38. package/dist/workspace-use-CT6_jewh.cjs +0 -48
  39. package/dist/workspace-use-Cbz1Bxse.js +0 -521
@@ -0,0 +1,94 @@
1
+ /** Origin of the published documentation site. */
2
+ export declare const DOCS_SITE = "https://docs.picked.app";
3
+ /** One documentation page, addressed by its site path. */
4
+ export interface DocPage {
5
+ /** Site path without extension, e.g. `/how-to/build-a-flow`; `/` for the home page. */
6
+ path: string;
7
+ /** Page title, from its first `#` heading. */
8
+ title: string;
9
+ /** Diátaxis content type: `tutorial`, `how-to`, `reference` or `explanation`. */
10
+ type?: string;
11
+ /** The page's first paragraph. */
12
+ description?: string;
13
+ /** Absolute path of the bundled Markdown file; local pages only. */
14
+ file?: string;
15
+ }
16
+ /** Where `picked docs` reads pages from. */
17
+ export interface DocsSource {
18
+ /** Where the pages come from: a directory, or the index URL. */
19
+ location: string;
20
+ /** Lists every page, in path order. */
21
+ list: () => Promise<DocPage[]>;
22
+ /** Reads one page's Markdown without frontmatter; `undefined` when no page has that path. */
23
+ read: (path: string) => Promise<string | undefined>;
24
+ }
25
+ /**
26
+ * Turns any way of naming a page into its site path: a path with or without its leading
27
+ * slash, a docs URL with or without an anchor, or a bundled file path.
28
+ *
29
+ * @param {string} input - The page as the caller named it.
30
+ * @returns {string} The site path, e.g. `/reference/sdk/steps`.
31
+ * @example
32
+ * normalizeDocPath('node_modules/picked/docs/reference/sdk/steps.md') // '/reference/sdk/steps'
33
+ */
34
+ export declare function normalizeDocPath(input: string): string;
35
+ /**
36
+ * Reads pages from a directory laid out like `docs/public-docs/docs/pages`, which is how
37
+ * `picked` bundles them.
38
+ *
39
+ * @param {string} dir - The docs directory, e.g. `node_modules/picked/docs`.
40
+ * @returns {DocsSource} The source.
41
+ * @example
42
+ * const pages = await createLocalDocsSource('node_modules/picked/docs').list()
43
+ */
44
+ export declare function createLocalDocsSource(dir: string): DocsSource;
45
+ /**
46
+ * Reads pages from the index the docs site publishes, for a project without `picked`
47
+ * installed.
48
+ *
49
+ * @param {typeof fetch} [fetchImpl] - The fetch to use.
50
+ * @returns {DocsSource} The source. Its methods throw when the index cannot be fetched.
51
+ * @example
52
+ * const body = await createRemoteDocsSource().read('/reference/tools/cli')
53
+ */
54
+ export declare function createRemoteDocsSource(fetchImpl?: typeof fetch): DocsSource;
55
+ /**
56
+ * Finds the docs bundled in the `picked` package, in order: `PICKED_DOCS_DIR`, the `picked`
57
+ * package whose bin runs this command, then the `picked` package installed in `cwd`.
58
+ *
59
+ * @param {object} options - Where to look.
60
+ * @param {string} options.cwd - The working directory.
61
+ * @param {string | undefined} options.bin - The script that started the process (`process.argv[1]`).
62
+ * @param {Record<string, string | undefined>} options.env - The environment.
63
+ * @returns {string | undefined} The docs directory, or `undefined` when none is installed.
64
+ * @example
65
+ * findLocalDocsDir({ cwd: process.cwd(), bin: process.argv[1], env: process.env })
66
+ */
67
+ export declare function findLocalDocsDir(options: {
68
+ cwd: string;
69
+ bin: string | undefined;
70
+ env: Record<string, string | undefined>;
71
+ }): string | undefined;
72
+ /**
73
+ * The docs bundled in `picked` when they are installed, otherwise the published index.
74
+ *
75
+ * @param {object} [options] - Where to look; defaults to the running process.
76
+ * @param {string} [options.cwd] - The working directory.
77
+ * @returns {DocsSource} The source to read.
78
+ * @example
79
+ * const source = resolveDocsSource()
80
+ */
81
+ export declare function resolveDocsSource(options?: {
82
+ cwd?: string;
83
+ }): DocsSource;
84
+ /**
85
+ * Keeps the pages whose path, title or description holds every word of `query`.
86
+ *
87
+ * @param {DocPage[]} pages - The pages to search.
88
+ * @param {string} query - Words to look for, in any case.
89
+ * @returns {DocPage[]} The matching pages, in their original order.
90
+ * @example
91
+ * searchDocPages(pages, 'feature flag')
92
+ */
93
+ export declare function searchDocPages(pages: DocPage[], query: string): DocPage[];
94
+ //# sourceMappingURL=docs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docs.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,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,UAAU,CAOxE;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,EAAE,CASzE"}
@@ -0,0 +1,120 @@
1
+ import type { AdminApiClient } from '@picked/admin-api-client';
2
+ /** One `workspaceImport` asset mapping: a bundle asset version and the target version for it. */
3
+ export interface AssetMapping {
4
+ sourceVersionId: string;
5
+ assetId: string;
6
+ versionId: string;
7
+ }
8
+ /** The target project's asset version for some bytes, and whether they had to be uploaded. */
9
+ interface UploadedAsset {
10
+ assetId: string;
11
+ versionId: string;
12
+ /** True when the project already held the bytes and nothing was uploaded. */
13
+ deduplicated: boolean;
14
+ }
15
+ /**
16
+ * The error thrown when a mutation payload carries user errors: the API answered and
17
+ * rejected the operation.
18
+ *
19
+ * @example
20
+ * if (error instanceof PayloadUserErrorsError) console.error(error.message)
21
+ */
22
+ export declare class PayloadUserErrorsError extends Error {
23
+ readonly name = "PayloadUserErrorsError";
24
+ }
25
+ /**
26
+ * Resolves the workspace that holds a project's live version: the snapshot workspace of
27
+ * the version the project serves.
28
+ *
29
+ * @param {AdminApiClient} client - The admin API client.
30
+ * @param {string} projectId - The project.
31
+ * @returns {Promise<string>} The snapshot workspace id.
32
+ * @throws {Error} When the project is not found, has no published version, or its live
33
+ * version has no snapshot workspace.
34
+ * @example
35
+ * const workspaceId = await resolveLiveWorkspaceId(client, 'proj-1')
36
+ */
37
+ export declare function resolveLiveWorkspaceId(client: AdminApiClient, projectId: string): Promise<string>;
38
+ /**
39
+ * Exports a workspace as a bundle.
40
+ *
41
+ * @param {AdminApiClient} client - The admin API client.
42
+ * @param {string} workspaceId - The workspace.
43
+ * @returns {Promise<Record<string, unknown>>} The bundle document.
44
+ * @throws {Error} On user errors, or when the payload has no bundle object.
45
+ * @example
46
+ * const bundle = await exportWorkspaceBundle(client, 'ws-1')
47
+ */
48
+ export declare function exportWorkspaceBundle(client: AdminApiClient, workspaceId: string): Promise<Record<string, unknown>>;
49
+ /**
50
+ * Stores bytes as an asset of a project. `assetUploadInit` receives their SHA-256: when the
51
+ * project already holds them it returns that version and nothing is uploaded; otherwise the
52
+ * bytes are PUT to the upload URL and committed with the same SHA-256.
53
+ *
54
+ * @param {AdminApiClient} client - The admin API client.
55
+ * @param {object} params - The upload.
56
+ * @param {string} params.projectId - The target project.
57
+ * @param {string} params.fileName - The asset's file name.
58
+ * @param {string} params.mimeType - The bytes' content type.
59
+ * @param {string} params.sha256 - Lower-case hex SHA-256 of `bytes`.
60
+ * @param {Uint8Array<ArrayBuffer>} params.bytes - The bytes.
61
+ * @returns {Promise<UploadedAsset>} The project's asset version for the bytes.
62
+ * @throws {Error} When storage rejects the upload or the commit returns user errors.
63
+ * @example
64
+ * const uploaded = await uploadAsset(client, { projectId, fileName, mimeType, sha256, bytes })
65
+ */
66
+ export declare function uploadAsset(client: AdminApiClient, params: {
67
+ projectId: string;
68
+ fileName: string;
69
+ mimeType: string;
70
+ sha256: string;
71
+ bytes: Uint8Array<ArrayBuffer>;
72
+ }): Promise<UploadedAsset>;
73
+ /**
74
+ * Deletes an asset of a project.
75
+ *
76
+ * @param {AdminApiClient} client - The admin API client.
77
+ * @param {string} assetId - The asset.
78
+ * @returns {Promise<void>} Resolves once deleted.
79
+ * @example
80
+ * await deleteAsset(client, 'asset-1')
81
+ */
82
+ export declare function deleteAsset(client: AdminApiClient, assetId: string): Promise<void>;
83
+ /**
84
+ * Imports a bundle as a new draft workspace of a project. The request may run for up to
85
+ * five minutes.
86
+ *
87
+ * @param {AdminApiClient} client - The admin API client.
88
+ * @param {object} params - The import.
89
+ * @param {string} params.projectId - The target project.
90
+ * @param {string} [params.name] - The new workspace's name; the bundle's name when omitted.
91
+ * @param {Record<string, unknown>} params.bundle - The bundle document.
92
+ * @param {AssetMapping[]} params.assetMap - The target version of every bundle asset version.
93
+ * @returns {Promise<{ id: string; name: string }>} The new workspace.
94
+ * @throws {PayloadUserErrorsError} On user errors.
95
+ * @throws {Error} When the request fails, or the payload has neither a workspace nor user errors.
96
+ * @example
97
+ * const workspace = await importWorkspaceBundle(client, { projectId, bundle, assetMap })
98
+ */
99
+ export declare function importWorkspaceBundle(client: AdminApiClient, params: {
100
+ projectId: string;
101
+ name?: string;
102
+ bundle: Record<string, unknown>;
103
+ assetMap: AssetMapping[];
104
+ }): Promise<{
105
+ id: string;
106
+ name: string;
107
+ }>;
108
+ /**
109
+ * Publishes a workspace, making it its project's live version.
110
+ *
111
+ * @param {AdminApiClient} client - The admin API client.
112
+ * @param {string} workspaceId - The workspace.
113
+ * @returns {Promise<void>} Resolves once published.
114
+ * @throws {Error} On user errors.
115
+ * @example
116
+ * await publishWorkspace(client, 'ws-1')
117
+ */
118
+ export declare function publishWorkspace(client: AdminApiClient, workspaceId: string): Promise<void>;
119
+ export {};
120
+ //# sourceMappingURL=workspace-transfer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace-transfer.d.ts","sourceRoot":"","sources":["../../../src/lib/workspace-transfer.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAe9D,iGAAiG;AACjG,MAAM,WAAW,YAAY;IAC3B,eAAe,EAAE,MAAM,CAAA;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,8FAA8F;AAC9F,UAAU,aAAa;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,6EAA6E;IAC7E,YAAY,EAAE,OAAO,CAAA;CACtB;AAED;;;;;;GAMG;AACH,qBAAa,sBAAuB,SAAQ,KAAK;IAC/C,SAAkB,IAAI,4BAA2B;CAClD;AAqBD;;;;;;;;;;;GAWG;AACH,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,cAAc,EACtB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,CAAC,CAcjB;AAED;;;;;;;;;GASG;AACH,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,cAAc,EACtB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAUlC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,WAAW,CAC/B,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE;IACN,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;CAC/B,GACA,OAAO,CAAC,aAAa,CAAC,CAmCxB;AAED;;;;;;;;GAQG;AACH,wBAAsB,WAAW,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAExF;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE;IACN,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC/B,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB,GACA,OAAO,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAYvC;AAED;;;;;;;;;GASG;AACH,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAKjG"}
@@ -1,3 +1,4 @@
1
+ import type { AdminApiClient } from '@picked/admin-api-client';
1
2
  import type { WorkspaceStatus } from '@picked/config';
2
3
  /** A workspace within a project, as returned by the workspace-tree query. */
3
4
  export interface WorkspaceNode {
@@ -30,25 +31,23 @@ export interface WorkspacePreviewInfo {
30
31
  /**
31
32
  * Fetches every organization, project, and workspace visible to the authenticated user.
32
33
  *
33
- * @param {string} apiUrl - Base Picked API URL.
34
- * @param {string} token - Bearer access token.
34
+ * @param {AdminApiClient} client - The admin API client.
35
35
  * @returns {Promise<OrgNode[]>} The organization/project/workspace tree.
36
- * @throws {Error} When the request fails or the caller is not authenticated.
36
+ * @throws {Error} When the request fails or the caller is not a signed-in user.
37
37
  * @example
38
- * const orgs = await fetchWorkspaceTree(apiUrl, token)
38
+ * const orgs = await fetchWorkspaceTree(client)
39
39
  */
40
- export declare function fetchWorkspaceTree(apiUrl: string, token: string): Promise<OrgNode[]>;
40
+ export declare function fetchWorkspaceTree(client: AdminApiClient): Promise<OrgNode[]>;
41
41
  /**
42
42
  * Fetches a single workspace's status, name, and stateless preview delivery token.
43
43
  *
44
- * @param {string} apiUrl - Base Picked API URL.
45
- * @param {string} token - Bearer access token.
44
+ * @param {AdminApiClient} client - The admin API client.
46
45
  * @param {string} projectId - Project the workspace belongs to.
47
46
  * @param {string} workspaceId - Workspace to fetch.
48
47
  * @returns {Promise<WorkspacePreviewInfo>} The workspace's status, name, and preview token.
49
48
  * @throws {Error} When the request fails or the workspace cannot be found.
50
49
  * @example
51
- * const info = await fetchPreviewToken(apiUrl, token, projectId, workspaceId)
50
+ * const info = await fetchPreviewToken(client, projectId, workspaceId)
52
51
  */
53
- export declare function fetchPreviewToken(apiUrl: string, token: string, projectId: string, workspaceId: string): Promise<WorkspacePreviewInfo>;
52
+ export declare function fetchPreviewToken(client: AdminApiClient, projectId: string, workspaceId: string): Promise<WorkspacePreviewInfo>;
54
53
  //# sourceMappingURL=workspaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/lib/workspaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAErD,6EAA6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