Pull in Teams integration, mail workflows, and safety improvements from johntheyoung/mogcli - #8
Open
jaredpalmer wants to merge 20 commits into
Open
Pull in Teams integration, mail workflows, and safety improvements from johntheyoung/mogcli#8jaredpalmer wants to merge 20 commits into
jaredpalmer wants to merge 20 commits into
Conversation
Consolidate Dexterton mog feature stack
Add controlled Outlook mail archive and read workflows
Bound Outlook mutation JSON output
# Conflicts: # internal/cmd/mail.go # internal/cmd/mail_test.go # internal/cmd/runtime.go # internal/services/mail/service.go
The mog SKILL.md referenced a specific downstream deployment (profile names, env file paths, and gateway tooling). Replace those with generic placeholders so the skill applies to any environment, and document the mail draft command alongside the other write examples. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Merges the improvements from the johntheyoung/mogcli fork (16 commits, preserved with original authorship), reviewed commit-by-commit:
Teams integration
teams list,teams channels,teams channel-sendwith enterprise-delegated-only capability rulesteams chats,teams chat-send,teams dm-send(opens/reuses one-on-one chats)teams chat-members, plus@mentionsupport with proper HTML escaping (dry-run output deliberately omits AAD object IDs)teams chat-file-send: guarded file sharing via OneDrive with tenant/guest checks, SHA-256 content verification, permission auditing, no-retry semantics for non-idempotent operations, and rollback on failureMail
mail foldersand--folder-scopedmail listwith immutable ID preferencemail archive,mail move,mail mark-readwith distinct action allowlist entries, disabled auto-retries on moves, and explicit indeterminate-outcome errorsSafety / agent controls
--enable-commands/--enable-actionsruntime allowlistsMOG_MANAGED_AUTOMATIONfail-closed mode for headless automation.agents/skills/mog/SKILL.md)Calendar
--show-asavailability on create/updateConflict resolution: the fork predates #5 (
mail draft), sointernal/cmd/mail.go,internal/services/mail/service.go,internal/cmd/runtime.go, and tests were merged to keep both feature sets (draft + folders/archive/move/mark-read).Follow-up commit: generalized SKILL.md, which referenced the fork author's specific deployment (profile names, env paths, gateway tooling), and documented
mail draftin it.Test plan
go build ./...go vet ./...go test ./...— all packages passmog mail --helpandmog teams --helpon the built binaryGenerated with Devin