@desplega.ai/agent-swarm 1.84.1 → 1.86.0

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.
Files changed (116) hide show
  1. package/README.md +1 -0
  2. package/openapi.json +1 -1
  3. package/package.json +8 -6
  4. package/src/be/db-queries/oauth.ts +33 -0
  5. package/src/be/db.ts +51 -1
  6. package/src/be/migrations/077_oauth_refresh_locks.sql +8 -0
  7. package/src/be/migrations/078_backfill_gpt_5_5_pricing.sql +15 -0
  8. package/src/be/modelsdev-cache.json +152028 -0
  9. package/src/be/modelsdev-cache.ts +46 -0
  10. package/src/be/seed-pricing.ts +7 -44
  11. package/src/cli.tsx +12 -2
  12. package/src/commands/codex-session-runner.ts +132 -0
  13. package/src/commands/credential-wait.ts +2 -2
  14. package/src/commands/provider-credentials.ts +10 -5
  15. package/src/commands/runner.ts +62 -9
  16. package/src/http/index.ts +11 -3
  17. package/src/http/tasks.ts +17 -0
  18. package/src/http/utils.ts +17 -0
  19. package/src/oauth/ensure-token.ts +97 -11
  20. package/src/prompts/base-prompt.ts +49 -3
  21. package/src/providers/claude-adapter.ts +83 -2
  22. package/src/providers/claude-managed-models.ts +18 -2
  23. package/src/providers/codex-adapter.ts +417 -97
  24. package/src/providers/codex-models.ts +9 -2
  25. package/src/providers/index.ts +28 -19
  26. package/src/providers/pi-mono-adapter.ts +44 -25
  27. package/src/providers/pricing-sources.md +7 -4
  28. package/src/providers/swarm-events-shared.ts +14 -0
  29. package/src/server.ts +2 -0
  30. package/src/slack/HEURISTICS.md +5 -1
  31. package/src/slack/handlers.test.ts +35 -0
  32. package/src/slack/handlers.ts +79 -2
  33. package/src/tasks/worker-follow-up.ts +82 -0
  34. package/src/tests/agents-list-model-display.test.ts +13 -1
  35. package/src/tests/base-prompt.test.ts +46 -8
  36. package/src/tests/claude-managed-adapter.test.ts +4 -4
  37. package/src/tests/codex-adapter-otel.test.ts +4 -4
  38. package/src/tests/codex-adapter.test.ts +20 -7
  39. package/src/tests/codex-swarm-events.test.ts +35 -0
  40. package/src/tests/context-window.test.ts +1 -0
  41. package/src/tests/credential-check.test.ts +48 -29
  42. package/src/tests/db-queries-oauth.test.ts +27 -0
  43. package/src/tests/ensure-token.test.ts +71 -0
  44. package/src/tests/entrypoint-config-env-export.test.ts +81 -0
  45. package/src/tests/follow-up-redelivery-guard.test.ts +165 -0
  46. package/src/tests/http-log-scrubbing.test.ts +24 -0
  47. package/src/tests/list-endpoint-slimming.test.ts +22 -1
  48. package/src/tests/migration-046-budgets.test.ts +6 -5
  49. package/src/tests/oauth-access-token-tool.test.ts +138 -0
  50. package/src/tests/pi-mono-adapter.test.ts +37 -1
  51. package/src/tests/pricing-routes.test.ts +6 -5
  52. package/src/tests/provider-adapter.test.ts +10 -10
  53. package/src/tests/provider-command-format.test.ts +4 -4
  54. package/src/tests/runner-fallback-output.test.ts +118 -39
  55. package/src/tests/session-costs-codex-recompute.test.ts +25 -0
  56. package/src/tests/task-completion-idempotency.test.ts +89 -0
  57. package/src/tools/oauth-access-token.ts +118 -0
  58. package/src/tools/send-task.ts +30 -9
  59. package/src/tools/store-progress.ts +12 -77
  60. package/src/tools/tool-config.ts +2 -1
  61. package/src/types.ts +5 -0
  62. package/src/utils/context-window.ts +1 -0
  63. package/src/utils/secret-scrubber.ts +23 -0
  64. package/templates/schedules/daily-blocker-digest/config.json +13 -0
  65. package/templates/schedules/daily-blocker-digest/content.md +150 -0
  66. package/templates/schedules/daily-compounding-reflection/config.json +21 -0
  67. package/templates/schedules/daily-compounding-reflection/content.md +210 -0
  68. package/templates/schedules/daily-hn-briefing/config.json +13 -0
  69. package/templates/schedules/daily-hn-briefing/content.md +97 -0
  70. package/templates/schedules/daily-workflow-health-audit/config.json +13 -0
  71. package/templates/schedules/daily-workflow-health-audit/content.md +189 -0
  72. package/templates/schedules/gtm-weekly-review/config.json +13 -0
  73. package/templates/schedules/gtm-weekly-review/content.md +58 -0
  74. package/templates/schedules/weekly-dependabot-triage/config.json +13 -0
  75. package/templates/schedules/weekly-dependabot-triage/content.md +45 -0
  76. package/templates/schema.ts +26 -0
  77. package/templates/skills/agentmail-sending/config.json +13 -0
  78. package/templates/skills/agentmail-sending/content.md +48 -0
  79. package/templates/skills/artifacts/config.json +13 -0
  80. package/templates/skills/artifacts/content.md +87 -0
  81. package/templates/skills/browser-use-cloud/config.json +13 -0
  82. package/templates/skills/browser-use-cloud/content.md +155 -0
  83. package/templates/skills/desloppify/config.json +13 -0
  84. package/templates/skills/desloppify/content.md +201 -0
  85. package/templates/skills/exa-search/config.json +13 -0
  86. package/templates/skills/exa-search/content.md +106 -0
  87. package/templates/skills/jira-interaction/config.json +13 -0
  88. package/templates/skills/jira-interaction/content.md +252 -0
  89. package/templates/skills/kapso-whatsapp/config.json +13 -0
  90. package/templates/skills/kapso-whatsapp/content.md +369 -0
  91. package/templates/skills/kv-storage/config.json +13 -0
  92. package/templates/skills/kv-storage/content.md +111 -0
  93. package/templates/skills/linear-interaction/config.json +20 -0
  94. package/templates/skills/linear-interaction/content.md +230 -0
  95. package/templates/skills/pages/config.json +18 -0
  96. package/templates/skills/pages/content.md +85 -0
  97. package/templates/skills/profile-corruption-escalation/config.json +13 -0
  98. package/templates/skills/profile-corruption-escalation/content.md +105 -0
  99. package/templates/skills/scheduled-task-resilience/config.json +13 -0
  100. package/templates/skills/scheduled-task-resilience/content.md +95 -0
  101. package/templates/skills/sprite-cli/config.json +13 -0
  102. package/templates/skills/sprite-cli/content.md +133 -0
  103. package/templates/skills/turso-interaction/config.json +13 -0
  104. package/templates/skills/turso-interaction/content.md +192 -0
  105. package/templates/skills/workflow-iterate/config.json +18 -0
  106. package/templates/skills/workflow-iterate/content.md +399 -0
  107. package/templates/skills/workflow-structured-output/config.json +13 -0
  108. package/templates/skills/workflow-structured-output/content.md +101 -0
  109. package/templates/skills/x-api-interactions/config.json +13 -0
  110. package/templates/skills/x-api-interactions/content.md +109 -0
  111. package/templates/workflows/autopilot/config.json +13 -0
  112. package/templates/workflows/autopilot/content.md +58 -0
  113. package/templates/workflows/linear-drain-loop/config.json +21 -0
  114. package/templates/workflows/linear-drain-loop/content.md +72 -0
  115. package/templates/workflows/ralph-loop/config.json +13 -0
  116. package/templates/workflows/ralph-loop/content.md +75 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.