@desplega.ai/agent-swarm 2.4.1 → 2.4.3
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/{acp-adapter-zvzr538d.js → acp-adapter-1885dpr7.js} +4 -4
- package/dist/{actions-jhtqdw69.js → actions-pn76n32q.js} +18 -18
- package/dist/{amp-adapter-bd84rhs2.js → amp-adapter-af84rx1d.js} +3 -3
- package/dist/{app-kreq1gwg.js → app-6sv8mhzm.js} +3 -3
- package/dist/{assistant-3k22sbsq.js → assistant-sc2tf825.js} +20 -20
- package/dist/{boot-reembed-f6z923ny.js → boot-reembed-gvxjs2py.js} +1 -1
- package/dist/{boot-reembed-e53x6b9v.js → boot-reembed-y3m0ydzj.js} +1 -1
- package/dist/{boot-scrub-sweep-0538vsb7.js → boot-scrub-sweep-1j9mk05f.js} +3 -3
- package/dist/{boot-seeds-6wxqkfk2.js → boot-seeds-37sp626b.js} +4 -4
- package/dist/{claude-adapter-gfts5044.js → claude-adapter-rp0jtnwr.js} +4 -4
- package/dist/{claude-managed-setup-h00hsgtz.js → claude-managed-setup-rdt248k7.js} +1 -1
- package/dist/{claude-sdk-session-56besmfz.js → claude-sdk-session-53rcw5we.js} +9822 -9749
- package/dist/{cli-3tnpj2bh.js → cli-038fga5k.js} +2 -2
- package/dist/{cli-kmqgmcnb.js → cli-0dxxwfkt.js} +8 -8
- package/dist/{cli-471qk6s2.js → cli-1012xb7j.js} +28 -28
- package/dist/{cli-sv5gb0yb.js → cli-1eszr343.js} +1 -1
- package/dist/{cli-7225gwj7.js → cli-1m17dc9d.js} +1 -1
- package/dist/{cli-xftrvxag.js → cli-1ma335fz.js} +3 -3
- package/dist/{cli-s48yvzb8.js → cli-1n9gdg56.js} +4 -4
- package/dist/{cli-ash6xxk7.js → cli-1xsraagq.js} +3 -3
- package/dist/{cli-xbzvet96.js → cli-36ckw0wx.js} +5 -4
- package/dist/{cli-mhywgrrz.js → cli-4sydckyj.js} +1 -1
- package/dist/{cli-3r448dqn.js → cli-4yef8ghv.js} +3 -3
- package/dist/{cli-g0hgtz4p.js → cli-58vwn100.js} +3 -3
- package/dist/{cli-pw7v69vp.js → cli-625tb7aq.js} +1 -1
- package/dist/{cli-m2qgh5sv.js → cli-6aen3ezb.js} +1 -1
- package/dist/{cli-z071fb95.js → cli-6eyncg0y.js} +6 -6
- package/dist/{cli-0bh477zn.js → cli-73ezfhha.js} +120 -12
- package/dist/{cli-x5mq1fyq.js → cli-74c1wpm0.js} +3 -3
- package/dist/{cli-b1dfr1m4.js → cli-7a6p4e65.js} +1 -1
- package/dist/{cli-fpmsqq59.js → cli-836ehxmt.js} +1 -1
- package/dist/{cli-1pa3rz69.js → cli-8vverzf7.js} +1 -1
- package/dist/{cli-rdq7tzwm.js → cli-8y99kfey.js} +11 -11
- package/dist/{cli-z1ew8vbq.js → cli-aa3tb29r.js} +10 -5
- package/dist/{cli-6ncjvx55.js → cli-aypbg9r2.js} +1 -1
- package/dist/{cli-3kh4kpqy.js → cli-bxrqvpg5.js} +6 -6
- package/dist/{cli-0hyhdkdk.js → cli-cebvbc9t.js} +4 -1
- package/dist/{cli-p6argxh9.js → cli-dm8p2dpf.js} +7 -7
- package/dist/{cli-jh0qcrga.js → cli-e4d78xsv.js} +1 -1
- package/dist/{cli-7a91w22y.js → cli-e8xyjvfc.js} +1 -1
- package/dist/{cli-axh29tyr.js → cli-f0p0f6ja.js} +10 -10
- package/dist/{cli-w9g4sz81.js → cli-gf2850q7.js} +1 -1
- package/dist/{cli-bn5kevnf.js → cli-gx0j2khs.js} +4 -4
- package/dist/{cli-gf0kfg81.js → cli-h0mgxann.js} +5 -5
- package/dist/{cli-kr2pmfqx.js → cli-kgnkyabk.js} +85 -71
- package/dist/{cli-hqhzg1qq.js → cli-mzkwkbdy.js} +1 -1
- package/dist/{cli-k9z4zd4p.js → cli-npfe9t1s.js} +2 -2
- package/dist/{cli-syhq378v.js → cli-p0qerd2r.js} +1 -1
- package/dist/{cli-sjyetj21.js → cli-pygdsgh8.js} +1 -1
- package/dist/{cli-2wag8973.js → cli-qeaq3j6t.js} +1 -1
- package/dist/{cli-nx462e4v.js → cli-qp2m4btv.js} +3 -3
- package/dist/{cli-tbhwrxpt.js → cli-s9rr4gr2.js} +5 -5
- package/dist/{cli-fz9kewbh.js → cli-sds5zzs8.js} +1 -1
- package/dist/{cli-vy0fay6k.js → cli-tkf4x6ha.js} +15 -15
- package/dist/{cli-mfe7f7b5.js → cli-v87dr6e3.js} +2 -2
- package/dist/{cli-rqqsfz30.js → cli-vcgscaan.js} +91 -21
- package/dist/{cli-zfg9enh9.js → cli-vfha21c9.js} +6 -1
- package/dist/{cli-3p8fqcnh.js → cli-vq9gqarq.js} +1 -1
- package/dist/{cli-a4gvwttf.js → cli-wk28hzqn.js} +2 -2
- package/dist/{cli-p0rakbrk.js → cli-zvbb4n0e.js} +6 -5
- package/dist/cli.js +17 -17
- package/dist/{codex-adapter-p6rmm7vv.js → codex-adapter-2zrmab9b.js} +2 -2
- package/dist/{codex-hook-x7nejyrr.js → codex-hook-e2he7aca.js} +2 -2
- package/dist/{codex-session-runner-8vd5t9t0.js → codex-session-runner-kbkz62vc.js} +2 -2
- package/dist/{commands-7ems2p13.js → commands-hd574th6.js} +3 -3
- package/dist/{controller-m263fg43.js → controller-pz5mcfg4.js} +3 -3
- package/dist/{controllers-connect-bg33ae53.js → controllers-connect-5rgq2hfk.js} +19 -19
- package/dist/{cursor-adapter-cz6nm6mj.js → cursor-adapter-mgaprq0j.js} +2 -2
- package/dist/{db-w505dwa8.js → db-6nf1207q.js} +6 -2
- package/dist/{db-ys2rbdft.js → db-h06dxp05.js} +3 -3
- package/dist/{dispatcher-0s0mckqr.js → dispatcher-zthpy4m1.js} +17 -17
- package/dist/{dsh-adapter-3n3net33.js → dsh-adapter-64dhw0j7.js} +2 -2
- package/dist/{e2b-thdcxtjd.js → e2b-16d6ch39.js} +1 -1
- package/dist/{e2b-7am6tmq6.js → e2b-zn0b4w5w.js} +1 -1
- package/dist/{external-channel-5b23fv8z.js → external-channel-x01t7ke6.js} +2 -2
- package/dist/{grok-adapter-q9fghe5q.js → grok-adapter-h21jv594.js} +5 -5
- package/dist/handlers-2qjw434w.js +39 -0
- package/dist/{heartbeat-tww6yx1w.js → heartbeat-zzfksckz.js} +20 -20
- package/dist/{hook-pvmh9b6m.js → hook-3xfqhh2s.js} +2 -2
- package/dist/{hook-dx0pkvar.js → hook-z4zhzj1f.js} +10 -5
- package/dist/{http-k2ejbt05.js → http-q813tmya.js} +121 -75
- package/dist/{index-2z710v4x.js → index-220tk9bw.js} +9 -9
- package/dist/index-d0g18bax.js +41 -0
- package/dist/{index-dgz61nff.js → index-m0a4ydqj.js} +17 -17
- package/dist/{index-h2ek08d6.js → index-wbbs14c5.js} +17 -17
- package/dist/{index-x5aktmp8.js → index-x8xbyn1t.js} +1 -1
- package/dist/{keepalive-nhvpw10z.js → keepalive-y5t1my7m.js} +3 -3
- package/dist/{lead-jb6sf69z.js → lead-2xwtq66b.js} +30 -30
- package/dist/{maintenance-agakc519.js → maintenance-ybfsaedv.js} +1 -1
- package/dist/{oauth-refresh-sweep-4dcbhtn0.js → oauth-refresh-sweep-909jmn12.js} +2 -2
- package/dist/{onboard-4n2kwa4v.js → onboard-xn6fkkys.js} +3 -3
- package/dist/{opencode-adapter-3s7ax02e.js → opencode-adapter-x4tqzhkh.js} +3 -3
- package/dist/{otel-impl-tfa12080.js → otel-impl-e6mn0z13.js} +1 -1
- package/dist/{pi-mono-adapter-ytp7gz8b.js → pi-mono-adapter-mcfkn9vf.js} +3 -3
- package/dist/{pricing-refresh-3cqx3f3x.js → pricing-refresh-ygd362ep.js} +3 -3
- package/dist/{rbac-roles-9fae5rnv.js → rbac-roles-c9axvfnz.js} +3 -3
- package/dist/{rbac-roles-y6zbfzve.js → rbac-roles-mb470p4e.js} +2 -2
- package/dist/{render-v2-emawjvc4.js → render-v2-g0306nh1.js} +3 -3
- package/dist/{resume-zhgts7h7.js → resume-v315hnq6.js} +5 -5
- package/dist/{session-access-cm823e06.js → session-access-2zg285a1.js} +4 -4
- package/dist/{setup-tkp99w1e.js → setup-a4mtf02k.js} +1 -1
- package/dist/{work-objects-f722h263.js → work-objects-9fr0fgtn.js} +21 -21
- package/dist/{worker-p7f336rq.js → worker-qae22jeb.js} +30 -30
- package/openapi.json +393 -1
- package/package.json +3 -3
- package/src/apps/catalog.generated.json +3 -2
- package/src/apps/definition.ts +152 -4
- package/src/apps/row-store.ts +19 -7
- package/src/apps/schema-migrate.ts +14 -6
- package/src/apps/script-types.ts +1 -0
- package/src/apps/sync.ts +20 -19
- package/src/be/db/tasks/read.ts +112 -0
- package/src/be/db.ts +9 -4
- package/src/be/migrations/231_slack_tasks_last_updated_index.sql +5 -0
- package/src/be/swarm-config-guard.ts +15 -0
- package/src/github/handlers.ts +6 -5
- package/src/hooks/hook.ts +2 -1
- package/src/http/apps.ts +15 -2
- package/src/http/status.ts +49 -43
- package/src/http/tasks.ts +47 -0
- package/src/providers/acp-targets.ts +1 -1
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/codex-adapter.ts +4 -4
- package/src/providers/opencode-adapter.ts +2 -2
- package/src/providers/pi-mono-extension.ts +2 -1
- package/src/telemetry.ts +15 -3
- package/src/tests/app-row-tools.test.ts +25 -0
- package/src/tests/apps-json-column.test.ts +611 -0
- package/src/tests/apps-script-types.test.ts +2 -0
- package/src/tests/apps-sync-engine.test.ts +42 -0
- package/src/tests/claude-stop-hook.test.ts +47 -0
- package/src/tests/codex-adapter.test.ts +42 -0
- package/src/tests/db-task-read-contract.test.ts +4 -0
- package/src/tests/db-task-write-contract.test.ts +2 -0
- package/src/tests/docs-index-footprint.test.js +2 -2
- package/src/tests/env-flag.test.ts +15 -1
- package/src/tests/github-handlers-cancel-config.test.ts +29 -8
- package/src/tests/github-handlers-inline-comments.test.ts +9 -2
- package/src/tests/runner-harness-telemetry-env.test.ts +6 -0
- package/src/tests/script-connections.test.ts +2 -0
- package/src/tests/skill-script-refs.test.ts +63 -0
- package/src/tests/slack-render-v2-query-plans.test.ts +147 -0
- package/src/tests/status.test.ts +158 -9
- package/src/tests/task-lineage.test.ts +180 -0
- package/src/tests/telemetry-init.test.ts +62 -5
- package/src/tests/user-token-rest-auth.test.ts +38 -0
- package/src/tools/app-rows.ts +5 -0
- package/src/utils/env-flag.ts +9 -0
- package/templates/skills/apps/SKILL.md +4 -2
- package/templates/skills/apps/content.md +4 -2
- package/templates/skills/code-quality/content.md +9 -14
- package/dist/handlers-mqrym347.js +0 -39
- package/dist/index-pqfwh9nn.js +0 -41
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
init_quickjs_pool_config,
|
|
20
20
|
isApiOnlyConfigKey,
|
|
21
21
|
isInternalConfigKey,
|
|
22
|
+
APPS_JSON_COLUMN_MAX_BYTES_BOUNDS,
|
|
22
23
|
init_swarm_config_guard,
|
|
23
24
|
getOAuthApp,
|
|
24
25
|
getOAuthAppById,
|
|
@@ -38,14 +39,14 @@ import {
|
|
|
38
39
|
getResolvedConfig2,
|
|
39
40
|
getMcpServerById2,
|
|
40
41
|
init_db3
|
|
41
|
-
} from "./cli-
|
|
42
|
+
} from "./cli-vcgscaan.js";
|
|
42
43
|
import {
|
|
43
44
|
generateRandomCodeVerifier,
|
|
44
45
|
generateRandomState,
|
|
45
46
|
calculatePKCECodeChallenge,
|
|
46
47
|
oauthAppRowToProviderConfig,
|
|
47
48
|
ensureAuthorizationTokenOrThrow
|
|
48
|
-
} from "./cli-
|
|
49
|
+
} from "./cli-pygdsgh8.js";
|
|
49
50
|
import {
|
|
50
51
|
detachedProcessGroup,
|
|
51
52
|
registerProcessGroup,
|
|
@@ -57,7 +58,7 @@ import {
|
|
|
57
58
|
import {
|
|
58
59
|
defaultAssetKey,
|
|
59
60
|
init_key
|
|
60
|
-
} from "./cli-
|
|
61
|
+
} from "./cli-836ehxmt.js";
|
|
61
62
|
import {
|
|
62
63
|
init_zod
|
|
63
64
|
} from "./cli-4chz1hye.js";
|
|
@@ -82,11 +83,11 @@ import {
|
|
|
82
83
|
import {
|
|
83
84
|
getMcpBaseUrl,
|
|
84
85
|
init_constants2
|
|
85
|
-
} from "./cli-
|
|
86
|
+
} from "./cli-gf2850q7.js";
|
|
86
87
|
import {
|
|
87
88
|
isEnvFlagEnabled,
|
|
88
89
|
init_env_flag
|
|
89
|
-
} from "./cli-
|
|
90
|
+
} from "./cli-cebvbc9t.js";
|
|
90
91
|
import {
|
|
91
92
|
getApiKey,
|
|
92
93
|
init_api_key
|
|
@@ -178553,6 +178554,9 @@ async function runSavedScriptAsAgent(args, deps = {}) {
|
|
|
178553
178554
|
return output;
|
|
178554
178555
|
}
|
|
178555
178556
|
|
|
178557
|
+
// src/apps/definition.ts
|
|
178558
|
+
init_swarm_config_guard();
|
|
178559
|
+
|
|
178556
178560
|
// src/scripts-runtime/quickjs-compat.ts
|
|
178557
178561
|
var import_typescript3 = __toESM(require_typescript2(), 1);
|
|
178558
178562
|
var UNSUPPORTED_GLOBALS = new Set([
|
|
@@ -180098,7 +180102,7 @@ var catalog_generated_default = {
|
|
|
180098
180102
|
}
|
|
180099
180103
|
},
|
|
180100
180104
|
Table: {
|
|
180101
|
-
description: 'Data table. Bind `data`/`loading`/`error` to a named query (`/queries/<name>/...`). `rowActions` chains receive `{ "$row": "<col>" }` (or `{ "$row": "" }` for the whole row) and `{ "$rowIndex": true }`. Destructive row actions always confirm via a dialog; override the copy with `confirm: { title, description, confirmLabel }`. `search` (case-insensitive substring across every listed column) and `filters` (per-column equality, `null`/`""` disables one; an array means "one of", which is what a multiple `Chips` writes, and an empty array disables it) narrow the polled rows client-side — bind them to a `SearchInput` / `Select` via `/ui/<id>/value`, or pin a constant (e.g. `"filters": { "pinned": true }`). Columns take `pinned: "left"|"right"` to survive horizontal scroll; `pagination` pages large row sets (auto past 200 rows); `density: "compact"` tightens row height. Column kinds: `status` (lifecycle values like pending/in_progress/completed/failed get the dashboard status icon, anything else a `tones` pill), `user` / `agent` (avatar + name), `relative` (smart time with the exact time on hover), `duration` (ms → 1m 23s), `progress` (bar, `max` default 100), `copy` (value + copy button), `switch` (runs the column\'s `onChange` chain with `$row` set to the new value; read-only without it), `link` (http(s) URL, opens in a new tab). Columns also take `align`, `truncate: "middle"` (ids, paths), a header `icon` and `tooltip` (a row field shown on hover). `onRowClick` runs a chain with `$row` when a row is clicked — pair it with `app.navigate` + a Drawer and bind `selectedId` to the drawer param to highlight the open row. `rowId` names the id field (default `id`). Below 768px the table renders as a phone list (`mobile: "list"`, fields picked by `mobileFields: { title, subtitle?, meta?, status? }`); `mobile: "scroll"` keeps the grid. `emptyState: { icon?, title, body? }` replaces the empty message. Row actions take `icon` and `placement: "menu"` (collected into a More menu).',
|
|
180105
|
+
description: 'Data table. Bind `data`/`loading`/`error` to a named query (`/queries/<name>/...`). `rowActions` chains receive `{ "$row": "<col>" }` (or `{ "$row": "" }` for the whole row) and `{ "$rowIndex": true }`. Destructive row actions always confirm via a dialog; override the copy with `confirm: { title, description, confirmLabel }`. `search` (case-insensitive substring across every listed column) and `filters` (per-column equality, `null`/`""` disables one; an array means "one of", which is what a multiple `Chips` writes, and an empty array disables it) narrow the polled rows client-side — bind them to a `SearchInput` / `Select` via `/ui/<id>/value`, or pin a constant (e.g. `"filters": { "pinned": true }`). Columns take `pinned: "left"|"right"` to survive horizontal scroll; `pagination` pages large row sets (auto past 200 rows); `density: "compact"` tightens row height. Column kinds: `status` (lifecycle values like pending/in_progress/completed/failed get the dashboard status icon, anything else a `tones` pill), `user` / `agent` (avatar + name), `relative` (smart time with the exact time on hover), `duration` (ms → 1m 23s), `progress` (bar, `max` default 100), `copy` (value + copy button), `switch` (runs the column\'s `onChange` chain with `$row` set to the new value; read-only without it), `link` (http(s) URL, opens in a new tab), `json` (compact single-line `JSON.stringify` preview, truncated). Columns also take `align`, `truncate: "middle"` (ids, paths), a header `icon` and `tooltip` (a row field shown on hover). `onRowClick` runs a chain with `$row` when a row is clicked — pair it with `app.navigate` + a Drawer and bind `selectedId` to the drawer param to highlight the open row. `rowId` names the id field (default `id`). Below 768px the table renders as a phone list (`mobile: "list"`, fields picked by `mobileFields: { title, subtitle?, meta?, status? }`); `mobile: "scroll"` keeps the grid. `emptyState: { icon?, title, body? }` replaces the empty message. Row actions take `icon` and `placement: "menu"` (collected into a More menu).',
|
|
180102
180106
|
props: {
|
|
180103
180107
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
180104
180108
|
type: "object",
|
|
@@ -180142,7 +180146,8 @@ var catalog_generated_default = {
|
|
|
180142
180146
|
"progress",
|
|
180143
180147
|
"copy",
|
|
180144
180148
|
"switch",
|
|
180145
|
-
"link"
|
|
180149
|
+
"link",
|
|
180150
|
+
"json"
|
|
180146
180151
|
]
|
|
180147
180152
|
},
|
|
180148
180153
|
tones: {
|
|
@@ -182525,11 +182530,55 @@ async function resolveSyncRunAs(script) {
|
|
|
182525
182530
|
var AppNameSchema = string2().regex(/^[a-z][a-zA-Z0-9_]{0,39}$/, {
|
|
182526
182531
|
message: "must start with a lowercase letter and contain only letters, numbers, or underscores"
|
|
182527
182532
|
});
|
|
182528
|
-
var ColumnKindSchema = _enum2(["string", "number", "boolean", "date", "enum"]);
|
|
182533
|
+
var ColumnKindSchema = _enum2(["string", "number", "boolean", "date", "enum", "json"]);
|
|
182534
|
+
var ScalarColumnKindSchema = ColumnKindSchema.exclude(["json"]);
|
|
182529
182535
|
var ISO_8601_PREFIX = /^\d{4}-\d{2}-\d{2}(?:T.*)?$/;
|
|
182530
182536
|
function isIso8601Date(value) {
|
|
182531
182537
|
return ISO_8601_PREFIX.test(value) && !Number.isNaN(Date.parse(value));
|
|
182532
182538
|
}
|
|
182539
|
+
var DEFAULT_JSON_COLUMN_MAX_BYTES = 256 * 1024;
|
|
182540
|
+
function jsonColumnMaxBytes(env = process.env) {
|
|
182541
|
+
const raw = env.APPS_JSON_COLUMN_MAX_BYTES?.trim();
|
|
182542
|
+
if (!raw || !/^\d+$/.test(raw))
|
|
182543
|
+
return DEFAULT_JSON_COLUMN_MAX_BYTES;
|
|
182544
|
+
const value = Number(raw);
|
|
182545
|
+
const { min, max } = APPS_JSON_COLUMN_MAX_BYTES_BOUNDS;
|
|
182546
|
+
return Number.isSafeInteger(value) && value >= min && value <= max ? value : DEFAULT_JSON_COLUMN_MAX_BYTES;
|
|
182547
|
+
}
|
|
182548
|
+
function jsonColumnSizeLabel(bytes = jsonColumnMaxBytes()) {
|
|
182549
|
+
return bytes % 1024 === 0 ? `${bytes / 1024}KB` : `${bytes} bytes`;
|
|
182550
|
+
}
|
|
182551
|
+
function jsonColumnValueIssue(value) {
|
|
182552
|
+
let nonFinite = false;
|
|
182553
|
+
let serialized;
|
|
182554
|
+
try {
|
|
182555
|
+
serialized = JSON.stringify(value, (_key, entry) => {
|
|
182556
|
+
if (typeof entry === "number" && !Number.isFinite(entry))
|
|
182557
|
+
nonFinite = true;
|
|
182558
|
+
return entry;
|
|
182559
|
+
});
|
|
182560
|
+
} catch {
|
|
182561
|
+
return "unserializable";
|
|
182562
|
+
}
|
|
182563
|
+
if (serialized === undefined)
|
|
182564
|
+
return "unserializable";
|
|
182565
|
+
if (nonFinite)
|
|
182566
|
+
return "non-finite";
|
|
182567
|
+
return Buffer.byteLength(serialized, "utf8") > jsonColumnMaxBytes() ? "oversized" : null;
|
|
182568
|
+
}
|
|
182569
|
+
function isValidColumnValue(column, value) {
|
|
182570
|
+
if (column.kind === "string")
|
|
182571
|
+
return typeof value === "string";
|
|
182572
|
+
if (column.kind === "number")
|
|
182573
|
+
return typeof value === "number" && Number.isFinite(value);
|
|
182574
|
+
if (column.kind === "boolean")
|
|
182575
|
+
return typeof value === "boolean";
|
|
182576
|
+
if (column.kind === "date")
|
|
182577
|
+
return typeof value === "string" && isIso8601Date(value);
|
|
182578
|
+
if (column.kind === "json")
|
|
182579
|
+
return jsonColumnValueIssue(value) === null;
|
|
182580
|
+
return typeof value === "string" && Boolean(column.enum?.includes(value));
|
|
182581
|
+
}
|
|
182533
182582
|
var SourceTransformSchema = _enum2(["slug", "lower", "upper", "cents", "date-parse"]);
|
|
182534
182583
|
var TRANSFORM_COLUMN_KIND = {
|
|
182535
182584
|
slug: "string",
|
|
@@ -182548,10 +182597,19 @@ var ColumnDefSchema = object2({
|
|
|
182548
182597
|
required: boolean().optional(),
|
|
182549
182598
|
enum: array2(string2()).optional(),
|
|
182550
182599
|
index: boolean().optional(),
|
|
182551
|
-
default: union2([
|
|
182600
|
+
default: union2([
|
|
182601
|
+
string2(),
|
|
182602
|
+
number2(),
|
|
182603
|
+
boolean(),
|
|
182604
|
+
record2(string2(), unknown()),
|
|
182605
|
+
array2(unknown())
|
|
182606
|
+
]).optional(),
|
|
182552
182607
|
hidden: boolean().optional(),
|
|
182553
182608
|
source: ColumnSourceBindingSchema.optional()
|
|
182554
182609
|
}).superRefine((column, ctx) => {
|
|
182610
|
+
if (column.kind === "json" && column.index) {
|
|
182611
|
+
ctx.addIssue({ code: "custom", path: ["index"], message: "json columns cannot be indexed" });
|
|
182612
|
+
}
|
|
182555
182613
|
if (column.kind === "enum") {
|
|
182556
182614
|
if (!column.enum || column.enum.length === 0) {
|
|
182557
182615
|
ctx.addIssue({ code: "custom", path: ["enum"], message: "enum values are required" });
|
|
@@ -182569,6 +182627,23 @@ var ColumnDefSchema = object2({
|
|
|
182569
182627
|
}
|
|
182570
182628
|
if (column.default === undefined)
|
|
182571
182629
|
return;
|
|
182630
|
+
if (column.kind === "json") {
|
|
182631
|
+
const issue = jsonColumnValueIssue(column.default);
|
|
182632
|
+
if (issue === "unserializable") {
|
|
182633
|
+
ctx.addIssue({
|
|
182634
|
+
code: "custom",
|
|
182635
|
+
path: ["default"],
|
|
182636
|
+
message: "json column default must be JSON-serializable"
|
|
182637
|
+
});
|
|
182638
|
+
} else if (issue === "non-finite") {
|
|
182639
|
+
ctx.addIssue({
|
|
182640
|
+
code: "custom",
|
|
182641
|
+
path: ["default"],
|
|
182642
|
+
message: "json column default contains a non-finite number"
|
|
182643
|
+
});
|
|
182644
|
+
}
|
|
182645
|
+
return;
|
|
182646
|
+
}
|
|
182572
182647
|
const valid = column.kind === "string" && typeof column.default === "string" || column.kind === "number" && typeof column.default === "number" && Number.isFinite(column.default) || column.kind === "boolean" && typeof column.default === "boolean" || column.kind === "date" && typeof column.default === "string" && isIso8601Date(column.default) || column.kind === "enum" && typeof column.default === "string" && Boolean(column.enum?.includes(column.default));
|
|
182573
182648
|
if (!valid) {
|
|
182574
182649
|
ctx.addIssue({
|
|
@@ -182579,7 +182654,7 @@ var ColumnDefSchema = object2({
|
|
|
182579
182654
|
}
|
|
182580
182655
|
});
|
|
182581
182656
|
var UserConfigFieldSchema = object2({
|
|
182582
|
-
kind:
|
|
182657
|
+
kind: ScalarColumnKindSchema,
|
|
182583
182658
|
default: union2([string2(), number2(), boolean()]).optional(),
|
|
182584
182659
|
enum: array2(string2()).optional(),
|
|
182585
182660
|
label: string2().optional(),
|
|
@@ -182699,7 +182774,7 @@ var AppPageSchema = object2({
|
|
|
182699
182774
|
params: record2(AppNameSchema, AppPageParamSchema).optional()
|
|
182700
182775
|
}).strict();
|
|
182701
182776
|
var ElementPropDefSchema = object2({
|
|
182702
|
-
kind:
|
|
182777
|
+
kind: ScalarColumnKindSchema,
|
|
182703
182778
|
required: boolean().optional(),
|
|
182704
182779
|
enum: array2(string2()).min(1).optional(),
|
|
182705
182780
|
default: union2([string2(), number2(), boolean()]).optional()
|
|
@@ -182821,6 +182896,14 @@ var AppDefinitionSchema = object2({
|
|
|
182821
182896
|
});
|
|
182822
182897
|
continue;
|
|
182823
182898
|
}
|
|
182899
|
+
if (columnDefinition.kind === "json") {
|
|
182900
|
+
ctx.addIssue({
|
|
182901
|
+
code: "custom",
|
|
182902
|
+
path: ["queries", queryName, "filter", column],
|
|
182903
|
+
message: "json columns cannot be filtered"
|
|
182904
|
+
});
|
|
182905
|
+
continue;
|
|
182906
|
+
}
|
|
182824
182907
|
if (typeof value === "object")
|
|
182825
182908
|
continue;
|
|
182826
182909
|
const valid = columnDefinition.kind === "string" && typeof value === "string" || columnDefinition.kind === "number" && typeof value === "number" && Number.isFinite(value) || columnDefinition.kind === "boolean" && typeof value === "boolean" || columnDefinition.kind === "date" && typeof value === "string" && isIso8601Date(value) || columnDefinition.kind === "enum" && typeof value === "string" && Boolean(columnDefinition.enum?.includes(value));
|
|
@@ -182839,6 +182922,12 @@ var AppDefinitionSchema = object2({
|
|
|
182839
182922
|
path: ["queries", queryName, "sort", "column"],
|
|
182840
182923
|
message: `unknown or hidden column "${sortColumn}"`
|
|
182841
182924
|
});
|
|
182925
|
+
} else if (sortColumn && model.columns[sortColumn]?.kind === "json") {
|
|
182926
|
+
ctx.addIssue({
|
|
182927
|
+
code: "custom",
|
|
182928
|
+
path: ["queries", queryName, "sort", "column"],
|
|
182929
|
+
message: "json columns cannot be sorted"
|
|
182930
|
+
});
|
|
182842
182931
|
}
|
|
182843
182932
|
}
|
|
182844
182933
|
});
|
|
@@ -183085,6 +183174,22 @@ function syncActionIssues(name, action, models) {
|
|
|
183085
183174
|
}
|
|
183086
183175
|
return [{ path: `actions.${name}`, message: "no model declares a source to sync" }];
|
|
183087
183176
|
}
|
|
183177
|
+
function jsonColumnDefaultSizeIssues(definition) {
|
|
183178
|
+
const issues = [];
|
|
183179
|
+
for (const [modelName, model] of Object.entries(definition.models)) {
|
|
183180
|
+
for (const [columnName, column] of Object.entries(model.columns)) {
|
|
183181
|
+
if (column.kind !== "json" || column.default === undefined)
|
|
183182
|
+
continue;
|
|
183183
|
+
if (jsonColumnValueIssue(column.default) === "oversized") {
|
|
183184
|
+
issues.push({
|
|
183185
|
+
path: `models.${modelName}.columns.${columnName}.default`,
|
|
183186
|
+
message: `json column default exceeds the ${jsonColumnSizeLabel()} size limit`
|
|
183187
|
+
});
|
|
183188
|
+
}
|
|
183189
|
+
}
|
|
183190
|
+
}
|
|
183191
|
+
return issues;
|
|
183192
|
+
}
|
|
183088
183193
|
async function parseAppDefinition(input, elementContext = {}) {
|
|
183089
183194
|
if (isMergePatchObject(input) && Object.hasOwn(input, "page")) {
|
|
183090
183195
|
return {
|
|
@@ -183116,6 +183221,7 @@ async function parseAppDefinition(input, elementContext = {}) {
|
|
|
183116
183221
|
if (!parsed.success)
|
|
183117
183222
|
return { success: false, issues: appDefinitionIssues(parsed.error) };
|
|
183118
183223
|
const issues = [
|
|
183224
|
+
...jsonColumnDefaultSizeIssues(parsed.data),
|
|
183119
183225
|
...Object.keys(parsed.data.pages).flatMap((pageName) => validatePage(parsed.data, catalog_generated_default, pageName)),
|
|
183120
183226
|
...crossPageDefinitionIssues(parsed.data, catalog_generated_default),
|
|
183121
183227
|
...await elementDefinitionIssues(parsed.data, catalog_generated_default, elementContext)
|
|
@@ -183478,6 +183584,8 @@ function commentSafe(value) {
|
|
|
183478
183584
|
return value.replace(/[\r\n\u2028\u2029]+/g, " ").replace(/\*\//g, "").trim().slice(0, 80);
|
|
183479
183585
|
}
|
|
183480
183586
|
function tsTypeForColumn(column) {
|
|
183587
|
+
if (column.kind === "json")
|
|
183588
|
+
return "unknown";
|
|
183481
183589
|
if (column.kind !== "enum")
|
|
183482
183590
|
return column.kind === "date" ? "string" : column.kind;
|
|
183483
183591
|
return column.enum?.map((value) => JSON.stringify(value)).join(" | ") || "string";
|
|
@@ -184818,4 +184926,4 @@ function parseSkillContent(content) {
|
|
|
184818
184926
|
};
|
|
184819
184927
|
}
|
|
184820
184928
|
|
|
184821
|
-
export { require_dist2, isInvalidClientError, publicEndpointSsrfOptions, mcpOAuthSsrfOptions, discoverProtectedResourceMetadata, discoverAuthorizationServerMetadata, normalizeTokenEndpointAuthMethod, resolveAdvertisedTokenEndpointAuthMethod, authMethodForStoredClient, selectDcrTokenEndpointAuthMethod, registerClient, buildAuthorizeUrl, exchangeCodeForTokens, refreshMcpToken, revokeMcpToken, computeExpiresAt, getMcpOAuthToken, findReusableMcpOAuthClient, invalidateMcpOAuthClient, upsertMcpOAuthToken, applyMcpOAuthRefresh, markMcpOAuthTokenStatus, deleteMcpOAuthToken, insertMcpOAuthPending, consumeMcpOAuthPending, gcMcpOAuthPending, setMcpServerAuthMethod, ensureMcpToken, callMcpServerTool, resolveSqlDsn, runReadOnlyQuery, listVendoredOpenapiEntries, ConnectionAuthInputSchema, SqlDsnInputSchema, connectionAuthSummary, listRelationalCredentialBindings, getCredentialBindingById, findCredentialBindingByIdentity, upsertCredentialBinding, disableCredentialBinding, listScriptConnections, listScriptConnectionsAsync, getScriptConnectionById, ScriptConnectionConflictError, connectionAuthInputFromFlat, upsertScriptConnection, refreshScriptConnection, setScriptConnectionEnabled, deleteScriptConnection, getScriptApiConnectionDescriptors, getScriptMcpConnectionDescriptors, getScriptApiTypes, getScriptMcpTypes, oauthAppToProviderConfig, getOAuthProviderConfig, getOAuthBindingTokenStatus, buildScriptCredentialBindingsWithFailures, buildSandboxedCommand, sandboxSpawnEnv, createCappedStreamState, snapshotCapped, readStreamCapped, writeBareImportShim, MIN_SCRIPT_WALL_CLOCK_MS, SCRIPT_LONG_TIMEOUT_HINT_MS, MAX_SCRIPT_WALL_CLOCK_MS, DEFAULT_SCRIPT_RESOURCES, require_typescript2, checkImportAllowlist, validateScriptImports, runScript, extractScriptSignature, extractArgsJsonSchema, getSavedScriptOwnerAgentId, runSavedScriptAsAgent, checkQuickJSCompat, quickJSCompatWarnings, resolveSyncRunAs, AppNameSchema,
|
|
184929
|
+
export { require_dist2, isInvalidClientError, publicEndpointSsrfOptions, mcpOAuthSsrfOptions, discoverProtectedResourceMetadata, discoverAuthorizationServerMetadata, normalizeTokenEndpointAuthMethod, resolveAdvertisedTokenEndpointAuthMethod, authMethodForStoredClient, selectDcrTokenEndpointAuthMethod, registerClient, buildAuthorizeUrl, exchangeCodeForTokens, refreshMcpToken, revokeMcpToken, computeExpiresAt, getMcpOAuthToken, findReusableMcpOAuthClient, invalidateMcpOAuthClient, upsertMcpOAuthToken, applyMcpOAuthRefresh, markMcpOAuthTokenStatus, deleteMcpOAuthToken, insertMcpOAuthPending, consumeMcpOAuthPending, gcMcpOAuthPending, setMcpServerAuthMethod, ensureMcpToken, callMcpServerTool, resolveSqlDsn, runReadOnlyQuery, listVendoredOpenapiEntries, ConnectionAuthInputSchema, SqlDsnInputSchema, connectionAuthSummary, listRelationalCredentialBindings, getCredentialBindingById, findCredentialBindingByIdentity, upsertCredentialBinding, disableCredentialBinding, listScriptConnections, listScriptConnectionsAsync, getScriptConnectionById, ScriptConnectionConflictError, connectionAuthInputFromFlat, upsertScriptConnection, refreshScriptConnection, setScriptConnectionEnabled, deleteScriptConnection, getScriptApiConnectionDescriptors, getScriptMcpConnectionDescriptors, getScriptApiTypes, getScriptMcpTypes, oauthAppToProviderConfig, getOAuthProviderConfig, getOAuthBindingTokenStatus, buildScriptCredentialBindingsWithFailures, buildSandboxedCommand, sandboxSpawnEnv, createCappedStreamState, snapshotCapped, readStreamCapped, writeBareImportShim, MIN_SCRIPT_WALL_CLOCK_MS, SCRIPT_LONG_TIMEOUT_HINT_MS, MAX_SCRIPT_WALL_CLOCK_MS, DEFAULT_SCRIPT_RESOURCES, require_typescript2, checkImportAllowlist, validateScriptImports, runScript, extractScriptSignature, extractArgsJsonSchema, getSavedScriptOwnerAgentId, runSavedScriptAsAgent, checkQuickJSCompat, quickJSCompatWarnings, resolveSyncRunAs, AppNameSchema, ScalarColumnKindSchema, isIso8601Date, jsonColumnSizeLabel, jsonColumnValueIssue, isValidColumnValue, SYSTEM_COLUMN_KINDS, SORTABLE_SYSTEM_DATE_COLUMNS, AppElementsSchema, AppDefinitionSchema, collectScriptReferences, scriptCompatWarnings, parseAppDefinition, applyAppDefinitionPatch, upgradeAppDefinition, decodeAppDefinition, appDefinitionNeedsRepair, createApp, getApp, listApps, listAppRecords, updateApp, deleteApp, getScriptAppTypes, SCRIPT_SDK_TYPES, scriptSdkTypesWithGeneratedApis, SCRIPT_STDLIB_MODULE_TYPES, scriptStdlibTypesWithGeneratedApis, typecheckWithAmbient, typecheckScript, parseSkillContent };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSlackConfiguration,
|
|
3
3
|
init_config
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-qeaq3j6t.js";
|
|
5
5
|
import {
|
|
6
6
|
isSteeringEnabled2,
|
|
7
7
|
init_steering_enabled
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-4sydckyj.js";
|
|
9
9
|
import {
|
|
10
10
|
init_templates3
|
|
11
11
|
} from "./cli-0ebey9hg.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
buildAgentFsLiveUrl,
|
|
21
21
|
buildCombFileUrl,
|
|
22
22
|
init_constants2
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-gf2850q7.js";
|
|
24
24
|
import {
|
|
25
25
|
scrubSecrets,
|
|
26
26
|
init_secret_scrubber
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isMultiRuntimeEnabled
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-e8xyjvfc.js";
|
|
4
4
|
import {
|
|
5
5
|
workflowEventBus2,
|
|
6
6
|
init_event_bus
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
getStaleApprovalRequests2,
|
|
67
67
|
upsertKv2,
|
|
68
68
|
init_db3
|
|
69
|
-
} from "./cli-
|
|
69
|
+
} from "./cli-vcgscaan.js";
|
|
70
70
|
import {
|
|
71
71
|
poolTaskRunsOnHarness,
|
|
72
72
|
isRuntimePoolWakeable,
|
|
@@ -91,29 +91,29 @@ import {
|
|
|
91
91
|
createRerouteDecisionTask,
|
|
92
92
|
createPoolStarvationDecisionTask,
|
|
93
93
|
canClaim
|
|
94
|
-
} from "./cli-
|
|
94
|
+
} from "./cli-kgnkyabk.js";
|
|
95
95
|
import {
|
|
96
96
|
listRuntimePools2,
|
|
97
97
|
init_db
|
|
98
|
-
} from "./cli-
|
|
98
|
+
} from "./cli-gx0j2khs.js";
|
|
99
99
|
import {
|
|
100
100
|
createApprovalFollowUpTask
|
|
101
|
-
} from "./cli-
|
|
101
|
+
} from "./cli-s9rr4gr2.js";
|
|
102
102
|
import {
|
|
103
103
|
remediateStalledRuntime
|
|
104
|
-
} from "./cli-
|
|
104
|
+
} from "./cli-f0p0f6ja.js";
|
|
105
105
|
import {
|
|
106
106
|
runSavedScriptAsAgent
|
|
107
|
-
} from "./cli-
|
|
107
|
+
} from "./cli-73ezfhha.js";
|
|
108
108
|
import {
|
|
109
109
|
mintToken,
|
|
110
110
|
init_users
|
|
111
|
-
} from "./cli-
|
|
111
|
+
} from "./cli-sds5zzs8.js";
|
|
112
112
|
import {
|
|
113
113
|
TERMINAL_TASK_STATUSES,
|
|
114
114
|
SUPERSEDED_WORKFLOW_TASK_REASON,
|
|
115
115
|
init_types
|
|
116
|
-
} from "./cli-
|
|
116
|
+
} from "./cli-836ehxmt.js";
|
|
117
117
|
import {
|
|
118
118
|
registerTemplate,
|
|
119
119
|
init_registry,
|
|
@@ -128,11 +128,11 @@ import {
|
|
|
128
128
|
import {
|
|
129
129
|
init_package,
|
|
130
130
|
package_default
|
|
131
|
-
} from "./cli-
|
|
131
|
+
} from "./cli-1xsraagq.js";
|
|
132
132
|
import {
|
|
133
133
|
isEnvFlagEnabled,
|
|
134
134
|
init_env_flag
|
|
135
|
-
} from "./cli-
|
|
135
|
+
} from "./cli-cebvbc9t.js";
|
|
136
136
|
import {
|
|
137
137
|
scrubSecrets,
|
|
138
138
|
init_secret_scrubber
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
materializeClaudeMd,
|
|
10
10
|
stopClaudeMd
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-1m17dc9d.js";
|
|
12
12
|
import {
|
|
13
13
|
summarizeSession
|
|
14
14
|
} from "./cli-pnp2j5zg.js";
|
|
@@ -27,16 +27,20 @@ import {
|
|
|
27
27
|
warnProfileFileTooLarge,
|
|
28
28
|
buildIndependentIdentityPayloads,
|
|
29
29
|
init_profile_sync
|
|
30
|
-
} from "./cli-
|
|
30
|
+
} from "./cli-74c1wpm0.js";
|
|
31
31
|
import {
|
|
32
32
|
init_package,
|
|
33
33
|
package_default
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-1xsraagq.js";
|
|
35
35
|
import {
|
|
36
36
|
MAX_PROFILE_FILE_LENGTH,
|
|
37
37
|
getMcpBaseUrl,
|
|
38
38
|
init_constants2
|
|
39
|
-
} from "./cli-
|
|
39
|
+
} from "./cli-gf2850q7.js";
|
|
40
|
+
import {
|
|
41
|
+
isSessionSummarySkipped,
|
|
42
|
+
init_env_flag
|
|
43
|
+
} from "./cli-cebvbc9t.js";
|
|
40
44
|
import {
|
|
41
45
|
getApiKey,
|
|
42
46
|
init_api_key
|
|
@@ -51,6 +55,7 @@ init_package();
|
|
|
51
55
|
init_profile_sync();
|
|
52
56
|
init_api_key();
|
|
53
57
|
init_constants2();
|
|
58
|
+
init_env_flag();
|
|
54
59
|
init_secret_scrubber();
|
|
55
60
|
var SERVER_NAME = package_default.config?.name ?? "agent-swarm";
|
|
56
61
|
var SOUL_MD_PATH = "/workspace/SOUL.md";
|
|
@@ -154,7 +159,7 @@ async function resolveStopHookTaskContext(env = process.env) {
|
|
|
154
159
|
}
|
|
155
160
|
async function runStopHookSessionSummary(opts, deps = {}) {
|
|
156
161
|
const env = opts.env ?? process.env;
|
|
157
|
-
if (env
|
|
162
|
+
if (isSessionSummarySkipped(env)) {
|
|
158
163
|
console.debug("session_summary skipped (claude): SKIP_SESSION_SUMMARY is set");
|
|
159
164
|
return;
|
|
160
165
|
}
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
init_steering,
|
|
11
11
|
createLogEntry2,
|
|
12
12
|
init_db3
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-vcgscaan.js";
|
|
14
14
|
import {
|
|
15
15
|
ackSlackMessage,
|
|
16
16
|
buildBufferFlushBlocks,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
ensureSlackThreadTree2,
|
|
21
21
|
registerTreeMessage,
|
|
22
22
|
getSlackApp2
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-tkf4x6ha.js";
|
|
24
24
|
import {
|
|
25
25
|
createAdditiveBuffer,
|
|
26
26
|
TaskCreationBlockedError,
|
|
@@ -30,19 +30,19 @@ import {
|
|
|
30
30
|
createSlackTaskWithFiles,
|
|
31
31
|
notifySlackFileFailures,
|
|
32
32
|
extractSlackMessageText
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-kgnkyabk.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveSlackUserId,
|
|
36
36
|
rewriteSlackMentions
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-4yef8ghv.js";
|
|
38
38
|
import {
|
|
39
39
|
findUserByExternalId,
|
|
40
40
|
init_users
|
|
41
|
-
} from "./cli-
|
|
41
|
+
} from "./cli-sds5zzs8.js";
|
|
42
42
|
import {
|
|
43
43
|
isSteeringEnabled2,
|
|
44
44
|
init_steering_enabled
|
|
45
|
-
} from "./cli-
|
|
45
|
+
} from "./cli-4sydckyj.js";
|
|
46
46
|
import {
|
|
47
47
|
scrubSecrets,
|
|
48
48
|
init_secret_scrubber
|
|
@@ -18,10 +18,13 @@ function parseEnvFlag(raw, defaultValue) {
|
|
|
18
18
|
function isEnvFlagEnabled(key, defaultValue, env = process.env) {
|
|
19
19
|
return parseEnvFlag(env[key], defaultValue);
|
|
20
20
|
}
|
|
21
|
+
function isSessionSummarySkipped(env = process.env) {
|
|
22
|
+
return isEnvFlagEnabled("SKIP_SESSION_SUMMARY", false, env);
|
|
23
|
+
}
|
|
21
24
|
var TRUTHY, FALSY;
|
|
22
25
|
var init_env_flag = __esm(() => {
|
|
23
26
|
TRUTHY = new Set(["true", "1"]);
|
|
24
27
|
FALSY = new Set(["false", "0"]);
|
|
25
28
|
});
|
|
26
29
|
|
|
27
|
-
export { parseEnvFlag, isEnvFlagEnabled, init_env_flag };
|
|
30
|
+
export { parseEnvFlag, isEnvFlagEnabled, isSessionSummarySkipped, init_env_flag };
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getMostRecentTaskInThread2,
|
|
11
11
|
reactionName,
|
|
12
12
|
init_db3
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-vcgscaan.js";
|
|
14
14
|
import {
|
|
15
15
|
TaskCreationBlockedError,
|
|
16
16
|
buildEffectiveText,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
extractTaskFromMessage,
|
|
24
24
|
extractSlackMessageText,
|
|
25
25
|
dispatchPre2
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-kgnkyabk.js";
|
|
27
27
|
import {
|
|
28
28
|
noteSlackInboundSideEffect,
|
|
29
29
|
ignoreSlackInbound,
|
|
@@ -34,14 +34,14 @@ import {
|
|
|
34
34
|
isSlackRenderV2Enabled2,
|
|
35
35
|
ensureSlackThreadTree2,
|
|
36
36
|
registerTreeMessage
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-tkf4x6ha.js";
|
|
38
38
|
import {
|
|
39
39
|
isBlockExternalEnabled2,
|
|
40
40
|
invalidateChannelExternality2,
|
|
41
41
|
getChannelBlockReason2,
|
|
42
42
|
shouldBlockChannel2,
|
|
43
43
|
leaveExternalChannel2
|
|
44
|
-
} from "./cli-
|
|
44
|
+
} from "./cli-v87dr6e3.js";
|
|
45
45
|
import {
|
|
46
46
|
workflowEventBus2,
|
|
47
47
|
init_event_bus
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
enrichSlackUserEmail,
|
|
51
51
|
resolveSlackUserId,
|
|
52
52
|
rewriteSlackMentions
|
|
53
|
-
} from "./cli-
|
|
53
|
+
} from "./cli-4yef8ghv.js";
|
|
54
54
|
import {
|
|
55
55
|
wasEventSeen,
|
|
56
56
|
requestSlackThreadSteering,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
bufferThreadMessage,
|
|
59
59
|
getBufferMessageCount,
|
|
60
60
|
instantFlush
|
|
61
|
-
} from "./cli-
|
|
61
|
+
} from "./cli-bxrqvpg5.js";
|
|
62
62
|
import {
|
|
63
63
|
resolveTemplate,
|
|
64
64
|
init_resolver
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
import {
|
|
76
76
|
isEnvFlagEnabled,
|
|
77
77
|
init_env_flag
|
|
78
|
-
} from "./cli-
|
|
78
|
+
} from "./cli-cebvbc9t.js";
|
|
79
79
|
import {
|
|
80
80
|
scrubSecrets,
|
|
81
81
|
init_secret_scrubber
|