deepline 0.1.106 → 0.1.107
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/cli/index.js +404 -34
- package/dist/cli/index.mjs +400 -30
- package/dist/index.js +13 -3
- package/dist/index.mjs +13 -3
- package/dist/repo/sdk/src/release.ts +47 -7
- package/package.json +1 -1
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Single source of truth for SDK release metadata.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Ordinary SDK PRs do NOT bump `version` here. Patch version selection
|
|
5
|
+
* happens at publish time: on push to main, `.github/workflows/sdk-release.yml`
|
|
6
|
+
* (via `scripts/sdk-release-autobump.ts`) compares the built package against
|
|
7
|
+
* the published npm tarball and, when the content changed, stamps the next
|
|
8
|
+
* unpublished patch into `version` + `supportPolicy.latest` and publishes it
|
|
9
|
+
* in the same run.
|
|
10
|
+
*
|
|
11
|
+
* Edit THIS file by hand only for deliberate release decisions:
|
|
12
|
+
* - minor/major version bumps (set `version` and `supportPolicy.latest`),
|
|
13
|
+
* - `apiContract` cutovers (see `docs/sdk-runtime-compatibility.md`),
|
|
14
|
+
* - support-window moves (`minimumSupported` / `deprecatedBelow`).
|
|
15
|
+
* The automation never touches `apiContract`, `minimumSupported`, or
|
|
16
|
+
* `deprecatedBelow`.
|
|
17
|
+
*
|
|
18
|
+
* Everything else derives from these values:
|
|
6
19
|
*
|
|
7
20
|
* - `sdk/src/version.ts` re-exports `SDK_VERSION` and `SDK_API_CONTRACT`.
|
|
8
21
|
* - `src/lib/sdk/release-policy.ts` re-exports `SDK_RELEASE_POLICY`.
|
|
@@ -13,8 +26,7 @@
|
|
|
13
26
|
* `src/lib/sdk/api-routes.ts` and the apiContract here; the hash in
|
|
14
27
|
* `contracts/sdk-api.manifest.hash` is the invariant that lands in git.
|
|
15
28
|
*
|
|
16
|
-
*
|
|
17
|
-
* compatibility policy. Every other location is derived and any drift is a
|
|
29
|
+
* Any drift between this file and the derived locations is a
|
|
18
30
|
* `check:sdk-release-readiness` failure with a one-shot fix command.
|
|
19
31
|
*/
|
|
20
32
|
|
|
@@ -34,10 +46,27 @@ export type SdkSupportPolicy = {
|
|
|
34
46
|
* warns). Advance when a release becomes the new floor.
|
|
35
47
|
*/
|
|
36
48
|
deprecatedBelow: string;
|
|
49
|
+
/**
|
|
50
|
+
* Command-scoped support floors for SDK CLI workflows whose local behavior
|
|
51
|
+
* can break while the network API contract remains compatible.
|
|
52
|
+
*/
|
|
53
|
+
commandMinimumSupported?: ReadonlyArray<{
|
|
54
|
+
command: string;
|
|
55
|
+
minimumSupported: string;
|
|
56
|
+
reason: string;
|
|
57
|
+
}>;
|
|
58
|
+
/**
|
|
59
|
+
* Ask update-capable CLIs to self-update when they are this many patch
|
|
60
|
+
* releases behind latest, even if they are not blocked yet.
|
|
61
|
+
*/
|
|
62
|
+
autoUpdatePatchLag?: number;
|
|
37
63
|
};
|
|
38
64
|
|
|
39
65
|
export type SdkRelease = {
|
|
40
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* Version published to npm. Usually stamped by the release workflow at
|
|
68
|
+
* publish time (auto-bump); edit by hand only for minor/major releases.
|
|
69
|
+
*/
|
|
41
70
|
version: string;
|
|
42
71
|
/**
|
|
43
72
|
* SDK/API contract identifier. Bump on incompatible protocol or schema
|
|
@@ -63,11 +92,22 @@ export const SDK_RELEASE = {
|
|
|
63
92
|
// 0.1.105 ships the billing catalog surface: billing plans, subscribe,
|
|
64
93
|
// subscription status/cancel, invoices, and the client.billing namespace.
|
|
65
94
|
// 0.1.106 ships play cell provenance metadata and v2 preview retry hardening.
|
|
66
|
-
|
|
95
|
+
// 0.1.107 ships the v2 quickstart command, the deepline-plays-quickstart
|
|
96
|
+
// skill on the sdk sync surface, and the people-search-to-email prebuilt.
|
|
97
|
+
version: '0.1.107',
|
|
67
98
|
apiContract: '2026-06-dataset-column-cell-stale-hard-cutover',
|
|
68
99
|
supportPolicy: {
|
|
69
|
-
latest: '0.1.
|
|
100
|
+
latest: '0.1.107',
|
|
70
101
|
minimumSupported: '0.1.53',
|
|
71
102
|
deprecatedBelow: '0.1.53',
|
|
103
|
+
commandMinimumSupported: [
|
|
104
|
+
{
|
|
105
|
+
command: 'enrich',
|
|
106
|
+
minimumSupported: '0.1.106',
|
|
107
|
+
reason:
|
|
108
|
+
'Older SDK CLI enrich generated stale play source for the current dataset API.',
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
autoUpdatePatchLag: 2,
|
|
72
112
|
},
|
|
73
113
|
} as const satisfies SdkRelease;
|