@deployfoundation/foundation-deploy 0.2.27 → 0.2.28
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/agent-image/Dockerfile +1 -1
- package/dist/bin/app.js +2 -2
- package/dist/bin/foundation-deploy.js +2 -2
- package/dist/bin/release-account.js +2 -2
- package/dist/{chunk-2n8k5gp0.js → chunk-3cwee91k.js} +1 -1
- package/dist/{chunk-0s0ffrn2.js → chunk-fmg6awrp.js} +1 -1
- package/dist/{chunk-2nrwg0df.js → chunk-fpktb36j.js} +12 -5
- package/dist/src/index.js +2 -2
- package/package.json +1 -1
package/agent-image/Dockerfile
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
# - Bun 1.4.0 (omp's engines floor is `>=1.3.14`; pinned exact to the
|
|
12
12
|
# version that WRITES this repo's bun.lock — 1.3.14 cannot read a
|
|
13
13
|
# lockfileVersion 2 lockfile and fails the install below outright)
|
|
14
|
-
# - omp @oh-my-pi/pi-coding-agent@18.
|
|
14
|
+
# - omp @oh-my-pi/pi-coding-agent@18.5.0 (all @oh-my-pi/pi-*@18.5.0 in
|
|
15
15
|
# lockstep; the EXACT-pin shape is enforced below against
|
|
16
16
|
# packages/agent/package.json, and the frozen lockfile pins the version itself)
|
|
17
17
|
# - Python 3.10+ for the omp `eval` tool (the bun base is trixie: 3.13)
|
package/dist/bin/app.js
CHANGED
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
FoundationPages,
|
|
9
9
|
FoundationPipeline,
|
|
10
10
|
NewsletterStack
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-fmg6awrp.js";
|
|
12
12
|
import {
|
|
13
13
|
adminsFor,
|
|
14
14
|
instanceNames,
|
|
15
15
|
loadInstanceFile,
|
|
16
16
|
provisionsIntegration
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-fpktb36j.js";
|
|
18
18
|
|
|
19
19
|
// bin/app.ts
|
|
20
20
|
import { execFileSync } from "node:child_process";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
stackExists,
|
|
30
30
|
stackOutput,
|
|
31
31
|
toolVersion
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-3cwee91k.js";
|
|
33
33
|
import {
|
|
34
34
|
BASE_SLACK_EVENTS,
|
|
35
35
|
CAPABILITY_IDS,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
requiredSlackScopes,
|
|
46
46
|
skillsKey,
|
|
47
47
|
slackCommandPrefix
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-fpktb36j.js";
|
|
49
49
|
|
|
50
50
|
// src/deploy/config-sync.ts
|
|
51
51
|
import { existsSync, mkdirSync, mkdtempSync, readdirSync } from "node:fs";
|
|
@@ -202,6 +202,7 @@ var formatters = new Map;
|
|
|
202
202
|
// ../core/src/capabilities.ts
|
|
203
203
|
var RawCapability = z.object({ enabled: z.boolean().default(true) }).strict().default({});
|
|
204
204
|
var RawDocumentsCapability = z.object({ enabled: z.boolean().default(false) }).strict().default({});
|
|
205
|
+
var RawFailureDiagnosticsCapability = z.object({ enabled: z.boolean().default(false) }).strict().default({});
|
|
205
206
|
var BROWSER_MAX_POLICY_ENV_BYTES = 2048;
|
|
206
207
|
var BROWSER_DOMAIN_RE = /^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]{2,63}$/;
|
|
207
208
|
var RawBrowserCapability = z.object({
|
|
@@ -246,7 +247,7 @@ var RawCrmValue = z.string().min(1).max(64).refine(isCleanCrmValue, {
|
|
|
246
247
|
message: "CRM values must not have surrounding whitespace or control characters"
|
|
247
248
|
});
|
|
248
249
|
var RawSlackChannel = z.string().regex(/^[CG][A-Z0-9]{8,}$/).max(64);
|
|
249
|
-
var
|
|
250
|
+
var RawEtradeChannel = z.string().regex(/^[GD][A-Z0-9]{8,}$/).max(64);
|
|
250
251
|
var RawSlackUser = z.string().regex(/^[UW][A-Z0-9]{8,}$/).max(64);
|
|
251
252
|
var RawUpworkJob = z.object({
|
|
252
253
|
schedule: z.string().min(1).max(256).refine((expr) => {
|
|
@@ -301,14 +302,14 @@ var RawUpworkCapability = z.object({
|
|
|
301
302
|
}).default({});
|
|
302
303
|
var RawEtradeCapability = z.object({
|
|
303
304
|
enabled: z.boolean().default(false),
|
|
304
|
-
channels: z.array(
|
|
305
|
+
channels: z.array(RawEtradeChannel).max(100).default([]),
|
|
305
306
|
users: z.array(RawSlackUser).max(100).default([])
|
|
306
307
|
}).strict().superRefine((value, ctx) => {
|
|
307
308
|
if (value.enabled && value.channels.length === 0)
|
|
308
309
|
ctx.addIssue({
|
|
309
310
|
code: z.ZodIssueCode.custom,
|
|
310
311
|
path: ["channels"],
|
|
311
|
-
message: "an enabled E*TRADE capability needs at least one private channel"
|
|
312
|
+
message: "an enabled E*TRADE capability needs at least one private channel or DM"
|
|
312
313
|
});
|
|
313
314
|
if (value.enabled && value.users.length === 0)
|
|
314
315
|
ctx.addIssue({
|
|
@@ -675,6 +676,12 @@ var CAPABILITIES = [
|
|
|
675
676
|
config: RawObservabilityCapability,
|
|
676
677
|
...NONE
|
|
677
678
|
},
|
|
679
|
+
{
|
|
680
|
+
id: "failureDiagnostics",
|
|
681
|
+
summary: "Opt-in, context-free aggregate metrics for custom tool execution failures.",
|
|
682
|
+
config: RawFailureDiagnosticsCapability,
|
|
683
|
+
...NONE
|
|
684
|
+
},
|
|
678
685
|
{
|
|
679
686
|
id: "awsReadonly",
|
|
680
687
|
summary: "Read-only AWS access through assumed roles.",
|
|
@@ -763,7 +770,7 @@ var CAPABILITIES = [
|
|
|
763
770
|
},
|
|
764
771
|
{
|
|
765
772
|
id: "etrade",
|
|
766
|
-
summary: "E*TRADE account data through six fixed reads for named admins and deployment jobs in configured private channels.",
|
|
773
|
+
summary: "E*TRADE account data through six fixed reads for named admins and deployment jobs in configured private channels or an admin's DM.",
|
|
767
774
|
config: RawEtradeCapability,
|
|
768
775
|
integration: true,
|
|
769
776
|
...NONE,
|
|
@@ -1292,7 +1299,7 @@ var OMP_MODEL_ROLES = [
|
|
|
1292
1299
|
"advisor"
|
|
1293
1300
|
];
|
|
1294
1301
|
var RawModelRoles = z4.record(z4.enum(OMP_MODEL_ROLES), z4.string().regex(MODEL_RE)).default({});
|
|
1295
|
-
var RawChannelModels = z4.record(z4.string().regex(/^[
|
|
1302
|
+
var RawChannelModels = z4.record(z4.string().regex(/^[CDG][A-Z0-9]+$/, "channelModels keys must be Slack conversation ids"), z4.string().regex(MODEL_RE, "channel model must be provider/modelId")).default({});
|
|
1296
1303
|
var RawSubagents = z4.object({
|
|
1297
1304
|
enabled: z4.boolean().default(true),
|
|
1298
1305
|
maxConcurrency: z4.number().int().min(1).max(8).default(3),
|
package/dist/src/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
FoundationPipeline,
|
|
11
11
|
NewsletterStack,
|
|
12
12
|
deployStatements
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-fmg6awrp.js";
|
|
14
14
|
import {
|
|
15
15
|
BUN_VERSION,
|
|
16
16
|
LAMBDA_ENTRY_POINTS,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
skillsKey,
|
|
44
44
|
skipBundle,
|
|
45
45
|
verifyManifest
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-fpktb36j.js";
|
|
47
47
|
export {
|
|
48
48
|
BUILD_TIMEOUT,
|
|
49
49
|
BUN_VERSION,
|
package/package.json
CHANGED