@intutic/shared-types 2.8.0 → 2.9.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.
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Release flags: which Intutic products have shipped.
3
+ *
4
+ * Only the open core is released. Until a flag is flipped:
5
+ *
6
+ * - CLOUD_RELEASED (the hosted control plane): nothing defaults to
7
+ * {@link HOSTED_CONTROL_PLANE_URL}. A control plane is used only when one
8
+ * is named (INTUTIC_CONTROL_PLANE_URL, --control-plane-url, --dev, or the
9
+ * URL a login saved), and a command that needs one and has none says so
10
+ * ({@link NO_CONTROL_PLANE_MESSAGE}).
11
+ * - SELF_HOST_RELEASED (the self-hosted / on-prem distribution): its
12
+ * commands (the on-prem judge's Helm values) are hidden from CLI help.
13
+ * - Either one ({@link CONTROL_PLANE_PRODUCT_RELEASED}): the commands that
14
+ * only work against a control plane (login, connect, org, keys, ...) are
15
+ * hidden from CLI help. Hidden, not removed: they still run.
16
+ *
17
+ * README passages about an unreleased product sit in `<!-- UNRELEASED:cloud`
18
+ * or `<!-- UNRELEASED:self-host` comment blocks.
19
+ *
20
+ * Launch: flip the flag here, its twins in the Python SDK
21
+ * (packages/intutic-clawde/intutic_clawde/release.py: CLOUD_RELEASED /
22
+ * SELF_HOST_RELEASED) and the Terraform provider
23
+ * (packages/terraform-provider-intutic/internal/provider/release.go:
24
+ * cloudReleased / selfHostReleased), and the local copies in
25
+ * packages/clawde-sdk/src/release.ts and packages/gate-js/src/release.ts
26
+ * (which have no runtime dependency on this package); run
27
+ * `node tools/scripts/release-content.js --unwrap <kind>` for the READMEs;
28
+ * update the SDK doc comments that say "this release has no default control
29
+ * plane" (and regenerate the SDK reference); then release. `node tools/scripts/release-content.js --check` (in
30
+ * `pnpm lint:claims`) fails while the copies disagree.
31
+ */
32
+ /** The hosted control plane (api.intutic.ai) has launched. */
33
+ export declare const CLOUD_RELEASED = false;
34
+ /** The self-hosted / on-prem distribution has launched. */
35
+ export declare const SELF_HOST_RELEASED = false;
36
+ /** Some control plane product has launched, so the commands that need one are listed. */
37
+ export declare const CONTROL_PLANE_PRODUCT_RELEASED = false;
38
+ /** The hosted control plane's API host. The default only when {@link CLOUD_RELEASED}. */
39
+ export declare const HOSTED_CONTROL_PLANE_URL = "https://api.intutic.ai";
40
+ /** What a command that needs a control plane says when none is configured. */
41
+ export declare const NO_CONTROL_PLANE_MESSAGE: string;
42
+ //# sourceMappingURL=release.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../src/release.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,8DAA8D;AAC9D,eAAO,MAAM,cAAc,QAAQ,CAAA;AAEnC,2DAA2D;AAC3D,eAAO,MAAM,kBAAkB,QAAQ,CAAA;AAEvC,yFAAyF;AACzF,eAAO,MAAM,8BAA8B,QAAuC,CAAA;AAElF,yFAAyF;AACzF,eAAO,MAAM,wBAAwB,2BAA2B,CAAA;AAEhE,8EAA8E;AAC9E,eAAO,MAAM,wBAAwB,QAEiD,CAAA"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * Release flags: which Intutic products have shipped.
4
+ *
5
+ * Only the open core is released. Until a flag is flipped:
6
+ *
7
+ * - CLOUD_RELEASED (the hosted control plane): nothing defaults to
8
+ * {@link HOSTED_CONTROL_PLANE_URL}. A control plane is used only when one
9
+ * is named (INTUTIC_CONTROL_PLANE_URL, --control-plane-url, --dev, or the
10
+ * URL a login saved), and a command that needs one and has none says so
11
+ * ({@link NO_CONTROL_PLANE_MESSAGE}).
12
+ * - SELF_HOST_RELEASED (the self-hosted / on-prem distribution): its
13
+ * commands (the on-prem judge's Helm values) are hidden from CLI help.
14
+ * - Either one ({@link CONTROL_PLANE_PRODUCT_RELEASED}): the commands that
15
+ * only work against a control plane (login, connect, org, keys, ...) are
16
+ * hidden from CLI help. Hidden, not removed: they still run.
17
+ *
18
+ * README passages about an unreleased product sit in `<!-- UNRELEASED:cloud`
19
+ * or `<!-- UNRELEASED:self-host` comment blocks.
20
+ *
21
+ * Launch: flip the flag here, its twins in the Python SDK
22
+ * (packages/intutic-clawde/intutic_clawde/release.py: CLOUD_RELEASED /
23
+ * SELF_HOST_RELEASED) and the Terraform provider
24
+ * (packages/terraform-provider-intutic/internal/provider/release.go:
25
+ * cloudReleased / selfHostReleased), and the local copies in
26
+ * packages/clawde-sdk/src/release.ts and packages/gate-js/src/release.ts
27
+ * (which have no runtime dependency on this package); run
28
+ * `node tools/scripts/release-content.js --unwrap <kind>` for the READMEs;
29
+ * update the SDK doc comments that say "this release has no default control
30
+ * plane" (and regenerate the SDK reference); then release. `node tools/scripts/release-content.js --check` (in
31
+ * `pnpm lint:claims`) fails while the copies disagree.
32
+ */
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.NO_CONTROL_PLANE_MESSAGE = exports.HOSTED_CONTROL_PLANE_URL = exports.CONTROL_PLANE_PRODUCT_RELEASED = exports.SELF_HOST_RELEASED = exports.CLOUD_RELEASED = void 0;
35
+ /** The hosted control plane (api.intutic.ai) has launched. */
36
+ exports.CLOUD_RELEASED = false;
37
+ /** The self-hosted / on-prem distribution has launched. */
38
+ exports.SELF_HOST_RELEASED = false;
39
+ /** Some control plane product has launched, so the commands that need one are listed. */
40
+ exports.CONTROL_PLANE_PRODUCT_RELEASED = exports.CLOUD_RELEASED || exports.SELF_HOST_RELEASED;
41
+ /** The hosted control plane's API host. The default only when {@link CLOUD_RELEASED}. */
42
+ exports.HOSTED_CONTROL_PLANE_URL = 'https://api.intutic.ai';
43
+ /** What a command that needs a control plane says when none is configured. */
44
+ exports.NO_CONTROL_PLANE_MESSAGE = 'No control plane configured. Open core runs locally (intutic start). ' +
45
+ 'To use a control plane, set INTUTIC_CONTROL_PLANE_URL or pass --control-plane-url.';
46
+ //# sourceMappingURL=release.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release.js","sourceRoot":"","sources":["../src/release.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;;;AAEH,8DAA8D;AACjD,QAAA,cAAc,GAAG,KAAK,CAAA;AAEnC,2DAA2D;AAC9C,QAAA,kBAAkB,GAAG,KAAK,CAAA;AAEvC,yFAAyF;AAC5E,QAAA,8BAA8B,GAAG,sBAAc,IAAI,0BAAkB,CAAA;AAElF,yFAAyF;AAC5E,QAAA,wBAAwB,GAAG,wBAAwB,CAAA;AAEhE,8EAA8E;AACjE,QAAA,wBAAwB,GACnC,uEAAuE;IACvE,oFAAoF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intutic/shared-types",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "Shared TypeScript types for the Intutic control plane, CLI, and sync daemon",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "zod": "^3.23",
21
- "@intutic/anomaly-taxonomy": "2.8.0"
21
+ "@intutic/anomaly-taxonomy": "2.9.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "typescript": "^5.5",