@desplega.ai/agent-swarm 2.13.2 → 2.13.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-t2q6nsqv.js +17 -0
- package/dist/{acp-targets-mz8c5dnt.js → acp-targets-k8xs4tj8.js} +7 -7
- package/dist/{actions-5ft3qp5a.js → actions-pg5fxjer.js} +23 -23
- package/dist/{agent-fs-provision-6fgz7wvz.js → agent-fs-provision-vbk3fppw.js} +4 -4
- package/dist/{amp-adapter-nthn8ezm.js → amp-adapter-adbhxsz9.js} +2 -2
- package/dist/{app-535m78qw.js → app-b267ggx1.js} +6 -6
- package/dist/{approval-notifications-dewbk403.js → approval-notifications-evc1a9z5.js} +7 -7
- package/dist/{assistant-39zyabv2.js → assistant-wgz2ab84.js} +24 -24
- package/dist/{boot-args-schema-bqv5bf77.js → boot-args-schema-6tpk28j4.js} +1 -1
- package/dist/{boot-reembed-fas7z3zn.js → boot-reembed-ankp369c.js} +1 -1
- package/dist/{boot-reembed-157c0gcz.js → boot-reembed-r1zyvefv.js} +1 -1
- package/dist/{boot-scrub-sweep-tmec0be2.js → boot-scrub-sweep-cgb6r5bd.js} +2 -2
- package/dist/{boot-seeds-32zm50x2.js → boot-seeds-bjceqg7b.js} +4 -4
- package/dist/{claude-adapter-gwq7x2nj.js → claude-adapter-knztdnff.js} +9 -6
- package/dist/{claude-managed-adapter-rkvw6fvq.js → claude-managed-adapter-qwejzqkk.js} +2 -2
- package/dist/{claude-sdk-session-5wbwxy8c.js → claude-sdk-session-c3g6dv0g.js} +22 -8
- package/dist/{cli-cs26ed89.js → cli-0j4qmc80.js} +7 -7
- package/dist/{cli-dnvmwsvc.js → cli-1606qw3n.js} +32 -32
- package/dist/{cli-b0kqw55g.js → cli-1gnf5c7x.js} +1 -1
- package/dist/{cli-31vt7baf.js → cli-1wew39p0.js} +10 -10
- package/dist/{cli-tceqvv6h.js → cli-268b3dgn.js} +2 -2
- package/dist/cli-2ap1the6.js +11 -0
- package/dist/{cli-e87fg3en.js → cli-4dyhzhpx.js} +1 -1
- package/dist/{cli-t9nxq30h.js → cli-55fqpd9q.js} +8 -8
- package/dist/{cli-nvqq3232.js → cli-61fzwtjk.js} +7 -7
- package/dist/{cli-c9bwawf9.js → cli-61p7ty8d.js} +2 -2
- package/dist/{cli-d528acsw.js → cli-7fa6yv98.js} +2 -2
- package/dist/{cli-bp2rt28p.js → cli-7kv5d674.js} +3 -3
- package/dist/{cli-tbdw3f92.js → cli-80d5g0fa.js} +2 -2
- package/dist/{cli-0xwb7zpt.js → cli-88np9va3.js} +1 -1
- package/dist/{cli-zm6bkx3e.js → cli-8m6gqnf1.js} +2 -2
- package/dist/{cli-r4fphq38.js → cli-8pnawt98.js} +3 -3
- package/dist/{cli-xerdrnqs.js → cli-8sayvj48.js} +2 -2
- package/dist/{cli-d0jb2qnt.js → cli-9gmkw6xn.js} +53 -32
- package/dist/{cli-a6rzw649.js → cli-a21cwm89.js} +2 -2
- package/dist/{cli-s6fhqbz1.js → cli-aytna2fm.js} +1 -1
- package/dist/{cli-mwxez0pz.js → cli-b768ek79.js} +1 -1
- package/dist/{cli-ewb028rs.js → cli-bh53ppqm.js} +2 -2
- package/dist/{cli-zqy28rwx.js → cli-czeh7x13.js} +3 -3
- package/dist/{cli-s08zsqva.js → cli-djwt4mtn.js} +71 -5
- package/dist/{cli-fgm2mad9.js → cli-dq30fq3q.js} +2 -2
- package/dist/{cli-2wde56gv.js → cli-dw43pnzp.js} +5 -5
- package/dist/{cli-erh1rgh4.js → cli-e4gx499y.js} +12 -12
- package/dist/{cli-69eq6gdk.js → cli-ea367bdn.js} +31 -22
- package/dist/{cli-cmgdptmx.js → cli-ef590376.js} +29 -5
- package/dist/{cli-8qvte9hn.js → cli-fbmgpt72.js} +2 -2
- package/dist/{cli-tgmate57.js → cli-g4dhd3pr.js} +2 -2
- package/dist/{cli-0f7n3td3.js → cli-gc715jrc.js} +1 -1
- package/dist/{cli-xysy1g8x.js → cli-gkjw33x5.js} +1 -1
- package/dist/{cli-getrvmtx.js → cli-grk77aen.js} +1 -1
- package/dist/{cli-f1sdh8ca.js → cli-gxqwm3k3.js} +5 -5
- package/dist/{cli-m1wddksc.js → cli-h3drhntp.js} +1 -1
- package/dist/{cli-qn79645p.js → cli-h9d3sdnc.js} +1 -1
- package/dist/{cli-7m6bbtab.js → cli-hd2a204w.js} +6 -6
- package/dist/{cli-jkkcm72j.js → cli-hhb8kbwd.js} +9 -9
- package/dist/{cli-fcwrd7bh.js → cli-hpxcfvdm.js} +3 -3
- package/dist/{cli-ka13xx6b.js → cli-hxj888w3.js} +1 -1
- package/dist/{cli-82j36f2m.js → cli-jjzxsk47.js} +9 -3
- package/dist/{cli-nkfv398a.js → cli-ka4tqjzd.js} +6 -6
- package/dist/{cli-n46d87mj.js → cli-kh973792.js} +3 -3
- package/dist/{cli-x5yb8zc8.js → cli-kwm1bek7.js} +1 -1
- package/dist/{cli-5k1hvycs.js → cli-mgr3gatr.js} +4 -4
- package/dist/{cli-8a4qg44m.js → cli-nbawx3s0.js} +2 -2
- package/dist/{cli-1gevjrc1.js → cli-ppf9ap9n.js} +1 -1
- package/dist/{cli-6rmryz03.js → cli-pzsedyb0.js} +4 -4
- package/dist/{cli-g0b3ma7r.js → cli-r6xnchva.js} +1 -1
- package/dist/{cli-j2ybkdk2.js → cli-snwz16eg.js} +1 -1
- package/dist/{cli-sjk85d7v.js → cli-sy2ge2ye.js} +3 -3
- package/dist/{cli-rvhaahfv.js → cli-syqcny89.js} +3 -3
- package/dist/{cli-n14r8h4n.js → cli-tjf1bh1v.js} +2 -2
- package/dist/{cli-xhkek467.js → cli-v1v49t36.js} +28 -2
- package/dist/{cli-4djg31jh.js → cli-v8rpjrnx.js} +1 -1
- package/dist/{cli-62fjschk.js → cli-vgh5adn9.js} +5 -5
- package/dist/{cli-wdtqkqnq.js → cli-w24741sm.js} +3 -3
- package/dist/{cli-gq6qhmrr.js → cli-wsnradtk.js} +3 -3
- package/dist/{cli-gc7jkf4a.js → cli-wtffytm8.js} +3 -3
- package/dist/{cli-1f48qdnb.js → cli-xc8m5cjn.js} +2 -2
- package/dist/{cli-x7aqhxj5.js → cli-y0q92v4r.js} +2 -2
- package/dist/{cli-gedf48yw.js → cli-y754psdt.js} +4 -4
- package/dist/cli.js +14 -14
- package/dist/{codex-adapter-x25xfbnh.js → codex-adapter-493vb8cv.js} +5 -5
- package/dist/{codex-hook-c0nvm30r.js → codex-hook-ej8hn6z5.js} +9 -2
- package/dist/{codex-session-runner-kn5xnrvp.js → codex-session-runner-ps5m4z1g.js} +5 -5
- package/dist/{commands-8n59gxmy.js → commands-shktk0b8.js} +3 -3
- package/dist/{controllers-connect-09gvkrhc.js → controllers-connect-yft057ws.js} +22 -22
- package/dist/{core-2b8bv6ny.js → core-nheayfgm.js} +21 -21
- package/dist/{cursor-adapter-w1681kp1.js → cursor-adapter-8fpm4dng.js} +1 -1
- package/dist/{db-e71keqxk.js → db-0ezhdhz5.js} +3 -3
- package/dist/{db-spg81qtr.js → db-84pz2w5c.js} +2 -2
- package/dist/{dispatcher-fr4vawwb.js → dispatcher-h2rz69f6.js} +21 -21
- package/dist/{easter-egg-3d-ac9tv9a6.js → easter-egg-3d-m41ad78v.js} +1 -1
- package/dist/{embedding-space-an77f45k.js → embedding-space-yam9zwzj.js} +6 -6
- package/dist/{embeddings-jkrehejr.js → embeddings-g2be0y8q.js} +1 -1
- package/dist/{execute-3mys4nta.js → execute-hhdejgzf.js} +1 -1
- package/dist/{external-channel-s6zxpts9.js → external-channel-kjt2yzfj.js} +2 -2
- package/dist/fx-adapter-8g7xsp8q.js +20 -0
- package/dist/{grok-adapter-8ge6tw7m.js → grok-adapter-ztk2zkz1.js} +9 -9
- package/dist/handlers-9ywssz71.js +41 -0
- package/dist/{heartbeat-jjpb44e5.js → heartbeat-2e5jdexj.js} +23 -23
- package/dist/{hook-y6n23zzj.js → hook-34s8cmgn.js} +9 -6
- package/dist/{hook-68gbs87k.js → hook-acg9saz7.js} +8 -5
- package/dist/{http-8c6y008s.js → http-ra2zr2f8.js} +58 -65
- package/dist/{index-xcw7hjt5.js → index-2z1z7qx6.js} +24 -24
- package/dist/{index-p2f5xg64.js → index-3j803vnb.js} +36259 -34299
- package/dist/index-6mgbdtv1.js +44 -0
- package/dist/{index-6h3r0vpe.js → index-93bw5wds.js} +1 -1
- package/dist/{index-we3nd2t0.js → index-9q42cr54.js} +1 -1
- package/dist/{index-0vthtbc2.js → index-9r4j0a60.js} +23 -15
- package/dist/index-hqdsn2t2.js +39 -0
- package/dist/index-st231bqv.js +40 -0
- package/dist/{keepalive-7e9r5dvp.js → keepalive-vjnnqbkm.js} +4 -4
- package/dist/lead-mk0xkth2.js +82 -0
- package/dist/{maintenance-d3erjvcg.js → maintenance-px2g599e.js} +1 -1
- package/dist/{oauth-refresh-sweep-0qh70988.js → oauth-refresh-sweep-nkykf09m.js} +3 -3
- package/dist/{object-webhooks-ac7v2q5p.js → object-webhooks-gt9xnq21.js} +7 -7
- package/dist/{onboard-5yphtken.js → onboard-1f134p65.js} +3 -3
- package/dist/{opencode-adapter-0xvyba4m.js → opencode-adapter-94976yab.js} +6 -6
- package/dist/{otel-impl-svqp691q.js → otel-impl-5d4p2fqs.js} +1 -1
- package/dist/{pending-bn4xe5br.js → pending-vkk0vx6n.js} +22 -22
- package/dist/{pi-mono-adapter-763s8a3w.js → pi-mono-adapter-cyzdv5er.js} +8 -8
- package/dist/{pricing-refresh-kfc215mf.js → pricing-refresh-jtmjwss9.js} +2 -2
- package/dist/{rbac-roles-6r4h2ghj.js → rbac-roles-1fvmdyeb.js} +2 -2
- package/dist/{rbac-roles-3bznvkpt.js → rbac-roles-yd1fgpsn.js} +3 -3
- package/dist/{render-v2-f3qedbpy.js → render-v2-kb5s3vx4.js} +6 -6
- package/dist/{resume-vcag4ann.js → resume-z1vs44n5.js} +9 -9
- package/dist/{runtime-x0s55z2t.js → runtime-gk6ct7r7.js} +1 -1
- package/dist/{session-access-nwzve8q2.js → session-access-nz6nre4d.js} +5 -5
- package/dist/{session-source-backfill-jpqfzmgz.js → session-source-backfill-wb60zjkd.js} +1 -1
- package/dist/{setup-d2smwaem.js → setup-2x8g8j4s.js} +1 -1
- package/dist/thread-buffer-d50rqpev.js +42 -0
- package/dist/{tree-visibility-dwzc8en0.js → tree-visibility-ts3z30kw.js} +2 -2
- package/dist/{user-merge-jobs-4ce7kma2.js → user-merge-jobs-zetg26e0.js} +3 -3
- package/dist/{virtual-modules-78a6yw71.js → virtual-modules-674fka8x.js} +3 -3
- package/dist/{work-objects-m0w1e7q8.js → work-objects-w52yyjxm.js} +24 -24
- package/dist/worker-662x1vse.js +82 -0
- package/dist/{worker-follow-up-e3t6f895.js → worker-follow-up-dyfxyjbj.js} +21 -21
- package/openapi.json +4 -1
- package/package.json +3 -3
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/commands/runner.ts +62 -6
- package/src/hooks/codex-hook.ts +15 -4
- package/src/hooks/hook.ts +7 -0
- package/src/http/session-cost-recompute.ts +3 -1
- package/src/http/session-data.ts +3 -0
- package/src/prompts/base-prompt.ts +1 -1
- package/src/prompts/session-templates.ts +1 -1
- package/src/providers/acp-targets.ts +2 -2
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-adapter.ts +21 -1
- package/src/providers/claude-sdk-session.ts +22 -3
- package/src/providers/claude-session-events.ts +76 -1
- package/src/providers/cursor-adapter.ts +1 -1
- package/src/providers/fx-adapter.ts +2 -2
- package/src/providers/pricing-sources.md +3 -0
- package/src/providers/types.ts +13 -0
- package/src/slack/render-v2.ts +27 -7
- package/src/tests/base-prompt.test.ts +6 -2
- package/src/tests/claude-adapter.test.ts +115 -0
- package/src/tests/fixtures/fx/acp-updates-recorded.jsonl +1 -1
- package/src/tests/internal-ai/complete-structured.test.ts +105 -0
- package/src/tests/internal-ai/credentials.test.ts +149 -0
- package/src/tests/internal-ai/task-title.test.ts +78 -0
- package/src/tests/mcp-input-caps.test.ts +16 -11
- package/src/tests/runner-slot-reconcile.test.ts +102 -0
- package/src/tests/slack-render-v2.test.ts +85 -0
- package/src/types.ts +2 -1
- package/src/utils/internal-ai/complete-structured.ts +36 -5
- package/src/utils/internal-ai/credentials.ts +78 -2
- package/src/utils/internal-ai/models.ts +37 -1
- package/src/utils/internal-ai/task-title.ts +31 -1
- package/templates/skills/swarm-docs/content.md +8 -0
- package/dist/acp-adapter-x1qqgzwx.js +0 -17
- package/dist/fx-adapter-4yet1c4f.js +0 -20
- package/dist/handlers-0r9evrdj.js +0 -41
- package/dist/index-1v23363p.js +0 -39
- package/dist/index-30qw6vyw.js +0 -44
- package/dist/index-6bm3w6cn.js +0 -40
- package/dist/lead-3jpc7kcr.js +0 -79
- package/dist/thread-buffer-8fc703jc.js +0 -42
- package/dist/worker-3p2vq107.js +0 -79
|
@@ -76,10 +76,14 @@ const resolveOAuthApiKey: OAuthApiKeyResolver = async (providerId, credentials)
|
|
|
76
76
|
* credential kind (`resolveRaterModelString`: `MEMORY_RATER_MODEL` env, else
|
|
77
77
|
* the pinned `MEMORY_RATER_DEFAULT_MODEL`). It is not the general
|
|
78
78
|
* `DEFAULT_MODEL`; callers that want that (workflow LLM nodes) read it directly.
|
|
79
|
+
*
|
|
80
|
+
* `region` exists only on the `amazon-bedrock` variant: the AWS SDK needs a
|
|
81
|
+
* region and there is no honest default to invent, so it is resolved once here
|
|
82
|
+
* and carried to the call site.
|
|
79
83
|
*/
|
|
80
84
|
export type ResolvedCredential =
|
|
81
85
|
| {
|
|
82
|
-
kind: "openrouter" | "anthropic" | "openai" | "openai-codex";
|
|
86
|
+
kind: "openrouter" | "anthropic" | "openai" | "openai-codex" | "fireworks";
|
|
83
87
|
apiKey: string;
|
|
84
88
|
modelDefault: string;
|
|
85
89
|
}
|
|
@@ -87,6 +91,20 @@ export type ResolvedCredential =
|
|
|
87
91
|
kind: "claude-cli";
|
|
88
92
|
modelDefault: string;
|
|
89
93
|
// No apiKey — the `claude` CLI uses CLAUDE_CODE_OAUTH_TOKEN from env directly.
|
|
94
|
+
}
|
|
95
|
+
| {
|
|
96
|
+
/**
|
|
97
|
+
* No `apiKey`: Bedrock authenticates through the AWS SDK's credential
|
|
98
|
+
* chain (profile, IAM keys, ECS task role, IRSA) or the
|
|
99
|
+
* `AWS_BEARER_TOKEN_BEDROCK` bearer identity, both of which the SDK reads
|
|
100
|
+
* from the environment itself. A placeholder key would be a lie that some
|
|
101
|
+
* downstream code could act on; the absence of the field is the honest
|
|
102
|
+
* shape.
|
|
103
|
+
*/
|
|
104
|
+
kind: "amazon-bedrock";
|
|
105
|
+
modelDefault: string;
|
|
106
|
+
/** `AWS_REGION` (or `AWS_DEFAULT_REGION`), the SDK's required region. */
|
|
107
|
+
region: string;
|
|
90
108
|
};
|
|
91
109
|
|
|
92
110
|
export interface ResolveCredentialOptions {
|
|
@@ -111,6 +129,18 @@ export interface ResolveCredentialOptions {
|
|
|
111
129
|
/**
|
|
112
130
|
* Credential kinds in precedence order. `resolveCredentials` walks this list;
|
|
113
131
|
* `resolveCredential` returns the first hit.
|
|
132
|
+
*
|
|
133
|
+
* `fireworks` and `amazon-bedrock` sit AFTER every kind that shipped before
|
|
134
|
+
* them. Both can be present in an environment that already works today (a
|
|
135
|
+
* deployment with an OpenRouter key and an ambient AWS profile, or a worker
|
|
136
|
+
* that sets FIREWORKS_API_KEY for its harness), so putting either of them
|
|
137
|
+
* earlier would silently capture calls that currently go to a key the
|
|
138
|
+
* operator chose explicitly. Adding them at the end keeps every existing
|
|
139
|
+
* caller on its current provider, which is the documented cost of being the
|
|
140
|
+
* newest entries rather than the guide for where they belong by quality.
|
|
141
|
+
*
|
|
142
|
+
* `amazon-bedrock` is last of the two because it resolves from an ambient
|
|
143
|
+
* credential chain rather than a key someone set on purpose for this layer.
|
|
114
144
|
*/
|
|
115
145
|
export const CREDENTIAL_KIND_PRECEDENCE: readonly CredentialKind[] = [
|
|
116
146
|
"openrouter",
|
|
@@ -118,6 +148,8 @@ export const CREDENTIAL_KIND_PRECEDENCE: readonly CredentialKind[] = [
|
|
|
118
148
|
"openai",
|
|
119
149
|
"openai-codex",
|
|
120
150
|
"claude-cli",
|
|
151
|
+
"fireworks",
|
|
152
|
+
"amazon-bedrock",
|
|
121
153
|
];
|
|
122
154
|
|
|
123
155
|
export interface ResolveCredentialsOptions extends ResolveCredentialOptions {
|
|
@@ -144,7 +176,9 @@ export interface ResolveCredentialsOptions extends ResolveCredentialOptions {
|
|
|
144
176
|
* 3. `env.OPENAI_API_KEY` (via pi-ai `getEnvApiKey("openai")`)
|
|
145
177
|
* 4. codex OAuth (only when `apiUrl && apiKey` are provided)
|
|
146
178
|
* 5. `env.CLAUDE_CODE_OAUTH_TOKEN` → claude-cli fallback
|
|
147
|
-
* 6.
|
|
179
|
+
* 6. `env.FIREWORKS_API_KEY` (via pi-ai `getEnvApiKey("fireworks")`)
|
|
180
|
+
* 7. the AWS credential chain **and** a region → `amazon-bedrock`
|
|
181
|
+
* 8. null
|
|
148
182
|
*/
|
|
149
183
|
export async function resolveCredential(
|
|
150
184
|
opts: ResolveCredentialOptions = {},
|
|
@@ -227,9 +261,51 @@ async function resolveKind(
|
|
|
227
261
|
// hook subprocesses (security), so the hook reads the mirror instead.
|
|
228
262
|
if (!env.AGENT_SWARM_CLAUDE_OAUTH_TOKEN && !env.CLAUDE_CODE_OAUTH_TOKEN) return null;
|
|
229
263
|
return { kind, modelDefault: resolveRaterModelString(kind) };
|
|
264
|
+
case "fireworks": {
|
|
265
|
+
const key = env.FIREWORKS_API_KEY ?? getEnvKey("fireworks");
|
|
266
|
+
if (!key) return null;
|
|
267
|
+
return {
|
|
268
|
+
kind,
|
|
269
|
+
apiKey: selectCredential(key, undefined, "FIREWORKS_API_KEY").selected,
|
|
270
|
+
modelDefault: resolveRaterModelString(kind),
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
case "amazon-bedrock":
|
|
274
|
+
return resolveBedrockCredential(env, getEnvKey);
|
|
230
275
|
}
|
|
231
276
|
}
|
|
232
277
|
|
|
278
|
+
/**
|
|
279
|
+
* Bedrock is credential-chain auth, not a key: pi-ai's `getEnvApiKey` returns
|
|
280
|
+
* the sentinel `"<authenticated>"` when any link of the chain is configured
|
|
281
|
+
* (`AWS_PROFILE`, an IAM key pair, `AWS_BEARER_TOKEN_BEDROCK`, ECS task role,
|
|
282
|
+
* IRSA). Nothing in this layer ever sees or handles the actual credential.
|
|
283
|
+
*
|
|
284
|
+
* Region is required as well. pi-ai's adapter would fall back to `us-east-1`
|
|
285
|
+
* via the SDK, which may not be where inference is available; rather than
|
|
286
|
+
* guess, an unset region is treated like an absent key (a clean no-op), so no
|
|
287
|
+
* `region` is ever fabricated and the caller keeps whatever it had.
|
|
288
|
+
*/
|
|
289
|
+
function resolveBedrockCredential(
|
|
290
|
+
env: NodeJS.ProcessEnv,
|
|
291
|
+
getEnvKey: typeof getEnvApiKey,
|
|
292
|
+
): ResolvedCredential | null {
|
|
293
|
+
// `||`, not `??`: an env var set to an empty or whitespace-only value is
|
|
294
|
+
// common (a compose file with `AWS_REGION=${AWS_REGION:-}`), and `??` would
|
|
295
|
+
// keep that empty string and discard a valid `AWS_DEFAULT_REGION`.
|
|
296
|
+
const region = env.AWS_REGION?.trim() || env.AWS_DEFAULT_REGION?.trim();
|
|
297
|
+
if (!region) return null;
|
|
298
|
+
if (!getEnvKey("amazon-bedrock", env as Record<string, string>)) return null;
|
|
299
|
+
// `AWS_BEARER_TOKEN_BEDROCK` is a bearer identity, not a key to hand around;
|
|
300
|
+
// the SDK reads it from the environment on its own. The regional Bedrock
|
|
301
|
+
// endpoint and the region are all the call site needs to add.
|
|
302
|
+
return {
|
|
303
|
+
kind: "amazon-bedrock",
|
|
304
|
+
modelDefault: resolveRaterModelString("amazon-bedrock"),
|
|
305
|
+
region,
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
|
|
233
309
|
async function resolveCodexOAuthCredential(
|
|
234
310
|
opts: ResolveCredentialOptions,
|
|
235
311
|
apiUrl: string,
|
|
@@ -14,12 +14,34 @@
|
|
|
14
14
|
* env (kept for backwards-compat with the claude hook).
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
/**
|
|
18
|
+
* A provider the internal-ai layer can call. The value doubles as the
|
|
19
|
+
* `provider/` prefix a model string carries (`parseModelStr`), so a kind and
|
|
20
|
+
* its provider id are the same string by construction.
|
|
21
|
+
*/
|
|
22
|
+
export type CredentialKind =
|
|
23
|
+
| "openrouter"
|
|
24
|
+
| "anthropic"
|
|
25
|
+
| "openai"
|
|
26
|
+
| "openai-codex"
|
|
27
|
+
| "claude-cli"
|
|
28
|
+
| "fireworks"
|
|
29
|
+
| "amazon-bedrock";
|
|
18
30
|
|
|
19
31
|
/**
|
|
20
32
|
* Per-credential default model strings. The "claude-cli" kind uses the
|
|
21
33
|
* shorthand "haiku" because the only consumer is the `claude -p --model haiku`
|
|
22
34
|
* shellout, not pi-ai's `getModel`.
|
|
35
|
+
*
|
|
36
|
+
* Every `provider/model-id` value here must exist in pi-ai's own catalog
|
|
37
|
+
* (`getBuiltinModel(provider, modelId)`), because `complete-structured.ts`
|
|
38
|
+
* resolves it through that catalog and a miss is a silent no-op.
|
|
39
|
+
*
|
|
40
|
+
* `amazon-bedrock` names a cross-region inference profile
|
|
41
|
+
* (`global.` prefix). A foundation-model id would only be invocable in the one
|
|
42
|
+
* region that owns it, and the profile prefix is what current Claude models on
|
|
43
|
+
* Bedrock actually take. Pin a region-scoped profile (`us.…`, `eu.…`) with
|
|
44
|
+
* `MEMORY_RATER_MODEL` / `TASK_AUTO_TITLE_MODEL` where an account needs one.
|
|
23
45
|
*/
|
|
24
46
|
export const DEFAULT_MODEL: Record<CredentialKind, string> = {
|
|
25
47
|
openrouter: "openrouter/deepseek/deepseek-v4.1-flash",
|
|
@@ -27,6 +49,8 @@ export const DEFAULT_MODEL: Record<CredentialKind, string> = {
|
|
|
27
49
|
openai: "openai/gpt-6-luna",
|
|
28
50
|
"openai-codex": "openai-codex/gpt-6-luna",
|
|
29
51
|
"claude-cli": "haiku",
|
|
52
|
+
fireworks: "fireworks/accounts/fireworks/models/deepseek-v4p1-flash",
|
|
53
|
+
"amazon-bedrock": "amazon-bedrock/global.anthropic.claude-haiku-5-5",
|
|
30
54
|
};
|
|
31
55
|
|
|
32
56
|
/**
|
|
@@ -46,6 +70,16 @@ export const MEMORY_RATER_DEFAULT_MODEL: Record<CredentialKind, string> = {
|
|
|
46
70
|
openai: "openai/gpt-6-luna",
|
|
47
71
|
"openai-codex": "openai-codex/gpt-6-luna",
|
|
48
72
|
"claude-cli": "haiku",
|
|
73
|
+
// Same model family as the OpenRouter judge above (DeepSeek V4.1 Flash), so a
|
|
74
|
+
// Fireworks deployment rates with the model the distribution was tuned on
|
|
75
|
+
// rather than shifting it. `fireworks/accounts/fireworks/models/…` is the
|
|
76
|
+
// provider's native id; the `routers/…` variants cost more per token.
|
|
77
|
+
fireworks: "fireworks/accounts/fireworks/models/deepseek-v4p1-flash",
|
|
78
|
+
// A Haiku, i.e. the same family the Anthropic kind rates with, reached
|
|
79
|
+
// through a global inference profile. Not `anthropic.claude-haiku-4-5`: that
|
|
80
|
+
// generation costs 1.00/5.00 per million on Bedrock, ten times this one, and
|
|
81
|
+
// a new kind has no existing rating distribution to stay consistent with.
|
|
82
|
+
"amazon-bedrock": "amazon-bedrock/global.anthropic.claude-haiku-5-5",
|
|
49
83
|
};
|
|
50
84
|
|
|
51
85
|
/**
|
|
@@ -64,6 +98,8 @@ const PROVIDER_TO_KIND: Record<string, CredentialKind> = {
|
|
|
64
98
|
anthropic: "anthropic",
|
|
65
99
|
openai: "openai",
|
|
66
100
|
"openai-codex": "openai-codex",
|
|
101
|
+
fireworks: "fireworks",
|
|
102
|
+
"amazon-bedrock": "amazon-bedrock",
|
|
67
103
|
};
|
|
68
104
|
|
|
69
105
|
/**
|
|
@@ -40,9 +40,15 @@ export interface TaskTitleCandidateGroup {
|
|
|
40
40
|
* first: pay-per-token API keys before subscription OAuth, and the `claude -p`
|
|
41
41
|
* shellout last (it spawns a full CLI process per call).
|
|
42
42
|
*
|
|
43
|
+
* `fireworks` and `amazon-bedrock` are appended after every kind that shipped
|
|
44
|
+
* before them, matching `CREDENTIAL_KIND_PRECEDENCE`: an environment that
|
|
45
|
+
* already titles through OpenRouter/Anthropic/OpenAI keeps doing so.
|
|
46
|
+
*
|
|
43
47
|
* Model prices (input / output, USD per million tokens, models.dev snapshot):
|
|
44
48
|
* deepseek-v4.1-flash 0.034 / 0.137 · claude-haiku-5.5 0.10 / 0.50 ·
|
|
45
|
-
* gpt-6-luna 0.10 / 0.50 · gpt-5-nano 0.05 / 0.40
|
|
49
|
+
* gpt-6-luna 0.10 / 0.50 · gpt-5-nano 0.05 / 0.40 ·
|
|
50
|
+
* fireworks deepseek-v4p1-flash 0.30 / 1.20 ·
|
|
51
|
+
* bedrock global claude-haiku-5-5 0.10 / 0.50 · nova-micro 0.035 / 0.14
|
|
46
52
|
*/
|
|
47
53
|
export const TASK_TITLE_MODEL_CANDIDATES: readonly TaskTitleCandidateGroup[] = [
|
|
48
54
|
{
|
|
@@ -57,6 +63,25 @@ export const TASK_TITLE_MODEL_CANDIDATES: readonly TaskTitleCandidateGroup[] = [
|
|
|
57
63
|
{ kind: "openai", models: ["openai/gpt-6-luna", "openai/gpt-5-nano"] },
|
|
58
64
|
{ kind: "openai-codex", models: ["openai-codex/gpt-6-luna"] },
|
|
59
65
|
{ kind: "claude-cli", models: ["haiku"] },
|
|
66
|
+
{
|
|
67
|
+
kind: "fireworks",
|
|
68
|
+
// The native (non-router) ids are the cheap ones; `routers/…` costs 8x.
|
|
69
|
+
models: [
|
|
70
|
+
"fireworks/accounts/fireworks/models/deepseek-v4p1-flash",
|
|
71
|
+
"fireworks/accounts/fireworks/models/glm-5p3-flash",
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
kind: "amazon-bedrock",
|
|
76
|
+
// Both ids verified present in pi-ai's catalog (`getBuiltinModel`). The
|
|
77
|
+
// haiku entry is a global inference profile; Nova Micro is a plain
|
|
78
|
+
// foundation model, so it only answers in the region that owns it, which is
|
|
79
|
+
// why it is the fallback rather than the first choice.
|
|
80
|
+
models: [
|
|
81
|
+
"amazon-bedrock/global.anthropic.claude-haiku-5-5",
|
|
82
|
+
"amazon-bedrock/amazon.nova-micro-v1:0",
|
|
83
|
+
],
|
|
84
|
+
},
|
|
60
85
|
];
|
|
61
86
|
|
|
62
87
|
export { kindForModelString };
|
|
@@ -65,6 +90,11 @@ export { kindForModelString };
|
|
|
65
90
|
* The candidate list for one environment. `TASK_AUTO_TITLE_MODEL` moves its
|
|
66
91
|
* provider to the front and puts the pinned model first inside it; the rest of
|
|
67
92
|
* the list stays as fallback. An unknown provider is ignored with a warning.
|
|
93
|
+
*
|
|
94
|
+
* `TASK_AUTO_TITLE_MODEL` that names a model string we do not recognise as a
|
|
95
|
+
* provider prefix is exactly why `kindForModelString` now knows
|
|
96
|
+
* `fireworks/…` and `amazon-bedrock/…`: without that, pinning a Bedrock judge
|
|
97
|
+
* would have logged "unsupported provider" and been silently dropped.
|
|
68
98
|
*/
|
|
69
99
|
export function buildTaskTitlePlan(
|
|
70
100
|
env: Record<string, string | undefined> = process.env,
|
|
@@ -65,6 +65,7 @@ Fetch the page as markdown: `curl -fsSL https://docs.agent-swarm.dev/llms.mdx/do
|
|
|
65
65
|
- [Small tech team operating model](https://docs.agent-swarm.dev/docs/guides/small-tech-team-operating-model). Reference.
|
|
66
66
|
- [Customer renewal review](https://docs.agent-swarm.dev/docs/guides/customer-renewal-review). Reference.
|
|
67
67
|
- [Customer commitment tracking](https://docs.agent-swarm.dev/docs/guides/customer-commitment-tracking). Reference.
|
|
68
|
+
- [Reviewing a potential customer service-level breach with AI agents](https://docs.agent-swarm.dev/docs/guides/service-level-breach-review). Reference.
|
|
68
69
|
- [Reviewing supplier invoice and purchase order discrepancies with AI agents](https://docs.agent-swarm.dev/docs/guides/ai-invoice-discrepancy-review). Reference.
|
|
69
70
|
- [Reviewing marketplace partner payout discrepancies with AI agents](https://docs.agent-swarm.dev/docs/guides/marketplace-payout-exception-review). Reference.
|
|
70
71
|
- [Preparing marketplace moderation appeals for human review with AI agents](https://docs.agent-swarm.dev/docs/guides/marketplace-moderation-appeals). Reference.
|
|
@@ -72,12 +73,18 @@ Fetch the page as markdown: `curl -fsSL https://docs.agent-swarm.dev/llms.mdx/do
|
|
|
72
73
|
- [Reviewing a proposed customer pricing change with AI agents](https://docs.agent-swarm.dev/docs/guides/customer-pricing-change-review). Reference.
|
|
73
74
|
- [Escalating a customer support issue to engineering with AI agents](https://docs.agent-swarm.dev/docs/guides/ai-support-escalation-handoff). Reference.
|
|
74
75
|
- [Reviewing inconsistent product listings across sales channels with AI agents](https://docs.agent-swarm.dev/docs/guides/marketplace-catalog-discrepancy-review). Reference.
|
|
76
|
+
- [Reviewing marketplace partner launch readiness with AI agents](https://docs.agent-swarm.dev/docs/guides/partner-onboarding-readiness). Reference.
|
|
77
|
+
- [Preparing a digital asset license review for a human rights owner with AI agents](https://docs.agent-swarm.dev/docs/guides/digital-content-license-rights-review). Reference.
|
|
75
78
|
- [Handing off inventory discrepancies from operations to purchasing with AI agents](https://docs.agent-swarm.dev/docs/guides/ai-inventory-exception-handoff). Reference.
|
|
76
79
|
- [Handing off unresolved operational work between shifts with AI agents](https://docs.agent-swarm.dev/docs/guides/ai-operations-shift-handoff). Reference.
|
|
77
80
|
- [Preparing a disputed product return for a human decision with AI agents](https://docs.agent-swarm.dev/docs/guides/ai-returns-exception-handoff). Reference.
|
|
78
81
|
- [Reviewing a supplier's security evidence before onboarding with AI agents](https://docs.agent-swarm.dev/docs/guides/supplier-security-evidence-review). Reference.
|
|
79
82
|
- [Coordinating a customer data access request across support, privacy and engineering with AI agents](https://docs.agent-swarm.dev/docs/guides/privacy-data-request-handoff). Reference.
|
|
80
83
|
- [Reviewing supplier performance across delivery, quality and service records with AI agents](https://docs.agent-swarm.dev/docs/guides/supplier-performance-review). Reference.
|
|
84
|
+
- [Reviewing a supplier ingredient specification change with AI agents](https://docs.agent-swarm.dev/docs/guides/food-supplier-ingredient-change-review). Reference.
|
|
85
|
+
- [Preparing a bid or no-bid review for an incoming RFP with AI agents](https://docs.agent-swarm.dev/docs/guides/ai-rfp-bid-qualification). Reference.
|
|
86
|
+
- [Coordinating a departing employee's access review across HR and IT with AI agents](https://docs.agent-swarm.dev/docs/guides/employee-offboarding-access-review). Reference.
|
|
87
|
+
- [Briefing sales and leadership on competitor changes with AI agents](https://docs.agent-swarm.dev/docs/guides/competitor-change-brief). Reference.
|
|
81
88
|
- [Deployment Guide](https://docs.agent-swarm.dev/docs/guides/deployment). When: Someone wants to run Agent Swarm on their own server with Docker Compose.
|
|
82
89
|
- [One-click deploy](https://docs.agent-swarm.dev/docs/guides/one-click-deploy). When: Someone has no server yet and wants Agent Swarm running in the cloud with HTTPS.
|
|
83
90
|
- [Kubernetes and Helm](https://docs.agent-swarm.dev/docs/guides/kubernetes). When: Someone wants to install Agent Swarm on Kubernetes.
|
|
@@ -131,6 +138,7 @@ Fetch the page as markdown: `curl -fsSL https://docs.agent-swarm.dev/llms.mdx/do
|
|
|
131
138
|
- [boxd runtime provider](https://docs.agent-swarm.dev/docs/guides/boxd-runtime-provider). Reference.
|
|
132
139
|
- [Coordinating delivery delay investigations between operations and support with AI agents](https://docs.agent-swarm.dev/docs/guides/ai-delivery-delay-handoff). Reference.
|
|
133
140
|
- [Preparing a service capacity planning brief with AI agents](https://docs.agent-swarm.dev/docs/guides/ai-service-capacity-planning). Reference.
|
|
141
|
+
- [Preparing a property maintenance request for human triage with AI agents](https://docs.agent-swarm.dev/docs/guides/maintenance-work-order-triage). Reference.
|
|
134
142
|
- [Reviewing customer help content for conflicts with AI agents](https://docs.agent-swarm.dev/docs/guides/support-knowledge-conflict-review). Reference.
|
|
135
143
|
|
|
136
144
|
## Other docs
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ACPAdapter2
|
|
3
|
-
} from "./cli-1f48qdnb.js";
|
|
4
|
-
import"./cli-d528acsw.js";
|
|
5
|
-
import"./cli-rvhaahfv.js";
|
|
6
|
-
import"./cli-bp2rt28p.js";
|
|
7
|
-
import"./cli-zm6bkx3e.js";
|
|
8
|
-
import"./cli-hv3820ez.js";
|
|
9
|
-
import"./cli-2v4xxnx2.js";
|
|
10
|
-
import"./cli-gq6qhmrr.js";
|
|
11
|
-
import"./cli-0726awxw.js";
|
|
12
|
-
import"./cli-0xwb7zpt.js";
|
|
13
|
-
import"./cli-cmgdptmx.js";
|
|
14
|
-
import"./cli-vdfngx2g.js";
|
|
15
|
-
export {
|
|
16
|
-
ACPAdapter2 as ACPAdapter
|
|
17
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
checkFxCredentials2,
|
|
3
|
-
FxAdapter2
|
|
4
|
-
} from "./cli-ewb028rs.js";
|
|
5
|
-
import"./cli-1f48qdnb.js";
|
|
6
|
-
import"./cli-d528acsw.js";
|
|
7
|
-
import"./cli-rvhaahfv.js";
|
|
8
|
-
import"./cli-bp2rt28p.js";
|
|
9
|
-
import"./cli-zm6bkx3e.js";
|
|
10
|
-
import"./cli-hv3820ez.js";
|
|
11
|
-
import"./cli-2v4xxnx2.js";
|
|
12
|
-
import"./cli-gq6qhmrr.js";
|
|
13
|
-
import"./cli-0726awxw.js";
|
|
14
|
-
import"./cli-0xwb7zpt.js";
|
|
15
|
-
import"./cli-cmgdptmx.js";
|
|
16
|
-
import"./cli-vdfngx2g.js";
|
|
17
|
-
export {
|
|
18
|
-
FxAdapter2 as FxAdapter,
|
|
19
|
-
checkFxCredentials2 as checkFxCredentials
|
|
20
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LOOKUP_USER_TEAM2,
|
|
3
|
-
isUserAllowed2,
|
|
4
|
-
registerMessageHandler2,
|
|
5
|
-
init_handlers
|
|
6
|
-
} from "./cli-nvqq3232.js";
|
|
7
|
-
import"./cli-cs26ed89.js";
|
|
8
|
-
import"./cli-gc7jkf4a.js";
|
|
9
|
-
import"./cli-dnvmwsvc.js";
|
|
10
|
-
import"./cli-8qvte9hn.js";
|
|
11
|
-
import"./cli-m1wddksc.js";
|
|
12
|
-
import"./cli-nkfv398a.js";
|
|
13
|
-
import"./cli-xerdrnqs.js";
|
|
14
|
-
import"./cli-wdtqkqnq.js";
|
|
15
|
-
import"./cli-j2ybkdk2.js";
|
|
16
|
-
import"./cli-y260hgep.js";
|
|
17
|
-
import"./cli-4djg31jh.js";
|
|
18
|
-
import"./cli-fcwrd7bh.js";
|
|
19
|
-
import"./cli-jkkcm72j.js";
|
|
20
|
-
import"./cli-f1sdh8ca.js";
|
|
21
|
-
import"./cli-2wde56gv.js";
|
|
22
|
-
import"./cli-tceqvv6h.js";
|
|
23
|
-
import"./cli-69eq6gdk.js";
|
|
24
|
-
import"./cli-e87fg3en.js";
|
|
25
|
-
import"./cli-ka13xx6b.js";
|
|
26
|
-
import"./cli-r8ddn0hf.js";
|
|
27
|
-
import"./cli-b0m3bg0f.js";
|
|
28
|
-
import"./cli-vr4eyq6p.js";
|
|
29
|
-
import"./cli-b0kqw55g.js";
|
|
30
|
-
import"./cli-vx9acp12.js";
|
|
31
|
-
import"./cli-xysy1g8x.js";
|
|
32
|
-
import"./cli-n14r8h4n.js";
|
|
33
|
-
import"./cli-getrvmtx.js";
|
|
34
|
-
import"./cli-erh1rgh4.js";
|
|
35
|
-
init_handlers();
|
|
36
|
-
|
|
37
|
-
export {
|
|
38
|
-
LOOKUP_USER_TEAM2 as LOOKUP_USER_TEAM,
|
|
39
|
-
isUserAllowed2 as isUserAllowed,
|
|
40
|
-
registerMessageHandler2 as registerMessageHandler
|
|
41
|
-
};
|
package/dist/index-1v23363p.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import"./cli-ns59dc6r.js";
|
|
2
|
-
import {
|
|
3
|
-
parseHeartbeatIntervalMs2,
|
|
4
|
-
startHeartbeat2,
|
|
5
|
-
stopHeartbeat2
|
|
6
|
-
} from "./cli-31vt7baf.js";
|
|
7
|
-
import"./cli-7m6bbtab.js";
|
|
8
|
-
import"./cli-50whymxq.js";
|
|
9
|
-
import"./cli-dnvmwsvc.js";
|
|
10
|
-
import"./cli-8qvte9hn.js";
|
|
11
|
-
import"./cli-m1wddksc.js";
|
|
12
|
-
import"./cli-nkfv398a.js";
|
|
13
|
-
import"./cli-xerdrnqs.js";
|
|
14
|
-
import"./cli-wdtqkqnq.js";
|
|
15
|
-
import"./cli-j2ybkdk2.js";
|
|
16
|
-
import"./cli-y260hgep.js";
|
|
17
|
-
import"./cli-4djg31jh.js";
|
|
18
|
-
import"./cli-fcwrd7bh.js";
|
|
19
|
-
import"./cli-jkkcm72j.js";
|
|
20
|
-
import"./cli-f1sdh8ca.js";
|
|
21
|
-
import"./cli-2wde56gv.js";
|
|
22
|
-
import"./cli-tceqvv6h.js";
|
|
23
|
-
import"./cli-69eq6gdk.js";
|
|
24
|
-
import"./cli-e87fg3en.js";
|
|
25
|
-
import"./cli-ka13xx6b.js";
|
|
26
|
-
import"./cli-r8ddn0hf.js";
|
|
27
|
-
import"./cli-b0m3bg0f.js";
|
|
28
|
-
import"./cli-vr4eyq6p.js";
|
|
29
|
-
import"./cli-b0kqw55g.js";
|
|
30
|
-
import"./cli-vx9acp12.js";
|
|
31
|
-
import"./cli-xysy1g8x.js";
|
|
32
|
-
import"./cli-n14r8h4n.js";
|
|
33
|
-
import"./cli-getrvmtx.js";
|
|
34
|
-
import"./cli-erh1rgh4.js";
|
|
35
|
-
export {
|
|
36
|
-
parseHeartbeatIntervalMs2 as parseHeartbeatIntervalMs,
|
|
37
|
-
startHeartbeat2 as startHeartbeat,
|
|
38
|
-
stopHeartbeat2 as stopHeartbeat
|
|
39
|
-
};
|
package/dist/index-30qw6vyw.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getExecutorRegistry2,
|
|
3
|
-
initWorkflows2,
|
|
4
|
-
init_workflows
|
|
5
|
-
} from "./cli-dnvmwsvc.js";
|
|
6
|
-
import"./cli-8qvte9hn.js";
|
|
7
|
-
import"./cli-m1wddksc.js";
|
|
8
|
-
import"./cli-nkfv398a.js";
|
|
9
|
-
import"./cli-xerdrnqs.js";
|
|
10
|
-
import"./cli-wdtqkqnq.js";
|
|
11
|
-
import"./cli-j2ybkdk2.js";
|
|
12
|
-
import"./cli-y260hgep.js";
|
|
13
|
-
import"./cli-4djg31jh.js";
|
|
14
|
-
import {
|
|
15
|
-
retryFailedRun2,
|
|
16
|
-
cancelWorkflowRun2
|
|
17
|
-
} from "./cli-fcwrd7bh.js";
|
|
18
|
-
import {
|
|
19
|
-
startWorkflowExecution2
|
|
20
|
-
} from "./cli-jkkcm72j.js";
|
|
21
|
-
import"./cli-f1sdh8ca.js";
|
|
22
|
-
import"./cli-2wde56gv.js";
|
|
23
|
-
import"./cli-tceqvv6h.js";
|
|
24
|
-
import"./cli-69eq6gdk.js";
|
|
25
|
-
import"./cli-e87fg3en.js";
|
|
26
|
-
import"./cli-ka13xx6b.js";
|
|
27
|
-
import"./cli-r8ddn0hf.js";
|
|
28
|
-
import"./cli-b0m3bg0f.js";
|
|
29
|
-
import"./cli-vr4eyq6p.js";
|
|
30
|
-
import"./cli-b0kqw55g.js";
|
|
31
|
-
import"./cli-vx9acp12.js";
|
|
32
|
-
import"./cli-xysy1g8x.js";
|
|
33
|
-
import"./cli-n14r8h4n.js";
|
|
34
|
-
import"./cli-getrvmtx.js";
|
|
35
|
-
import"./cli-erh1rgh4.js";
|
|
36
|
-
init_workflows();
|
|
37
|
-
|
|
38
|
-
export {
|
|
39
|
-
cancelWorkflowRun2 as cancelWorkflowRun,
|
|
40
|
-
getExecutorRegistry2 as getExecutorRegistry,
|
|
41
|
-
initWorkflows2 as initWorkflows,
|
|
42
|
-
retryFailedRun2 as retryFailedRun,
|
|
43
|
-
startWorkflowExecution2 as startWorkflowExecution
|
|
44
|
-
};
|
package/dist/index-6bm3w6cn.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
calculateNextRun2,
|
|
3
|
-
startScheduler2,
|
|
4
|
-
stopScheduler2,
|
|
5
|
-
runScheduleNow2,
|
|
6
|
-
init_scheduler2
|
|
7
|
-
} from "./cli-dnvmwsvc.js";
|
|
8
|
-
import"./cli-8qvte9hn.js";
|
|
9
|
-
import"./cli-m1wddksc.js";
|
|
10
|
-
import"./cli-nkfv398a.js";
|
|
11
|
-
import"./cli-xerdrnqs.js";
|
|
12
|
-
import"./cli-wdtqkqnq.js";
|
|
13
|
-
import"./cli-j2ybkdk2.js";
|
|
14
|
-
import"./cli-y260hgep.js";
|
|
15
|
-
import"./cli-4djg31jh.js";
|
|
16
|
-
import"./cli-fcwrd7bh.js";
|
|
17
|
-
import"./cli-jkkcm72j.js";
|
|
18
|
-
import"./cli-f1sdh8ca.js";
|
|
19
|
-
import"./cli-2wde56gv.js";
|
|
20
|
-
import"./cli-tceqvv6h.js";
|
|
21
|
-
import"./cli-69eq6gdk.js";
|
|
22
|
-
import"./cli-e87fg3en.js";
|
|
23
|
-
import"./cli-ka13xx6b.js";
|
|
24
|
-
import"./cli-r8ddn0hf.js";
|
|
25
|
-
import"./cli-b0m3bg0f.js";
|
|
26
|
-
import"./cli-vr4eyq6p.js";
|
|
27
|
-
import"./cli-b0kqw55g.js";
|
|
28
|
-
import"./cli-vx9acp12.js";
|
|
29
|
-
import"./cli-xysy1g8x.js";
|
|
30
|
-
import"./cli-n14r8h4n.js";
|
|
31
|
-
import"./cli-getrvmtx.js";
|
|
32
|
-
import"./cli-erh1rgh4.js";
|
|
33
|
-
init_scheduler2();
|
|
34
|
-
|
|
35
|
-
export {
|
|
36
|
-
calculateNextRun2 as calculateNextRun,
|
|
37
|
-
runScheduleNow2 as runScheduleNow,
|
|
38
|
-
startScheduler2 as startScheduler,
|
|
39
|
-
stopScheduler2 as stopScheduler
|
|
40
|
-
};
|
package/dist/lead-3jpc7kcr.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import"./cli-erh1rgh4.js";
|
|
2
|
-
import"./cli-n14r8h4n.js";
|
|
3
|
-
import"./cli-8qvte9hn.js";
|
|
4
|
-
import"./cli-m1wddksc.js";
|
|
5
|
-
import"./cli-vx9acp12.js";
|
|
6
|
-
import"./cli-ka13xx6b.js";
|
|
7
|
-
import"./cli-e87fg3en.js";
|
|
8
|
-
import"./cli-vr4eyq6p.js";
|
|
9
|
-
import"./cli-r8ddn0hf.js";
|
|
10
|
-
import"./cli-69eq6gdk.js";
|
|
11
|
-
import"./cli-f1sdh8ca.js";
|
|
12
|
-
import"./cli-fcwrd7bh.js";
|
|
13
|
-
import {
|
|
14
|
-
getEnabledCapabilities,
|
|
15
|
-
init_server
|
|
16
|
-
} from "./cli-dnvmwsvc.js";
|
|
17
|
-
import"./cli-y260hgep.js";
|
|
18
|
-
import"./cli-tceqvv6h.js";
|
|
19
|
-
import"./cli-2wde56gv.js";
|
|
20
|
-
import"./cli-tgmate57.js";
|
|
21
|
-
import"./cli-qn79645p.js";
|
|
22
|
-
import {
|
|
23
|
-
runAgent
|
|
24
|
-
} from "./cli-d0jb2qnt.js";
|
|
25
|
-
import"./cli-vdfngx2g.js";
|
|
26
|
-
import"./cli-zm6bkx3e.js";
|
|
27
|
-
import"./cli-77cd6gy8.js";
|
|
28
|
-
import"./cli-zkbz8m2q.js";
|
|
29
|
-
import"./cli-hv3820ez.js";
|
|
30
|
-
import"./cli-0xwb7zpt.js";
|
|
31
|
-
import"./cli-8a4qg44m.js";
|
|
32
|
-
import"./cli-x5yb8zc8.js";
|
|
33
|
-
import"./cli-cmgdptmx.js";
|
|
34
|
-
import"./cli-gq6qhmrr.js";
|
|
35
|
-
import"./cli-2v4xxnx2.js";
|
|
36
|
-
import"./cli-d82btycs.js";
|
|
37
|
-
import"./cli-0726awxw.js";
|
|
38
|
-
import"./cli-62fjschk.js";
|
|
39
|
-
import"./cli-s08zsqva.js";
|
|
40
|
-
import"./cli-snxhtehz.js";
|
|
41
|
-
import"./cli-cah298e5.js";
|
|
42
|
-
import"./cli-g0b3ma7r.js";
|
|
43
|
-
import"./cli-at67kvnp.js";
|
|
44
|
-
import"./cli-kr5tjjtz.js";
|
|
45
|
-
import"./cli-6rmryz03.js";
|
|
46
|
-
import"./cli-gedf48yw.js";
|
|
47
|
-
import"./cli-je587f74.js";
|
|
48
|
-
import"./cli-t25rq8mg.js";
|
|
49
|
-
import"./cli-d528acsw.js";
|
|
50
|
-
import"./cli-1f48qdnb.js";
|
|
51
|
-
import"./cli-bp2rt28p.js";
|
|
52
|
-
import"./cli-rvhaahfv.js";
|
|
53
|
-
import"./cli-ewb028rs.js";
|
|
54
|
-
import"./cli-c9bwawf9.js";
|
|
55
|
-
import"./cli-nkfv398a.js";
|
|
56
|
-
import"./cli-xerdrnqs.js";
|
|
57
|
-
import"./cli-wdtqkqnq.js";
|
|
58
|
-
import"./cli-j2ybkdk2.js";
|
|
59
|
-
import"./cli-4djg31jh.js";
|
|
60
|
-
import"./cli-jkkcm72j.js";
|
|
61
|
-
import"./cli-b0m3bg0f.js";
|
|
62
|
-
import"./cli-b0kqw55g.js";
|
|
63
|
-
import"./cli-xysy1g8x.js";
|
|
64
|
-
import"./cli-getrvmtx.js";
|
|
65
|
-
|
|
66
|
-
// src/commands/lead.ts
|
|
67
|
-
init_server();
|
|
68
|
-
var leadConfig = {
|
|
69
|
-
role: "lead",
|
|
70
|
-
defaultPrompt: "/start-leader",
|
|
71
|
-
metadataType: "lead_metadata",
|
|
72
|
-
capabilities: getEnabledCapabilities()
|
|
73
|
-
};
|
|
74
|
-
async function runLead(opts) {
|
|
75
|
-
return runAgent(leadConfig, opts);
|
|
76
|
-
}
|
|
77
|
-
export {
|
|
78
|
-
runLead
|
|
79
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
bufferThreadMessage2,
|
|
3
|
-
restoreBufferedSlackMessages2,
|
|
4
|
-
getBufferMessageCount2,
|
|
5
|
-
instantFlush2,
|
|
6
|
-
init_thread_buffer
|
|
7
|
-
} from "./cli-cs26ed89.js";
|
|
8
|
-
import"./cli-gc7jkf4a.js";
|
|
9
|
-
import"./cli-dnvmwsvc.js";
|
|
10
|
-
import"./cli-8qvte9hn.js";
|
|
11
|
-
import"./cli-m1wddksc.js";
|
|
12
|
-
import"./cli-nkfv398a.js";
|
|
13
|
-
import"./cli-xerdrnqs.js";
|
|
14
|
-
import"./cli-wdtqkqnq.js";
|
|
15
|
-
import"./cli-j2ybkdk2.js";
|
|
16
|
-
import"./cli-y260hgep.js";
|
|
17
|
-
import"./cli-4djg31jh.js";
|
|
18
|
-
import"./cli-fcwrd7bh.js";
|
|
19
|
-
import"./cli-jkkcm72j.js";
|
|
20
|
-
import"./cli-f1sdh8ca.js";
|
|
21
|
-
import"./cli-2wde56gv.js";
|
|
22
|
-
import"./cli-tceqvv6h.js";
|
|
23
|
-
import"./cli-69eq6gdk.js";
|
|
24
|
-
import"./cli-e87fg3en.js";
|
|
25
|
-
import"./cli-ka13xx6b.js";
|
|
26
|
-
import"./cli-r8ddn0hf.js";
|
|
27
|
-
import"./cli-b0m3bg0f.js";
|
|
28
|
-
import"./cli-vr4eyq6p.js";
|
|
29
|
-
import"./cli-b0kqw55g.js";
|
|
30
|
-
import"./cli-vx9acp12.js";
|
|
31
|
-
import"./cli-xysy1g8x.js";
|
|
32
|
-
import"./cli-n14r8h4n.js";
|
|
33
|
-
import"./cli-getrvmtx.js";
|
|
34
|
-
import"./cli-erh1rgh4.js";
|
|
35
|
-
init_thread_buffer();
|
|
36
|
-
|
|
37
|
-
export {
|
|
38
|
-
bufferThreadMessage2 as bufferThreadMessage,
|
|
39
|
-
getBufferMessageCount2 as getBufferMessageCount,
|
|
40
|
-
instantFlush2 as instantFlush,
|
|
41
|
-
restoreBufferedSlackMessages2 as restoreBufferedSlackMessages
|
|
42
|
-
};
|