@runtypelabs/cli 2.22.15 → 2.22.17

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 (2) hide show
  1. package/dist/index.js +34 -5
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -16693,7 +16693,8 @@ var AGENT_CONTENT_CONFIG_KEYS = {
16693
16693
  loggingPolicy: true,
16694
16694
  temporal: true,
16695
16695
  memory: true,
16696
- sandbox: true
16696
+ sandbox: true,
16697
+ tenancyStrategy: true
16697
16698
  };
16698
16699
  var AGENT_CONTENT_CONFIG_KEY_LIST = Object.keys(AGENT_CONTENT_CONFIG_KEYS).sort();
16699
16700
  var configurationStatusSchema = external_exports.enum([
@@ -37644,9 +37645,6 @@ var DEFAULT_MODELS_FOR_NEW_ACCOUNTS = [
37644
37645
  var DEFAULT_MODEL_ID = DEFAULT_MODELS_FOR_NEW_ACCOUNTS.find((m2) => m2.isDefault)?.modelId ?? "kimi-k2.6";
37645
37646
  var userProfileFeaturesSchema = external_exports.object({
37646
37647
  enableAgentSkills: external_exports.boolean(),
37647
- // Routed model id the product generator dispatches with. Driven by the
37648
- // `product-generator-model` string flag; defaults to `kimi-k2.6`.
37649
- productGeneratorModel: external_exports.string(),
37650
37648
  // Gates the WebMCP-powered dashboard assistant (copilot panel + chat
37651
37649
  // proxy). Driven by the `enable-dashboard-assistant` boolean flag.
37652
37650
  enableDashboardAssistant: external_exports.boolean(),
@@ -40129,6 +40127,20 @@ var SLACK_MANIFEST_BOT_SCOPES = [
40129
40127
  ...SLACK_REQUIRED_BOT_SCOPES,
40130
40128
  ...SLACK_OPTIONAL_BOT_SCOPES
40131
40129
  ];
40130
+ var tenancyAssuranceLevelSchema = external_exports.enum(["anonymous", "asserted", "verified"]);
40131
+ var tenancyStrategyPresetSchema = external_exports.enum([
40132
+ "internal",
40133
+ "tenant-isolated",
40134
+ "end-user-isolated"
40135
+ ]);
40136
+ var tenancyAssuranceFloorSchema = external_exports.enum(["asserted", "verified"]);
40137
+ var tenancyStrategySchema = external_exports.object({
40138
+ preset: tenancyStrategyPresetSchema,
40139
+ assuranceFloor: external_exports.object({
40140
+ tenant: tenancyAssuranceFloorSchema.optional(),
40141
+ endUser: tenancyAssuranceFloorSchema.optional()
40142
+ }).strict().optional()
40143
+ }).strict();
40132
40144
  var reasoningConfigSchema = external_exports.union([
40133
40145
  external_exports.boolean(),
40134
40146
  external_exports.object({
@@ -40360,7 +40372,14 @@ var agentRuntimeConfigSchema = external_exports.object({
40360
40372
  // builtin tools + system-prompt frame at dispatch. Single-sourced as
40361
40373
  // `sandboxConfigSchema` (above), mirroring `memory`. The live machine is agent
40362
40374
  // state; this block is the operator Definition that enables it.
40363
- sandbox: sandboxConfigSchema.optional()
40375
+ sandbox: sandboxConfigSchema.optional(),
40376
+ // Tenancy Strategy (ADR 0012) — per-resource opt-in to tenant/end-user
40377
+ // isolation. Part of the Definition (validated + persisted + content-hashed
40378
+ // here so `ensure` tracks it). Absent → platform-global default (no behavior
40379
+ // change); present → the execution pipeline expands it and enforces the
40380
+ // lock-down gate pre-engine. Single-sourced as `tenancyStrategySchema` in
40381
+ // `./tenancy-strategy`; the expansion + gate logic lives in apps/api.
40382
+ tenancyStrategy: tenancyStrategySchema.optional()
40364
40383
  });
40365
40384
  function extractSecretReferences(template) {
40366
40385
  const keys = /* @__PURE__ */ new Set();
@@ -43719,6 +43738,16 @@ var DispatchRequestSchema = external_exports.object({
43719
43738
  id: external_exports.string().min(1),
43720
43739
  email: external_exports.string().optional()
43721
43740
  }).passthrough().optional(),
43741
+ // Product Tenant identity — the builder's customer/account/workspace *inside*
43742
+ // a Product (the customer's customer), nested under the Builder Org and above
43743
+ // the End User. Exposed as `_tenant.*` in template variables. Distinct from
43744
+ // `_user` (the Runtype account holder / Builder Org) and `_endUser` (the
43745
+ // individual human). V1: caller-asserted transport only — trust-boundary
43746
+ // enforcement, projection, and scoped data key off it in later increments.
43747
+ // See `CONTEXT.md` → "Product Tenant" / "Resolved Tenancy Context".
43748
+ tenant: external_exports.object({
43749
+ id: external_exports.string().min(1)
43750
+ }).passthrough().optional(),
43722
43751
  options: external_exports.object({
43723
43752
  streamResponse: external_exports.boolean().optional().default(true),
43724
43753
  modelOverride: external_exports.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/cli",
3
- "version": "2.22.15",
3
+ "version": "2.22.17",
4
4
  "description": "Command-line interface for Runtype AI platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,8 +23,8 @@
23
23
  "react": "^19.2.4",
24
24
  "rosie-skills": "0.8.1",
25
25
  "yaml": "^2.9.0",
26
- "@runtypelabs/sdk": "5.2.3",
27
26
  "@runtypelabs/ink-components": "0.3.4",
27
+ "@runtypelabs/sdk": "5.3.1",
28
28
  "@runtypelabs/terminal-animations": "0.2.1"
29
29
  },
30
30
  "devDependencies": {
@@ -39,7 +39,7 @@
39
39
  "tsx": "^4.7.1",
40
40
  "typescript": "^6.0.3",
41
41
  "vitest": "^4.1.0",
42
- "@runtypelabs/shared": "1.42.2"
42
+ "@runtypelabs/shared": "1.42.3"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=22.0.0"