@runtypelabs/cli 2.22.14 → 2.22.16
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/index.js +34 -2
- package/package.json +6 -6
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([
|
|
@@ -40129,6 +40130,20 @@ var SLACK_MANIFEST_BOT_SCOPES = [
|
|
|
40129
40130
|
...SLACK_REQUIRED_BOT_SCOPES,
|
|
40130
40131
|
...SLACK_OPTIONAL_BOT_SCOPES
|
|
40131
40132
|
];
|
|
40133
|
+
var tenancyAssuranceLevelSchema = external_exports.enum(["anonymous", "asserted", "verified"]);
|
|
40134
|
+
var tenancyStrategyPresetSchema = external_exports.enum([
|
|
40135
|
+
"internal",
|
|
40136
|
+
"tenant-isolated",
|
|
40137
|
+
"end-user-isolated"
|
|
40138
|
+
]);
|
|
40139
|
+
var tenancyAssuranceFloorSchema = external_exports.enum(["asserted", "verified"]);
|
|
40140
|
+
var tenancyStrategySchema = external_exports.object({
|
|
40141
|
+
preset: tenancyStrategyPresetSchema,
|
|
40142
|
+
assuranceFloor: external_exports.object({
|
|
40143
|
+
tenant: tenancyAssuranceFloorSchema.optional(),
|
|
40144
|
+
endUser: tenancyAssuranceFloorSchema.optional()
|
|
40145
|
+
}).strict().optional()
|
|
40146
|
+
}).strict();
|
|
40132
40147
|
var reasoningConfigSchema = external_exports.union([
|
|
40133
40148
|
external_exports.boolean(),
|
|
40134
40149
|
external_exports.object({
|
|
@@ -40360,7 +40375,14 @@ var agentRuntimeConfigSchema = external_exports.object({
|
|
|
40360
40375
|
// builtin tools + system-prompt frame at dispatch. Single-sourced as
|
|
40361
40376
|
// `sandboxConfigSchema` (above), mirroring `memory`. The live machine is agent
|
|
40362
40377
|
// state; this block is the operator Definition that enables it.
|
|
40363
|
-
sandbox: sandboxConfigSchema.optional()
|
|
40378
|
+
sandbox: sandboxConfigSchema.optional(),
|
|
40379
|
+
// Tenancy Strategy (ADR 0012) — per-resource opt-in to tenant/end-user
|
|
40380
|
+
// isolation. Part of the Definition (validated + persisted + content-hashed
|
|
40381
|
+
// here so `ensure` tracks it). Absent → platform-global default (no behavior
|
|
40382
|
+
// change); present → the execution pipeline expands it and enforces the
|
|
40383
|
+
// lock-down gate pre-engine. Single-sourced as `tenancyStrategySchema` in
|
|
40384
|
+
// `./tenancy-strategy`; the expansion + gate logic lives in apps/api.
|
|
40385
|
+
tenancyStrategy: tenancyStrategySchema.optional()
|
|
40364
40386
|
});
|
|
40365
40387
|
function extractSecretReferences(template) {
|
|
40366
40388
|
const keys = /* @__PURE__ */ new Set();
|
|
@@ -43719,6 +43741,16 @@ var DispatchRequestSchema = external_exports.object({
|
|
|
43719
43741
|
id: external_exports.string().min(1),
|
|
43720
43742
|
email: external_exports.string().optional()
|
|
43721
43743
|
}).passthrough().optional(),
|
|
43744
|
+
// Product Tenant identity — the builder's customer/account/workspace *inside*
|
|
43745
|
+
// a Product (the customer's customer), nested under the Builder Org and above
|
|
43746
|
+
// the End User. Exposed as `_tenant.*` in template variables. Distinct from
|
|
43747
|
+
// `_user` (the Runtype account holder / Builder Org) and `_endUser` (the
|
|
43748
|
+
// individual human). V1: caller-asserted transport only — trust-boundary
|
|
43749
|
+
// enforcement, projection, and scoped data key off it in later increments.
|
|
43750
|
+
// See `CONTEXT.md` → "Product Tenant" / "Resolved Tenancy Context".
|
|
43751
|
+
tenant: external_exports.object({
|
|
43752
|
+
id: external_exports.string().min(1)
|
|
43753
|
+
}).passthrough().optional(),
|
|
43722
43754
|
options: external_exports.object({
|
|
43723
43755
|
streamResponse: external_exports.boolean().optional().default(true),
|
|
43724
43756
|
modelOverride: external_exports.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/cli",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.16",
|
|
4
4
|
"description": "Command-line interface for Runtype AI platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"react": "^19.2.4",
|
|
24
24
|
"rosie-skills": "0.8.1",
|
|
25
25
|
"yaml": "^2.9.0",
|
|
26
|
-
"@runtypelabs/ink-components": "0.3.
|
|
27
|
-
"@runtypelabs/
|
|
28
|
-
"@runtypelabs/
|
|
26
|
+
"@runtypelabs/ink-components": "0.3.4",
|
|
27
|
+
"@runtypelabs/sdk": "5.3.0",
|
|
28
|
+
"@runtypelabs/terminal-animations": "0.2.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@runtypelabs/persona": "4.3.1",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"dev": "tsx watch src/index.ts",
|
|
75
75
|
"dev:run": "tsx src/index.ts",
|
|
76
76
|
"build": "tsup",
|
|
77
|
-
"typecheck": "
|
|
77
|
+
"typecheck": "tsgo --noEmit",
|
|
78
78
|
"start": "node dist/index.js",
|
|
79
|
-
"type-check": "pnpm --filter @runtypelabs/sdk build && pnpm --filter @runtypelabs/ink-components build &&
|
|
79
|
+
"type-check": "pnpm --filter @runtypelabs/sdk build && pnpm --filter @runtypelabs/ink-components build && tsgo --noEmit",
|
|
80
80
|
"test": "vitest",
|
|
81
81
|
"test:watch": "vitest watch",
|
|
82
82
|
"test:coverage": "vitest run --coverage",
|