@lace-cloud/canvas 0.28.0 → 0.29.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.
- package/README.md +4 -1
- package/dist/{chunk-DYTLLFEM.mjs → chunk-ASG36ZXQ.mjs} +65 -3
- package/dist/{chunk-DYTLLFEM.mjs.map → chunk-ASG36ZXQ.mjs.map} +1 -1
- package/dist/engine/index.cjs +64 -2
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +2 -2
- package/dist/engine/index.d.ts +2 -2
- package/dist/engine/index.mjs +1 -1
- package/dist/index.cjs +74 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.mjs +10 -4
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-LzXZx20m.d.mts → registry-CuZ4kEQJ.d.mts} +132 -2
- package/dist/{registry-LzXZx20m.d.ts → registry-CuZ4kEQJ.d.ts} +132 -2
- package/package.json +3 -3
package/dist/engine/index.cjs
CHANGED
|
@@ -11204,6 +11204,32 @@ var COMMANDS = {
|
|
|
11204
11204
|
"hidden": false,
|
|
11205
11205
|
"yes": false
|
|
11206
11206
|
},
|
|
11207
|
+
"module lock": {
|
|
11208
|
+
"path": "module lock",
|
|
11209
|
+
"positionals": [],
|
|
11210
|
+
"flags": {
|
|
11211
|
+
"org": {
|
|
11212
|
+
"type": "string"
|
|
11213
|
+
},
|
|
11214
|
+
"output": {
|
|
11215
|
+
"type": "string",
|
|
11216
|
+
"values": [
|
|
11217
|
+
"table",
|
|
11218
|
+
"json"
|
|
11219
|
+
]
|
|
11220
|
+
},
|
|
11221
|
+
"path": {
|
|
11222
|
+
"type": "string"
|
|
11223
|
+
},
|
|
11224
|
+
"upgrade": {
|
|
11225
|
+
"type": "stringArray",
|
|
11226
|
+
"repeated": true
|
|
11227
|
+
}
|
|
11228
|
+
},
|
|
11229
|
+
"effect": "write",
|
|
11230
|
+
"hidden": false,
|
|
11231
|
+
"yes": false
|
|
11232
|
+
},
|
|
11207
11233
|
"module scan": {
|
|
11208
11234
|
"path": "module scan",
|
|
11209
11235
|
"positionals": [],
|
|
@@ -12350,10 +12376,18 @@ var moduleValidateResultSchema = import_zod.z.object({
|
|
|
12350
12376
|
failure: commandFailureSchema.optional(),
|
|
12351
12377
|
diagnostics: import_zod.z.array(commandDiagnosticSchema)
|
|
12352
12378
|
});
|
|
12379
|
+
var moduleLockResultSchema = import_zod.z.object({
|
|
12380
|
+
path: import_zod.z.string(),
|
|
12381
|
+
lockfile: import_zod.z.string(),
|
|
12382
|
+
providers: import_zod.z.array(
|
|
12383
|
+
import_zod.z.object({ address: import_zod.z.string(), version: import_zod.z.string(), platforms: import_zod.z.array(import_zod.z.string()) })
|
|
12384
|
+
)
|
|
12385
|
+
});
|
|
12353
12386
|
var moduleConvertResultSchema = import_zod.z.object({
|
|
12354
12387
|
changed: import_zod.z.boolean(),
|
|
12355
12388
|
written: import_zod.z.array(import_zod.z.string()),
|
|
12356
12389
|
removed: import_zod.z.array(import_zod.z.string()),
|
|
12390
|
+
lock: moduleLockResultSchema.nullable(),
|
|
12357
12391
|
validate: moduleValidateResultSchema,
|
|
12358
12392
|
diagnostics: import_zod.z.array(commandDiagnosticSchema)
|
|
12359
12393
|
});
|
|
@@ -12433,6 +12467,12 @@ var moduleFmtResultSchema = import_zod.z.object({ changed: import_zod.z.array(im
|
|
|
12433
12467
|
var moduleDocsResultSchema = import_zod.z.object({ markdown: import_zod.z.string() });
|
|
12434
12468
|
var moduleScanResultSchema = import_zod.z.object({
|
|
12435
12469
|
treeHash: import_zod.z.string(),
|
|
12470
|
+
tool: import_zod.z.object({
|
|
12471
|
+
name: import_zod.z.string(),
|
|
12472
|
+
version: import_zod.z.string().nullable(),
|
|
12473
|
+
path: import_zod.z.string(),
|
|
12474
|
+
source: import_zod.z.enum(["env", "path", "cache"])
|
|
12475
|
+
}),
|
|
12436
12476
|
diagnostics: import_zod.z.array(commandDiagnosticSchema)
|
|
12437
12477
|
});
|
|
12438
12478
|
var registryDescribeSchema = import_zod.z.object({
|
|
@@ -12586,6 +12626,22 @@ var runSchema = import_zod.z.object({
|
|
|
12586
12626
|
// a portal mount reading the API body sees it absent — optional so both
|
|
12587
12627
|
// bodies parse. A host opens this link and never composes a portal route.
|
|
12588
12628
|
url: import_zod.z.string().optional(),
|
|
12629
|
+
// The provider versions the Run's lockfile pins, each with the
|
|
12630
|
+
// organization's admission it ran under when the version is one admitted
|
|
12631
|
+
// outside the curated range. A single-run read carries it; a list does
|
|
12632
|
+
// not, and the CLI omits an empty one.
|
|
12633
|
+
providers: import_zod.z.array(
|
|
12634
|
+
import_zod.z.object({
|
|
12635
|
+
address: import_zod.z.string(),
|
|
12636
|
+
version: import_zod.z.string(),
|
|
12637
|
+
admission: import_zod.z.object({
|
|
12638
|
+
id: import_zod.z.string(),
|
|
12639
|
+
admittedBy: import_zod.z.string(),
|
|
12640
|
+
admittedByName: import_zod.z.string().nullable(),
|
|
12641
|
+
admittedAt: import_zod.z.string()
|
|
12642
|
+
}).optional()
|
|
12643
|
+
})
|
|
12644
|
+
).optional(),
|
|
12589
12645
|
// The CLI's own `api.Run` decode struct (apps/cli/internal/api/runs.go) has no
|
|
12590
12646
|
// json tag for these, so every CLI JSON golden omits them; the API always sends
|
|
12591
12647
|
// them (apps/api/src/openapi/schemas/runs.ts) — optional so both bodies parse.
|
|
@@ -12805,16 +12861,22 @@ var currentSelectionSchema = import_zod.z.union([
|
|
|
12805
12861
|
import_zod.z.object({ slug: import_zod.z.null(), source: import_zod.z.null() })
|
|
12806
12862
|
]);
|
|
12807
12863
|
var loginUserSchema = import_zod.z.object({ id: import_zod.z.string(), email: import_zod.z.string(), name: import_zod.z.string() });
|
|
12808
|
-
var
|
|
12864
|
+
var keyRevocationSchema = import_zod.z.object({
|
|
12865
|
+
revocation: import_zod.z.enum(["revoked", "refused", "unreachable", "unreadable", "none"]),
|
|
12866
|
+
detail: import_zod.z.string().optional(),
|
|
12867
|
+
portalUrl: import_zod.z.string().optional()
|
|
12868
|
+
});
|
|
12869
|
+
var logoutSchema = keyRevocationSchema.extend({ loggedOut: import_zod.z.boolean() });
|
|
12809
12870
|
var loginEventSchema = import_zod.z.discriminatedUnion("type", [
|
|
12810
12871
|
import_zod.z.object({ type: import_zod.z.literal("code"), code: import_zod.z.string(), verificationUrl: import_zod.z.string().optional() }),
|
|
12811
12872
|
import_zod.z.object({ type: import_zod.z.literal("url"), url: import_zod.z.string() }),
|
|
12812
12873
|
import_zod.z.object({ type: import_zod.z.literal("email_sent"), email: import_zod.z.string() }),
|
|
12813
|
-
import_zod.z.object({ type: import_zod.z.literal("result"), user: loginUserSchema })
|
|
12874
|
+
import_zod.z.object({ type: import_zod.z.literal("result"), user: loginUserSchema, replacedKey: keyRevocationSchema })
|
|
12814
12875
|
]);
|
|
12815
12876
|
var SCHEMAS = {
|
|
12816
12877
|
"module validate": moduleValidateResultSchema,
|
|
12817
12878
|
"module convert": moduleConvertResultSchema,
|
|
12879
|
+
"module lock": moduleLockResultSchema,
|
|
12818
12880
|
"module fmt": moduleFmtResultSchema,
|
|
12819
12881
|
"module docs": moduleDocsResultSchema,
|
|
12820
12882
|
"module scan": moduleScanResultSchema,
|