@caelo-cms/provisioning 0.10.58 → 0.10.59
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/agent-db.js +56 -1
- package/package.json +2 -2
package/dist/agent-db.js
CHANGED
|
@@ -6676,7 +6676,11 @@ var chatChipSchema = object({
|
|
|
6676
6676
|
selector: string2().max(500),
|
|
6677
6677
|
label: string2().min(1).max(200),
|
|
6678
6678
|
selectedText: string2().min(1).max(2000).optional(),
|
|
6679
|
-
context: string2().min(1).max(500).optional()
|
|
6679
|
+
context: string2().min(1).max(500).optional(),
|
|
6680
|
+
blockName: string2().min(1).max(80).optional(),
|
|
6681
|
+
position: number2().int().nonnegative().optional(),
|
|
6682
|
+
field: string2().min(1).max(200).optional(),
|
|
6683
|
+
index: number2().int().nonnegative().optional()
|
|
6680
6684
|
}).strict();
|
|
6681
6685
|
var CHAT_MAX_CHIPS = 20;
|
|
6682
6686
|
var chatSendMessageInput = object({
|
|
@@ -6998,6 +7002,53 @@ var updatePolicySchema = object({
|
|
|
6998
7002
|
var AUTO_UPDATE_BASES = ["security", "patch", "minor"];
|
|
6999
7003
|
// ../shared/src/base-css.ts
|
|
7000
7004
|
var BASE_TECHNICAL_CSS = "*,*::before,*::after{box-sizing:border-box}" + "body{margin:0}" + "img,picture,video,canvas,svg{display:block;max-width:100%}" + "input,button,textarea,select{font:inherit}" + "body{font-family:var(--font-body,system-ui,sans-serif)}";
|
|
7005
|
+
// ../shared/src/bug-intake.ts
|
|
7006
|
+
var BUG_INTAKE_PROTOCOL_VERSION = 1;
|
|
7007
|
+
var BUG_INTAKE_MAX_CLOCK_SKEW_MS = 5 * 60 * 1000;
|
|
7008
|
+
var BUG_INTAKE_LIMITS = {
|
|
7009
|
+
title: 200,
|
|
7010
|
+
whatHappened: 4000,
|
|
7011
|
+
expected: 4000,
|
|
7012
|
+
evidence: 4000
|
|
7013
|
+
};
|
|
7014
|
+
var fingerprintSchema = string2().regex(/^[0-9a-f]{64}$/, "fingerprint must be 64 hex chars");
|
|
7015
|
+
var bugIntakeRegisterRequest = object({
|
|
7016
|
+
protocolVersion: literal(BUG_INTAKE_PROTOCOL_VERSION),
|
|
7017
|
+
installId: string2().uuid(),
|
|
7018
|
+
publicKey: string2().regex(/^[A-Za-z0-9+/]{43}=$/, "publicKey must be a base64 Ed25519 key"),
|
|
7019
|
+
caeloVersion: string2().min(1).max(64)
|
|
7020
|
+
}).strict();
|
|
7021
|
+
var bugIntakeReport = object({
|
|
7022
|
+
protocolVersion: literal(BUG_INTAKE_PROTOCOL_VERSION),
|
|
7023
|
+
reportId: string2().uuid(),
|
|
7024
|
+
caeloVersion: string2().min(1).max(64),
|
|
7025
|
+
fingerprint: fingerprintSchema,
|
|
7026
|
+
source: _enum(["ai", "auto"]),
|
|
7027
|
+
severity: _enum(["blocking", "degraded", "cosmetic"]),
|
|
7028
|
+
blockedTask: boolean2(),
|
|
7029
|
+
suspectedTool: string2().max(200).nullable(),
|
|
7030
|
+
title: string2().min(1).max(BUG_INTAKE_LIMITS.title),
|
|
7031
|
+
whatHappened: string2().min(1).max(BUG_INTAKE_LIMITS.whatHappened),
|
|
7032
|
+
expected: string2().min(1).max(BUG_INTAKE_LIMITS.expected),
|
|
7033
|
+
evidence: string2().max(BUG_INTAKE_LIMITS.evidence).nullable()
|
|
7034
|
+
}).strict();
|
|
7035
|
+
var bugClusterStatus = _enum(["open", "fixed", "regression", "wontfix"]);
|
|
7036
|
+
var bugIntakeClusterInfo = object({
|
|
7037
|
+
clusterId: string2().min(1).max(100),
|
|
7038
|
+
status: bugClusterStatus,
|
|
7039
|
+
issueUrl: string2().url().nullable(),
|
|
7040
|
+
fixedInVersion: string2().max(64).nullable()
|
|
7041
|
+
}).strict();
|
|
7042
|
+
var bugIntakeStatusRequest = object({
|
|
7043
|
+
protocolVersion: literal(BUG_INTAKE_PROTOCOL_VERSION),
|
|
7044
|
+
clusterIds: array(string2().min(1).max(100)).min(1).max(100)
|
|
7045
|
+
}).strict();
|
|
7046
|
+
var bugIntakeStatusResponse = object({ clusters: array(bugIntakeClusterInfo) }).strict();
|
|
7047
|
+
var bugIntakeErrorResponse = object({
|
|
7048
|
+
error: string2(),
|
|
7049
|
+
retryable: boolean2()
|
|
7050
|
+
}).strict();
|
|
7051
|
+
var encoder = new TextEncoder;
|
|
7001
7052
|
// ../shared/src/build-page.ts
|
|
7002
7053
|
var contentValuesSchema2 = record(string2(), unknown());
|
|
7003
7054
|
var buildPageContentSchema = discriminatedUnion("source", [
|
|
@@ -8021,6 +8072,10 @@ var createThemeOverridesSchema = record(string2(), unknown());
|
|
|
8021
8072
|
var languageTagSchema = string2().max(35).regex(/^[A-Za-z]{2,8}(-[A-Za-z0-9]{1,8})*$/, "must be a BCP 47 language tag such as `en`, `de` or `pt-BR`");
|
|
8022
8073
|
var HTML_WS = new Set(["\t", `
|
|
8023
8074
|
`, "\f", "\r", " "]);
|
|
8075
|
+
// ../shared/src/edit-markers.ts
|
|
8076
|
+
var EDITABLE_KINDS = new Set(["text", "text-list", "link-list", "url", "image"]);
|
|
8077
|
+
var MARKABLE_ATTRIBUTES = new Set(["href", "src", "alt"]);
|
|
8078
|
+
var RAW_TEXT_ELEMENTS2 = new Set(["script", "style", "title", "textarea"]);
|
|
8024
8079
|
// ../shared/src/font-usage.ts
|
|
8025
8080
|
var GLOBAL_KEYWORDS = new Set(["inherit", "initial", "unset", "revert", "revert-layer"]);
|
|
8026
8081
|
var SYSTEM_FONTS = new Set([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caelo-cms/provisioning",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.59",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"description": "Pulumi-driven provisioning for Caelo CMS — `bunx @caelo-cms/provisioning --provider <self-hosted|gcp|aws|azure>` brings up a TLS-served install with Postgres + storage + secrets manager + the admin + the API gateway.",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"prepublishOnly": "tsc -b --force && bun build ../platform-updater/src/agent-db.ts --target=bun --outfile=dist/agent-db.js && tsc --project stacks/gcp/tsconfig.json && tsc --project stacks/gcp-firebase/tsconfig.json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@caelo-cms/shared": "^0.10.
|
|
43
|
+
"@caelo-cms/shared": "^0.10.59",
|
|
44
44
|
"@clack/prompts": "1.8.1",
|
|
45
45
|
"@pulumi/command": "^1",
|
|
46
46
|
"@pulumi/gcp": "^10",
|