Skip to content

feat: add microsoft teams cli support#20489

Open
hulh122 wants to merge 1 commit into
mainfrom
feat/teams-cli-support
Open

feat: add microsoft teams cli support#20489
hulh122 wants to merge 1 commit into
mainfrom
feat/teams-cli-support

Conversation

@hulh122

@hulh122 hulh122 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add Microsoft Teams zero CLI commands for sending messages and uploading files
  • add Teams integration API contracts/routes and teams:write capability wiring
  • update Teams run system prompt to point agents at zero teams commands
  • add focused API/CLI tests and clean up unused exported platform types surfaced by knip

Tests

  • pnpm -C turbo -F api exec vitest run src/signals/routes/tests/zero-integrations-teams.test.ts src/signals/routes/tests/zero-teams-bot.test.ts
  • pnpm -C turbo -F @vm0/cli exec vitest run src/commands/zero/teams/tests/send.test.ts src/commands/zero/teams/tests/upload-file.test.ts src/tests/zero-capability-visibility.test.ts
  • pnpm -C turbo -F @vm0/api-contracts exec vitest run src/contracts/tests/composes.test.ts
  • pnpm -C turbo -F api check-types
  • pnpm -C turbo -F @vm0/cli check-types
  • pnpm -C turbo -F @vm0/api-contracts check-types
  • pnpm -C turbo -F @vm0/db check-types
  • pnpm -C turbo -F @vm0/app check-types
  • pnpm -C turbo -F api lint
  • pnpm -C turbo -F @vm0/cli lint
  • pnpm -C turbo -F @vm0/api-contracts lint
  • pnpm -C turbo -F @vm0/db lint
  • pnpm -C turbo -F @vm0/app lint
  • pnpm -C turbo knip --cache

Notes

  • Ran pnpm -C turbo -F @vm0/firewalls-generator generate after rebasing because the local generated firewall runtime loader was stale; it produced no tracked diff.
  • Local DB migration was drifted, so I manually applied the 0551 system storage presigned URL cache schema change to the local test database before running API tests.

@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
5287 1 5286 10
View the top 1 failed test(s) by shortest run time
apps/cli/src/__tests__/zero.test.ts > zero CLI program > should have exactly 32 commands
Stack Traces | 0.00588s run time
AssertionError: expected [ 'org', 'model', …(31) ] to have a length of 32 but got 33

- Expected
+ Received

- 32
+ 33

 ❯ src/__tests__/zero.test.ts:72:26

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

API preview: https://pr-20489-api.vm6.ai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant