@onepointfour-packs/flaredeck-agent 0.2.171 → 0.2.172
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.js +2 -0
- package/dist/agent.js.map +1 -1
- package/dist/config.d.ts +6 -0
- package/dist/config.js.map +1 -1
- package/dist/engine-antigravity.js +3 -0
- package/dist/engine-antigravity.js.map +1 -1
- package/dist/engine-claude.js +1 -1
- package/dist/engine-claude.js.map +1 -1
- package/dist/engine.d.ts +4 -0
- package/dist/engine.js.map +1 -1
- package/dist/helpers.d.ts +33 -0
- package/dist/helpers.js +196 -0
- package/dist/helpers.js.map +1 -0
- package/dist/serve.js +44 -1
- package/dist/serve.js.map +1 -1
- package/package.json +1 -1
- package/python/sidecar.py +17 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onepointfour-packs/flaredeck-agent",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.172",
|
|
4
4
|
"description": "Run a FlareDeck agent on your own machine: it picks up cards assigned to it, works each one in a checkout of its own, and reports back on the card.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/python/sidecar.py
CHANGED
|
@@ -318,6 +318,23 @@ async def main() -> None:
|
|
|
318
318
|
kwargs["api_key"] = os.environ["GEMINI_API_KEY"]
|
|
319
319
|
if first.get("model"):
|
|
320
320
|
kwargs["model"] = first["model"]
|
|
321
|
+
# Helpers, as the SDK's own sub-agents (flaredeck-agent helpers.ts). Minimal mode: the default
|
|
322
|
+
# cost ~$0.70 for two searches in testing, minimal ~$0.05. Skipped, never fatal, if this SDK
|
|
323
|
+
# build lacks a field — a missing helper must not be the reason a card fails.
|
|
324
|
+
if first.get("subagents"):
|
|
325
|
+
try:
|
|
326
|
+
from google.antigravity.types import AgentBehavior, SubagentCapabilities, SubagentConfig
|
|
327
|
+
kwargs["subagents"] = [
|
|
328
|
+
SubagentConfig(
|
|
329
|
+
name=s["name"], description=s["description"],
|
|
330
|
+
system_instructions=s.get("system_instructions") or "",
|
|
331
|
+
model=s.get("model"),
|
|
332
|
+
capabilities=SubagentCapabilities(agent_behavior=AgentBehavior.MINIMAL),
|
|
333
|
+
)
|
|
334
|
+
for s in first["subagents"]
|
|
335
|
+
]
|
|
336
|
+
except Exception as e: # noqa: BLE001
|
|
337
|
+
emit({"type": "event", "kind": "tool", "name": f"helpers not available ({type(e).__name__}: {e})"})
|
|
321
338
|
|
|
322
339
|
# How hard it thinks. The option rides on the Gemini endpoint, which means naming the model as
|
|
323
340
|
# a ModelTarget rather than a bare string — so this is attempted and then abandoned quietly if
|