gws-cli 1.0.0__tar.gz
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.
- gws_cli-1.0.0/.gitignore +61 -0
- gws_cli-1.0.0/CLAUDE.md +228 -0
- gws_cli-1.0.0/LICENSE +21 -0
- gws_cli-1.0.0/LIVE_TESTING.md +275 -0
- gws_cli-1.0.0/PKG-INFO +283 -0
- gws_cli-1.0.0/README.md +247 -0
- gws_cli-1.0.0/SKILL-advanced.md +705 -0
- gws_cli-1.0.0/SKILL-typesetting.md +699 -0
- gws_cli-1.0.0/SKILL.md +434 -0
- gws_cli-1.0.0/TESTING.md +174 -0
- gws_cli-1.0.0/docker-compose-kroki.yml +28 -0
- gws_cli-1.0.0/pyproject.toml +67 -0
- gws_cli-1.0.0/reference/calendar.md +202 -0
- gws_cli-1.0.0/reference/contacts.md +141 -0
- gws_cli-1.0.0/reference/docs.md +491 -0
- gws_cli-1.0.0/reference/drive.md +255 -0
- gws_cli-1.0.0/reference/gmail.md +292 -0
- gws_cli-1.0.0/reference/sheets.md +485 -0
- gws_cli-1.0.0/reference/slides.md +386 -0
- gws_cli-1.0.0/src/gws/__init__.py +3 -0
- gws_cli-1.0.0/src/gws/__main__.py +9 -0
- gws_cli-1.0.0/src/gws/auth/__init__.py +14 -0
- gws_cli-1.0.0/src/gws/auth/oauth.py +211 -0
- gws_cli-1.0.0/src/gws/auth/provider.py +97 -0
- gws_cli-1.0.0/src/gws/auth/scopes.py +47 -0
- gws_cli-1.0.0/src/gws/auth/server.py +700 -0
- gws_cli-1.0.0/src/gws/cli.py +1123 -0
- gws_cli-1.0.0/src/gws/commands/__init__.py +1 -0
- gws_cli-1.0.0/src/gws/commands/_account.py +55 -0
- gws_cli-1.0.0/src/gws/commands/calendar.py +688 -0
- gws_cli-1.0.0/src/gws/commands/contacts.py +291 -0
- gws_cli-1.0.0/src/gws/commands/convert.py +122 -0
- gws_cli-1.0.0/src/gws/commands/docs.py +1432 -0
- gws_cli-1.0.0/src/gws/commands/drive.py +580 -0
- gws_cli-1.0.0/src/gws/commands/gmail.py +885 -0
- gws_cli-1.0.0/src/gws/commands/sheets.py +1550 -0
- gws_cli-1.0.0/src/gws/commands/slides.py +1107 -0
- gws_cli-1.0.0/src/gws/config.py +451 -0
- gws_cli-1.0.0/src/gws/context.py +14 -0
- gws_cli-1.0.0/src/gws/crypto.py +217 -0
- gws_cli-1.0.0/src/gws/exceptions.py +58 -0
- gws_cli-1.0.0/src/gws/output.py +111 -0
- gws_cli-1.0.0/src/gws/services/__init__.py +1 -0
- gws_cli-1.0.0/src/gws/services/base.py +47 -0
- gws_cli-1.0.0/src/gws/services/calendar.py +1377 -0
- gws_cli-1.0.0/src/gws/services/contacts.py +812 -0
- gws_cli-1.0.0/src/gws/services/convert.py +879 -0
- gws_cli-1.0.0/src/gws/services/docs.py +3723 -0
- gws_cli-1.0.0/src/gws/services/drive.py +1807 -0
- gws_cli-1.0.0/src/gws/services/gmail.py +2001 -0
- gws_cli-1.0.0/src/gws/services/sheets.py +3689 -0
- gws_cli-1.0.0/src/gws/services/slides.py +2845 -0
- gws_cli-1.0.0/src/gws/utils/__init__.py +1 -0
- gws_cli-1.0.0/src/gws/utils/colors.py +25 -0
- gws_cli-1.0.0/src/gws/utils/diagrams.py +220 -0
- gws_cli-1.0.0/src/gws/utils/retry.py +111 -0
- gws_cli-1.0.0/src/gws/utils/security.py +23 -0
- gws_cli-1.0.0/tests/__init__.py +1 -0
- gws_cli-1.0.0/tests/conftest.py +1 -0
- gws_cli-1.0.0/tests/test_account_commands.py +205 -0
- gws_cli-1.0.0/tests/test_account_enforcement.py +105 -0
- gws_cli-1.0.0/tests/test_auth_accounts.py +143 -0
- gws_cli-1.0.0/tests/test_auth_provider.py +105 -0
- gws_cli-1.0.0/tests/test_config_accounts.py +315 -0
- gws_cli-1.0.0/tests/test_crypto.py +235 -0
- gws_cli-1.0.0/tests/test_docs.py +1533 -0
- gws_cli-1.0.0/tests/test_gmail_mime.py +353 -0
- gws_cli-1.0.0/tests/test_output.py +356 -0
- gws_cli-1.0.0/tests/test_server_auth.py +460 -0
gws_cli-1.0.0/.gitignore
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
.Python
|
|
7
|
+
build/
|
|
8
|
+
develop-eggs/
|
|
9
|
+
dist/
|
|
10
|
+
downloads/
|
|
11
|
+
eggs/
|
|
12
|
+
.eggs/
|
|
13
|
+
lib/
|
|
14
|
+
lib64/
|
|
15
|
+
parts/
|
|
16
|
+
sdist/
|
|
17
|
+
var/
|
|
18
|
+
wheels/
|
|
19
|
+
*.egg-info/
|
|
20
|
+
.installed.cfg
|
|
21
|
+
*.egg
|
|
22
|
+
|
|
23
|
+
# Virtual environments
|
|
24
|
+
.env
|
|
25
|
+
.venv
|
|
26
|
+
env/
|
|
27
|
+
venv/
|
|
28
|
+
ENV/
|
|
29
|
+
|
|
30
|
+
# uv
|
|
31
|
+
.uv/
|
|
32
|
+
uv.lock
|
|
33
|
+
|
|
34
|
+
# IDE
|
|
35
|
+
.idea/
|
|
36
|
+
.vscode/
|
|
37
|
+
*.swp
|
|
38
|
+
*.swo
|
|
39
|
+
*~
|
|
40
|
+
|
|
41
|
+
# Testing
|
|
42
|
+
.pytest_cache/
|
|
43
|
+
.coverage
|
|
44
|
+
htmlcov/
|
|
45
|
+
.tox/
|
|
46
|
+
.nox/
|
|
47
|
+
|
|
48
|
+
# mypy
|
|
49
|
+
.mypy_cache/
|
|
50
|
+
|
|
51
|
+
# ruff
|
|
52
|
+
.ruff_cache/
|
|
53
|
+
|
|
54
|
+
# OS
|
|
55
|
+
.DS_Store
|
|
56
|
+
Thumbs.db
|
|
57
|
+
|
|
58
|
+
# Project specific
|
|
59
|
+
*.log
|
|
60
|
+
*.png
|
|
61
|
+
.claude/
|
gws_cli-1.0.0/CLAUDE.md
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# Claude Code Development Guide
|
|
2
|
+
|
|
3
|
+
This file provides context for Claude when working on this codebase.
|
|
4
|
+
|
|
5
|
+
## Project Overview
|
|
6
|
+
|
|
7
|
+
This is a **Claude Code skill** that provides Google Workspace integration. The skill exposes a CLI (`gws-cli`) that Claude invokes to interact with Google APIs.
|
|
8
|
+
|
|
9
|
+
**Key distinction:**
|
|
10
|
+
- `SKILL.md` - Instructions for Claude when **using** the skill (overview, navigation)
|
|
11
|
+
- `reference/*.md` - Service-specific API documentation (docs, sheets, slides, etc.)
|
|
12
|
+
- `SKILL-advanced.md` - Design best practices, content creation, API efficiency
|
|
13
|
+
- `CLAUDE.md` - Instructions for Claude when **developing** the skill (this file)
|
|
14
|
+
|
|
15
|
+
## Architecture
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
src/gws/
|
|
19
|
+
├── cli.py # Main Typer app, auth/config/account commands
|
|
20
|
+
├── config.py # Service config + multi-account registry
|
|
21
|
+
├── crypto.py # Fernet encryption at rest (machine-derived key, HKDF)
|
|
22
|
+
├── context.py # Runtime active account state
|
|
23
|
+
├── output.py # JSON output formatting (output_success, output_error)
|
|
24
|
+
├── exceptions.py # Exit codes (0-4)
|
|
25
|
+
├── auth/
|
|
26
|
+
│ ├── oauth.py # OAuth loopback flow (ports 8080-8099), account-aware token paths
|
|
27
|
+
│ └── scopes.py # Per-service Google API scopes
|
|
28
|
+
├── services/
|
|
29
|
+
│ ├── base.py # BaseService class (handles auth, builds API client, account context)
|
|
30
|
+
│ ├── drive.py # Google Drive operations
|
|
31
|
+
│ ├── docs.py # Google Docs operations
|
|
32
|
+
│ ├── sheets.py # Google Sheets operations
|
|
33
|
+
│ ├── slides.py # Google Slides operations
|
|
34
|
+
│ ├── gmail.py # Gmail operations
|
|
35
|
+
│ ├── calendar.py # Google Calendar operations
|
|
36
|
+
│ ├── contacts.py # People API operations
|
|
37
|
+
│ └── convert.py # Markdown → Docs/Slides/PDF converter
|
|
38
|
+
├── commands/
|
|
39
|
+
│ ├── _account.py # Shared --account/-a Typer callback for all service commands
|
|
40
|
+
│ ├── docs.py # Typer CLI commands (mirror services/)
|
|
41
|
+
│ └── ...
|
|
42
|
+
└── utils/
|
|
43
|
+
├── colors.py # Hex color → RGB conversion for Sheets/Slides
|
|
44
|
+
├── diagrams.py # Kroki API diagram rendering
|
|
45
|
+
└── markdown.py # Markdown parser for slides conversion
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Key Patterns
|
|
49
|
+
|
|
50
|
+
### Service Structure
|
|
51
|
+
|
|
52
|
+
Each service follows this pattern:
|
|
53
|
+
|
|
54
|
+
```python
|
|
55
|
+
class SomeService(BaseService):
|
|
56
|
+
SERVICE_NAME = "some_api" # Google API name
|
|
57
|
+
VERSION = "v1" # API version
|
|
58
|
+
|
|
59
|
+
def operation(self, ...) -> dict[str, Any]:
|
|
60
|
+
try:
|
|
61
|
+
result = self.service.resource().method(...).execute()
|
|
62
|
+
output_success(operation="service.op", ...)
|
|
63
|
+
return result
|
|
64
|
+
except HttpError as e:
|
|
65
|
+
output_error(error_code="API_ERROR", operation="service.op", message=...)
|
|
66
|
+
raise SystemExit(ExitCode.API_ERROR)
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Output Format
|
|
70
|
+
|
|
71
|
+
All commands output JSON via `output_success()` or `output_error()`:
|
|
72
|
+
|
|
73
|
+
```python
|
|
74
|
+
# Success
|
|
75
|
+
output_success(operation="docs.read", document_id=doc_id, content=text)
|
|
76
|
+
|
|
77
|
+
# Error
|
|
78
|
+
output_error(error_code="NOT_FOUND", operation="docs.read", message="Document not found")
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### CLI Commands
|
|
82
|
+
|
|
83
|
+
Commands are thin wrappers that parse args and call service methods:
|
|
84
|
+
|
|
85
|
+
```python
|
|
86
|
+
@app.command("read")
|
|
87
|
+
def read_document(document_id: Annotated[str, typer.Argument(...)]) -> None:
|
|
88
|
+
service = DocsService()
|
|
89
|
+
service.read_document(document_id=document_id)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Running and Testing
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
# Run CLI directly
|
|
96
|
+
uv run gws-cli --help
|
|
97
|
+
uv run gws-cli docs read <doc_id>
|
|
98
|
+
|
|
99
|
+
# Run tests
|
|
100
|
+
uv run pytest
|
|
101
|
+
|
|
102
|
+
# Type checking
|
|
103
|
+
uv run mypy src/
|
|
104
|
+
|
|
105
|
+
# Linting
|
|
106
|
+
uv run ruff check .
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Credentials
|
|
110
|
+
|
|
111
|
+
Stored in `~/.config/gws-cli/` with encryption at rest:
|
|
112
|
+
- `client_secret.json.enc` - OAuth client credentials (encrypted, imported via `gws-cli auth import-credentials`)
|
|
113
|
+
- `token.json.enc` - Access token (encrypted, auto-generated during OAuth flow)
|
|
114
|
+
- `gws_config.json` - Configuration (plaintext — contains `encryption_salt` + enabled services, Kroki URL, accounts registry)
|
|
115
|
+
|
|
116
|
+
### Encryption at Rest
|
|
117
|
+
|
|
118
|
+
Secret files (tokens, credentials) are encrypted using Fernet symmetric encryption. The key is derived at runtime from machine-specific identifiers and never stored on disk.
|
|
119
|
+
|
|
120
|
+
- **Module**: `src/gws/crypto.py`
|
|
121
|
+
- **Key derivation**: `machine_id + username + app_id` → HKDF-SHA256 → Fernet key
|
|
122
|
+
- **File convention**: `foo.json` → encrypted as `foo.json.enc`
|
|
123
|
+
- **Auto-migration**: plaintext files are automatically encrypted on first load
|
|
124
|
+
- **Opt-out**: Set `GWS_ENCRYPTION=none` to disable encryption entirely
|
|
125
|
+
- **Salt**: Auto-generated, stored in `gws_config.json` (plaintext config stays unencrypted)
|
|
126
|
+
|
|
127
|
+
CLI commands for managing encrypted credentials:
|
|
128
|
+
- `gws-cli auth import-credentials <path>` - Import and encrypt `client_secret.json` from Google Cloud Console
|
|
129
|
+
|
|
130
|
+
### Multi-Account Storage
|
|
131
|
+
|
|
132
|
+
When multi-account mode is active, per-account data is stored under `accounts/`:
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
~/.config/gws-cli/
|
|
136
|
+
├── client_secret.json # Shared OAuth client (unchanged)
|
|
137
|
+
├── token.json # Legacy token (kept, used when no accounts)
|
|
138
|
+
├── gws_config.json # Global config + accounts registry
|
|
139
|
+
└── accounts/
|
|
140
|
+
├── work/
|
|
141
|
+
│ ├── token.json # Account-specific token
|
|
142
|
+
│ └── config.json # Per-account overrides (optional)
|
|
143
|
+
└── personal/
|
|
144
|
+
└── token.json
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
## Multi-Account Architecture
|
|
148
|
+
|
|
149
|
+
Multi-account is opt-in. When no accounts are configured, the CLI behaves exactly as before (legacy mode).
|
|
150
|
+
|
|
151
|
+
### Key concepts
|
|
152
|
+
|
|
153
|
+
- **Accounts registry**: Stored in `gws_config.json` under the `accounts` key. When `None`/absent, legacy mode is active.
|
|
154
|
+
- **Account resolution priority**: `--account` flag > `GWS_ACCOUNT` env var > default account > None (legacy)
|
|
155
|
+
- **Per-account config**: Optional `config.json` in account directory. Fields override global config (e.g., `enabled_services`).
|
|
156
|
+
- **Context module** (`context.py`): Module-level `_active_account` state. The `account_callback` in `_account.py` resolves the active account at command invocation and stores it. Both `BaseService` and `output_external_content` read it.
|
|
157
|
+
- **Account name validation**: Names must match `^[a-zA-Z0-9_-]+$` to prevent path traversal.
|
|
158
|
+
|
|
159
|
+
### CLI commands
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
# Account management
|
|
163
|
+
gws-cli account add <name> [--force] # Register + authenticate
|
|
164
|
+
gws-cli account remove <name> # Delete account + credentials
|
|
165
|
+
gws-cli account list # Show all accounts with default marker
|
|
166
|
+
gws-cli account default <name> # Change default account
|
|
167
|
+
|
|
168
|
+
# Per-account config overrides
|
|
169
|
+
gws-cli account config <name> # Show effective config
|
|
170
|
+
gws-cli account config-enable <name> <service> # Enable service for account
|
|
171
|
+
gws-cli account config-disable <name> <service> # Disable service for account
|
|
172
|
+
gws-cli account config-reset <name> # Remove all overrides (inherit global)
|
|
173
|
+
|
|
174
|
+
# Using accounts with any command
|
|
175
|
+
gws-cli docs read <id> --account personal
|
|
176
|
+
GWS_ACCOUNT=personal gws-cli docs read <id>
|
|
177
|
+
|
|
178
|
+
# Auth commands support --account
|
|
179
|
+
gws-cli auth --account work
|
|
180
|
+
gws-cli auth status --account work
|
|
181
|
+
gws-cli auth logout --account work
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## Common Tasks
|
|
185
|
+
|
|
186
|
+
### Adding a New Operation
|
|
187
|
+
|
|
188
|
+
1. Add method to service class in `src/gws/services/<service>.py`
|
|
189
|
+
2. Add CLI command in `src/gws/commands/<service>.py`
|
|
190
|
+
3. Document in the appropriate reference file (`reference/<service>.md`)
|
|
191
|
+
|
|
192
|
+
### Adding a New Service
|
|
193
|
+
|
|
194
|
+
1. Create `src/gws/services/newservice.py` extending `BaseService`
|
|
195
|
+
2. Create `src/gws/commands/newservice.py` with Typer app
|
|
196
|
+
3. Register in `src/gws/cli.py`: `app.add_typer(newservice.app, name="newservice")`
|
|
197
|
+
4. Add scopes to `src/gws/auth/scopes.py`
|
|
198
|
+
5. Add to `Config.ALL_SERVICES` in `src/gws/config.py`
|
|
199
|
+
6. Create `reference/newservice.md` with API documentation
|
|
200
|
+
7. Add navigation entry in `SKILL.md` Services Reference table
|
|
201
|
+
|
|
202
|
+
## Important Notes
|
|
203
|
+
|
|
204
|
+
- **Exit codes**: Use `ExitCode` enum (0=success, 1=auth, 2=API, 3=args, 4=not found)
|
|
205
|
+
- **Shell escaping**: Claude Code sandbox escapes `!` as `\!`. Use `_unescape_text()` for user content.
|
|
206
|
+
- **HTML email default**: Gmail sends HTML by default (`--plain` for plain text)
|
|
207
|
+
- **Diagram rendering**: Uses Kroki API. Mermaid gets `default` theme injected automatically (configurable via `--mermaid-theme`).
|
|
208
|
+
- **Image sizing**: Docs converter limits images to 450pt width, 600pt height
|
|
209
|
+
|
|
210
|
+
## Live Testing
|
|
211
|
+
|
|
212
|
+
`LIVE_TESTING.md` tracks manual tests of every CLI command against real Google Workspace APIs.
|
|
213
|
+
|
|
214
|
+
**When live testing, always update `LIVE_TESTING.md`:**
|
|
215
|
+
- Each test is a row in the flat table with columns: `#`, `Service`, `Command`, `Status`, `Date`, `Notes`
|
|
216
|
+
- Update the row's `Date` to today when re-testing an existing command
|
|
217
|
+
- Add new rows for new commands
|
|
218
|
+
- Keep the `Summary` counts in sync (Total, Pass, Skip)
|
|
219
|
+
- Add an entry to the `Changelog` section at the bottom describing what was tested/fixed
|
|
220
|
+
- Never include account names, emails, or other sensitive information in the file
|
|
221
|
+
|
|
222
|
+
## Dependencies
|
|
223
|
+
|
|
224
|
+
Key packages:
|
|
225
|
+
- `typer` - CLI framework
|
|
226
|
+
- `google-api-python-client` - Google API client
|
|
227
|
+
- `google-auth-oauthlib` - OAuth flow
|
|
228
|
+
- `httpx` - HTTP client (for Kroki API)
|
gws_cli-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Marios Andreopoulos
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
# Live Testing Log
|
|
2
|
+
|
|
3
|
+
Manual testing of all CLI operations against real Google Workspace accounts.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Summary
|
|
8
|
+
|
|
9
|
+
| Metric | Count | Notes |
|
|
10
|
+
|--------|-------|-------|
|
|
11
|
+
| Pass | 210 | |
|
|
12
|
+
| Skip | 6 | Destructive or require external setup (e.g. target email, ownership transfer) |
|
|
13
|
+
| Expected fail | 1 | API correctly rejects the operation (e.g. unsubscribe from owned calendar) |
|
|
14
|
+
| **Total** | **217** | |
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## All Tests
|
|
19
|
+
|
|
20
|
+
| # | Service | Command | Status | Date | Notes |
|
|
21
|
+
|---|---------|---------|--------|------|-------|
|
|
22
|
+
| 1 | Infra |`gws-cli --version`|PASS| 2026-02-05 |Returns `{"version": "1.0.0"}`|
|
|
23
|
+
| 2 | Infra |`gws-cli --help`|PASS| 2026-02-05 |Lists all 8 services|
|
|
24
|
+
| 3 | Infra |`gws-cli auth status`|PASS| 2026-02-05 |Token valid|
|
|
25
|
+
| 4 | Infra |`gws-cli config`|PASS| 2026-02-05 |Shows all config including multi-account|
|
|
26
|
+
| 5 | Infra |`gws-cli config list`|PASS| 2026-02-05 |8/8 services enabled|
|
|
27
|
+
| 6 | Drive |`drive list --max 5`|PASS| 2026-02-05 |Pagination works|
|
|
28
|
+
| 7 | Drive |`drive search "name contains 'GWS-Test'"`|PASS| 2026-02-05 |Query works|
|
|
29
|
+
| 8 | Drive |`drive get <file_id>`|PASS| 2026-02-05 |Full metadata|
|
|
30
|
+
| 9 | Drive |`drive download <file_id> /tmp/...`|PASS| 2026-02-05 |File downloaded|
|
|
31
|
+
| 10 | Drive |`drive export <doc_id> --format "application/pdf"`|PASS| 2026-02-05 |PDF exported|
|
|
32
|
+
| 11 | Drive |`drive changes-token`|PASS| 2026-02-05 |Returns start_page_token|
|
|
33
|
+
| 12 | Drive |`drive list-changes <token>`|PASS| 2026-02-05 |Lists changes|
|
|
34
|
+
| 13 | Drive |`drive list-trash --max 5`|PASS| 2026-02-05 |Shows trashed files|
|
|
35
|
+
| 14 | Drive |`drive list-shared-drives --max 5`|PASS| 2026-02-05 |Lists 5 shared drives|
|
|
36
|
+
| 15 | Drive |`drive generate-ids --count 3`|PASS| 2026-02-05 |Returns 3 IDs|
|
|
37
|
+
| 16 | Drive |`drive list-permissions <file_id>`|PASS| 2026-02-05 |Shows owner permission|
|
|
38
|
+
| 17 | Drive |`drive list-revisions <file_id>`|FIXED| 2026-02-05 |Bug: `supportsAllDrives` not valid for revisions API|
|
|
39
|
+
| 18 | Drive |`drive list-comments <file_id>`|PASS| 2026-02-05 |Works|
|
|
40
|
+
| 19 | Drive |`drive list-replies <file_id> <comment_id>`|PASS| 2026-02-05 |Lists comment replies|
|
|
41
|
+
| 20 | Drive |`drive create-folder "..."`|PASS| 2026-02-05 |Created test folder|
|
|
42
|
+
| 21 | Drive |`drive upload <path> --folder <id>`|PASS| 2026-02-05 |File uploaded|
|
|
43
|
+
| 22 | Drive |`drive copy <id> --name "..."`|PASS| 2026-02-05 |File copied|
|
|
44
|
+
| 23 | Drive |`drive move <id> <folder_id>`|PASS| 2026-02-05 |File moved|
|
|
45
|
+
| 24 | Drive |`drive update <id> <path>`|PASS| 2026-02-05 |Content updated|
|
|
46
|
+
| 25 | Drive |`drive add-comment <id> "..."`|PASS| 2026-02-05 |Comment added|
|
|
47
|
+
| 26 | Drive |`drive reply-to-comment <id> <cid> "..."`|PASS| 2026-02-05 |Reply created|
|
|
48
|
+
| 27 | Drive |`drive resolve-comment <id> <cid>`|FIXED| 2026-02-05 |Bug: was using `comments().update()`, fixed to `replies().create()` with `action: "resolve"`|
|
|
49
|
+
| 28 | Drive |`drive delete-comment <id> <cid>`|PASS| 2026-02-05 |Comment deleted|
|
|
50
|
+
| 29 | Drive |`drive delete <id>`|PASS| 2026-02-05 |File trashed|
|
|
51
|
+
| 30 | Drive |`drive restore <id>`|PASS| 2026-02-05 |File restored|
|
|
52
|
+
| 31 | Drive |`drive share`|SKIP| 2026-02-05 |Requires target email|
|
|
53
|
+
| 32 | Drive |`drive update-permission`|SKIP| 2026-02-05 |Requires target email|
|
|
54
|
+
| 33 | Drive |`drive delete-permission`|SKIP| 2026-02-05 |Requires target email|
|
|
55
|
+
| 34 | Drive |`drive transfer-ownership`|SKIP| 2026-02-05 |Risky on real account|
|
|
56
|
+
| 35 | Drive |`drive empty-trash`|SKIP| 2026-02-05 |Destructive|
|
|
57
|
+
| 36 | Docs |`docs read <id>`|PASS| 2026-02-05 |Returns content with security wrapper|
|
|
58
|
+
| 37 | Docs |`docs structure <id>`|PASS| 2026-02-05 |Lists headings|
|
|
59
|
+
| 38 | Docs |`docs list-tabs <id>`|PASS| 2026-02-05 |Shows tab info|
|
|
60
|
+
| 39 | Docs |`docs list-tables <id>`|PASS| 2026-02-05 |Shows table info|
|
|
61
|
+
| 40 | Docs |`docs list-named-ranges <id>`|PASS| 2026-02-05 |Lists ranges|
|
|
62
|
+
| 41 | Docs |`docs list-footnotes <id>`|PASS| 2026-02-05 |Lists footnotes|
|
|
63
|
+
| 42 | Docs |`docs list-headers-footers <id>`|PASS| 2026-02-05 |Lists headers/footers|
|
|
64
|
+
| 43 | Docs |`docs get-page-format <id>`|PASS| 2026-02-05 |Returns PAGES/PAGELESS|
|
|
65
|
+
| 44 | Docs |`docs suggestions <id>`|PASS| 2026-02-05 |Lists suggestions|
|
|
66
|
+
| 45 | Docs |`docs find-text <id> "test"`|PASS| 2026-02-05 |Finds position and count|
|
|
67
|
+
| 46 | Docs |`docs create "Title" --content "..."`|PASS| 2026-02-05 |Creates doc|
|
|
68
|
+
| 47 | Docs |`docs insert <id> "text" --index 1`|PASS| 2026-02-05 |Inserts at index|
|
|
69
|
+
| 48 | Docs |`docs append <id> "text"`|PASS| 2026-02-05 |Appends text|
|
|
70
|
+
| 49 | Docs |`docs insert-markdown <id> "**bold**" --index 1`|PASS| 2026-02-05 |Markdown converted|
|
|
71
|
+
| 50 | Docs |`docs replace <id> "old" "new"`|PASS| 2026-02-05 |Replace works (0 matches OK)|
|
|
72
|
+
| 51 | Docs |`docs format <id> 1 8 --bold`|PASS| 2026-02-05 |Bold formatting|
|
|
73
|
+
| 52 | Docs |`docs format-text-extended <id> 1 20 --size 14`|PASS| 2026-02-05 |Font size change|
|
|
74
|
+
| 53 | Docs |`docs format-paragraph <id> 1 25 --align CENTER`|PASS| 2026-02-05 |Center alignment|
|
|
75
|
+
| 54 | Docs |`docs paragraph-border <id> 1 18 --top`|FIXED| 2026-02-05 |Bug: missing required `padding` field in border style|
|
|
76
|
+
| 55 | Docs |`docs insert-link <id> 10 20 "url"`|PASS| 2026-02-05 |Hyperlink added|
|
|
77
|
+
| 56 | Docs |`docs insert-table <id> 3 3 --index 83`|PASS| 2026-02-05 |Table inserted|
|
|
78
|
+
| 57 | Docs |`docs insert-table-column <id> 0 2`|PASS| 2026-02-05 |Column added|
|
|
79
|
+
| 58 | Docs |`docs merge-cells <id> 0 0 0 1 1`|PASS| 2026-02-05 |Cells merged|
|
|
80
|
+
| 59 | Docs |`docs unmerge-cells <id> 0 0 0 1 1`|PASS| 2026-02-05 |Cells unmerged|
|
|
81
|
+
| 60 | Docs |`docs style-table-cell <id> 0 0 0 --bg-color "#f0f0f0"`|PASS| 2026-02-05 |Cell styled|
|
|
82
|
+
| 61 | Docs |`docs set-table-column-widths <id> 0 '{"0":100,...}'`|PASS| 2026-02-05 |Widths set|
|
|
83
|
+
| 62 | Docs |`docs pin-table-header <id> 0`|PASS| 2026-02-05 |Header pinned|
|
|
84
|
+
| 63 | Docs |`docs create-header <id>`|PASS| 2026-02-05 |Header created|
|
|
85
|
+
| 64 | Docs |`docs create-footer <id>`|PASS| 2026-02-05 |Footer created|
|
|
86
|
+
| 65 | Docs |`docs insert-segment-text <id> <hdr_id> "text"`|PASS| 2026-02-05 |Text in header|
|
|
87
|
+
| 66 | Docs |`docs delete-header <id> <hdr_id>`|PASS| 2026-02-05 |Header deleted|
|
|
88
|
+
| 67 | Docs |`docs create-named-range <id> "name" 10 30`|PASS| 2026-02-05 |Range created|
|
|
89
|
+
| 68 | Docs |`docs replace-named-range <id> "text" --name "range"`|PASS| 2026-02-05 |Replaces named range content|
|
|
90
|
+
| 69 | Docs |`docs create-bullets <id> 50 80`|PASS| 2026-02-05 |Bullet list|
|
|
91
|
+
| 70 | Docs |`docs create-numbered <id> 22 40`|PASS| 2026-02-05 |Numbered list|
|
|
92
|
+
| 71 | Docs |`docs remove-bullets <id> 22 40`|PASS| 2026-02-05 |Bullets removed|
|
|
93
|
+
| 72 | Docs |`docs insert-section-break <id> 20`|PASS| 2026-02-05 |Section break|
|
|
94
|
+
| 73 | Docs |`docs page-break <id> 30`|PASS| 2026-02-05 |Page break|
|
|
95
|
+
| 74 | Docs |`docs document-style <id> --margin-top 72`|PASS| 2026-02-05 |Margins updated|
|
|
96
|
+
| 75 | Docs |`docs set-page-format <id> PAGELESS`|PASS| 2026-02-05 |Pageless mode|
|
|
97
|
+
| 76 | Docs |`docs insert-footnote <id> 10`|PASS| 2026-02-05 |Footnote added|
|
|
98
|
+
| 77 | Docs |`docs create-tab <id> "TestTab"`|PASS| 2026-02-05 |Tab created|
|
|
99
|
+
| 78 | Docs |`docs rename-tab <id> <tab_id> "New"`|FIXED| 2026-02-05 |Bug: `tabId` placed outside `tabProperties`|
|
|
100
|
+
| 79 | Docs |`docs reorder-tab <id> <tab_id> 0`|FIXED| 2026-02-05 |Bug: same `tabId` placement issue|
|
|
101
|
+
| 80 | Docs |`docs delete-tab <id> <tab_id>`|PASS| 2026-02-05 |Tab deleted|
|
|
102
|
+
| 81 | Sheets |`sheets metadata <id>`|PASS| 2026-02-05 |Full metadata|
|
|
103
|
+
| 82 | Sheets |`sheets read <id> "Sheet1\!A1:C5"`|PASS| 2026-02-05 |Read range|
|
|
104
|
+
| 83 | Sheets |`sheets batch-get <id> "A1:B2,C1:D2"`|PASS| 2026-02-05 |Batch read|
|
|
105
|
+
| 84 | Sheets |`sheets create "Title" --sheets "S1,S2"`|PASS| 2026-02-05 |Creates spreadsheet|
|
|
106
|
+
| 85 | Sheets |`sheets write <id> "A1:C3" --values '[...]'`|PASS| 2026-02-05 |Write values|
|
|
107
|
+
| 86 | Sheets |`sheets append <id> "A:C" --values '[...]'`|PASS| 2026-02-05 |Append values|
|
|
108
|
+
| 87 | Sheets |`sheets clear <id> "A10:C10"`|PASS| 2026-02-05 |Clear range|
|
|
109
|
+
| 88 | Sheets |`sheets add-sheet <id> "NewSheet"`|PASS| 2026-02-05 |Add sheet|
|
|
110
|
+
| 89 | Sheets |`sheets rename-sheet <id> <sheet_id> "Renamed"`|PASS| 2026-02-05 |Rename sheet|
|
|
111
|
+
| 90 | Sheets |`sheets duplicate-sheet <id> <sheet_id>`|PASS| 2026-02-05 |Duplicate sheet|
|
|
112
|
+
| 91 | Sheets |`sheets delete-sheet <id> <sheet_id>`|PASS| 2026-02-05 |Delete sheet|
|
|
113
|
+
| 92 | Sheets |`sheets format <id> <sid> 0 3 0 3 --bold`|PASS| 2026-02-05 |Bold format|
|
|
114
|
+
| 93 | Sheets |`sheets format-extended <id> <sid> 0 3 0 3 --font-size 12`|PASS| 2026-02-05 |Extended format|
|
|
115
|
+
| 94 | Sheets |`sheets set-borders <id> <sid> 0 3 0 3 --style SOLID`|PASS| 2026-02-05 |Borders|
|
|
116
|
+
| 95 | Sheets |`sheets merge-cells <id> <sid> 5 6 0 2`|PASS| 2026-02-05 |Merge cells|
|
|
117
|
+
| 96 | Sheets |`sheets unmerge-cells <id> <sid> 5 6 0 2`|PASS| 2026-02-05 |Unmerge cells|
|
|
118
|
+
| 97 | Sheets |`sheets set-column-width <id> <sid> 0 150`|PASS| 2026-02-05 |Column width|
|
|
119
|
+
| 98 | Sheets |`sheets set-row-height <id> <sid> 0 30`|PASS| 2026-02-05 |Row height|
|
|
120
|
+
| 99 | Sheets |`sheets auto-resize-columns <id> <sid> 0 3`|PASS| 2026-02-05 |Auto resize|
|
|
121
|
+
| 100 | Sheets |`sheets freeze-rows <id> <sid> 1`|PASS| 2026-02-05 |Freeze rows|
|
|
122
|
+
| 101 | Sheets |`sheets freeze-columns <id> <sid> 1`|PASS| 2026-02-05 |Freeze columns|
|
|
123
|
+
| 102 | Sheets |`sheets insert-rows <id> <sid> 5 2`|PASS| 2026-02-05 |Insert rows|
|
|
124
|
+
| 103 | Sheets |`sheets insert-columns <id> <sid> 3 2`|PASS| 2026-02-05 |Insert columns|
|
|
125
|
+
| 104 | Sheets |`sheets delete-rows <id> <sid> 5 2`|PASS| 2026-02-05 |Delete rows|
|
|
126
|
+
| 105 | Sheets |`sheets delete-columns <id> <sid> 3 2`|PASS| 2026-02-05 |Delete columns|
|
|
127
|
+
| 106 | Sheets |`sheets sort <id> <sid> 0 10 0 --ascending`|PASS| 2026-02-05 |Sort range|
|
|
128
|
+
| 107 | Sheets |`sheets find-replace <id> "old" "new"`|PASS| 2026-02-05 |Find/replace|
|
|
129
|
+
| 108 | Sheets |`sheets move-rows <id> <sid> 1 3 4`|PASS| 2026-02-05 |Move rows|
|
|
130
|
+
| 109 | Sheets |`sheets move-columns <id> <sid> 0 1 3`|PASS| 2026-02-05 |Move columns|
|
|
131
|
+
| 110 | Sheets |`sheets copy-paste <id> <sid> 0 2 0 2 5 0`|PASS| 2026-02-05 |Copy/paste|
|
|
132
|
+
| 111 | Sheets |`sheets auto-fill <id> <sid> 0 1 0 1 0 5 0 1`|PASS| 2026-02-05 |Auto-fill|
|
|
133
|
+
| 112 | Sheets |`sheets trim-whitespace <id> <sid> 0 10 0 3`|PASS| 2026-02-05 |Trim whitespace|
|
|
134
|
+
| 113 | Sheets |`sheets set-validation <id> <sid> 0 5 0 1 --type NUMBER_GREATER`|PASS| 2026-02-05 |Data validation|
|
|
135
|
+
| 114 | Sheets |`sheets clear-validation <id> <sid> 0 5 0 1`|PASS| 2026-02-05 |Clear validation|
|
|
136
|
+
| 115 | Sheets |`sheets add-conditional-format <id> <sid> 0 10 0 3 --type NUMBER_GREATER`|PASS| 2026-02-05 |Conditional format|
|
|
137
|
+
| 116 | Sheets |`sheets clear-conditional-formats <id> <sid>`|PASS| 2026-02-05 |Clear conditional formats|
|
|
138
|
+
| 117 | Sheets |`sheets add-chart <id> <sid> "A1:B5" --type COLUMN`|PASS| 2026-02-05 |Add chart|
|
|
139
|
+
| 118 | Sheets |`sheets delete-chart <id> <chart_id>`|PASS| 2026-02-05 |Delete chart|
|
|
140
|
+
| 119 | Sheets |`sheets add-banding <id> <sid> 0 10 0 3`|PASS| 2026-02-05 |Add banding|
|
|
141
|
+
| 120 | Sheets |`sheets delete-banding <id> <banding_id>`|PASS| 2026-02-05 |Delete banding|
|
|
142
|
+
| 121 | Sheets |`sheets set-basic-filter <id> <sid> 0 10 0 3`|PASS| 2026-02-05 |Set filter|
|
|
143
|
+
| 122 | Sheets |`sheets clear-basic-filter <id> <sid>`|PASS| 2026-02-05 |Clear filter|
|
|
144
|
+
| 123 | Sheets |`sheets create-filter-view <id> <sid> "MyView" 0 10 0 3`|PASS| 2026-02-05 |Create filter view|
|
|
145
|
+
| 124 | Sheets |`sheets delete-filter-view <id> <view_id>`|PASS| 2026-02-05 |Delete filter view|
|
|
146
|
+
| 125 | Sheets |`sheets protect-range <id> <sid> 0 5 0 3 "Protected"`|PASS| 2026-02-05 |Protect range|
|
|
147
|
+
| 126 | Sheets |`sheets unprotect-range <id> <protected_id>`|PASS| 2026-02-05 |Unprotect range|
|
|
148
|
+
| 127 | Sheets |`sheets create-named-range <id> <sid> "myrange" 0 5 0 3`|PASS| 2026-02-05 |Named range|
|
|
149
|
+
| 128 | Sheets |`sheets delete-named-range <id> <range_id>`|PASS| 2026-02-05 |Delete named range|
|
|
150
|
+
| 129 | Sheets |`sheets list-named-ranges <id>`|PASS| 2026-02-05 |List named ranges|
|
|
151
|
+
| 130 | Sheets |`sheets list-protected-ranges <id>`|PASS| 2026-02-05 |List protected ranges|
|
|
152
|
+
| 131 | Slides |`slides metadata <id>`|PASS| 2026-02-05 |Full metadata|
|
|
153
|
+
| 132 | Slides |`slides read <id>`|PASS| 2026-02-05 |Full content|
|
|
154
|
+
| 133 | Slides |`slides create "Title"`|PASS| 2026-02-05 |Creates presentation|
|
|
155
|
+
| 134 | Slides |`slides add-slide <id> --layout TITLE_AND_BODY`|PASS| 2026-02-05 |Add slide|
|
|
156
|
+
| 135 | Slides |`slides duplicate-slide <id> <slide_id>`|PASS| 2026-02-05 |Duplicate slide|
|
|
157
|
+
| 136 | Slides |`slides reorder-slides <id> <slide_id> 0`|PASS| 2026-02-05 |Reorder slide|
|
|
158
|
+
| 137 | Slides |`slides delete-slide <id> <slide_id>`|PASS| 2026-02-05 |Delete slide|
|
|
159
|
+
| 138 | Slides |`slides create-textbox <id> <slide_id> "Content"`|PASS| 2026-02-05 |Textbox created|
|
|
160
|
+
| 139 | Slides |`slides insert-text <id> <elem_id> "Text" --index 0`|PASS| 2026-02-05 |Insert text|
|
|
161
|
+
| 140 | Slides |`slides replace-text <id> "old" "new"`|PASS| 2026-02-05 |Replace text|
|
|
162
|
+
| 141 | Slides |`slides format-text <id> <elem_id> 0 10 --bold`|PASS| 2026-02-05 |Format text|
|
|
163
|
+
| 142 | Slides |`slides format-text-extended <id> <elem_id> 0 10 --font-size 24`|PASS| 2026-02-05 |Extended format|
|
|
164
|
+
| 143 | Slides |`slides format-paragraph <id> <elem_id> 0 --alignment CENTER`|PASS| 2026-02-05 |Paragraph format|
|
|
165
|
+
| 144 | Slides |`slides delete-element <id> <elem_id>`|PASS| 2026-02-05 |Delete element|
|
|
166
|
+
| 145 | Slides |`slides insert-image <id> <slide_id> <url>`|PASS| 2026-02-05 |Image inserted|
|
|
167
|
+
| 146 | Slides |`slides create-shape <id> <slide_id> RECTANGLE`|PASS| 2026-02-05 |Shape created|
|
|
168
|
+
| 147 | Slides |`slides format-shape <id> <elem_id> --fill-color "#ff0000"`|PASS| 2026-02-05 |Shape formatted|
|
|
169
|
+
| 148 | Slides |`slides transform-element <id> <elem_id> --scale-x 1.5`|FIXED| 2026-02-05 |Bug: non-invertible matrix when only scaleX set; defaulted scaleY to 1.0|
|
|
170
|
+
| 149 | Slides |`slides set-alt-text <id> <elem_id> "Alt text"`|PASS| 2026-02-05 |Alt text set|
|
|
171
|
+
| 150 | Slides |`slides create-line <id> <slide_id>`|PASS| 2026-02-05 |Line created|
|
|
172
|
+
| 151 | Slides |`slides set-background <id> <slide_id> --color "#ffffff"`|PASS| 2026-02-05 |Background set|
|
|
173
|
+
| 152 | Slides |`slides create-bullets <id> <elem_id> 0 50`|PASS| 2026-02-05 |Bullets created|
|
|
174
|
+
| 153 | Slides |`slides remove-bullets <id> <elem_id> 0 50`|PASS| 2026-02-05 |Bullets removed|
|
|
175
|
+
| 154 | Slides |`slides insert-table <id> <slide_id> 3 3`|PASS| 2026-02-05 |Table inserted|
|
|
176
|
+
| 155 | Slides |`slides insert-table-row <id> <table_id> 1`|PASS| 2026-02-05 |Row added|
|
|
177
|
+
| 156 | Slides |`slides insert-table-column <id> <table_id> 1`|PASS| 2026-02-05 |Column added|
|
|
178
|
+
| 157 | Slides |`slides delete-table-row <id> <table_id> 1`|PASS| 2026-02-05 |Row deleted|
|
|
179
|
+
| 158 | Slides |`slides delete-table-column <id> <table_id> 1`|PASS| 2026-02-05 |Column deleted|
|
|
180
|
+
| 159 | Slides |`slides insert-table-text <id> <table_id> 0 0 "Cell"`|PASS| 2026-02-05 |Cell text added|
|
|
181
|
+
| 160 | Slides |`slides style-table-cell <id> <table_id> 0 0 --bg-color "#f0f0f0"`|PASS| 2026-02-05 |Cell styled|
|
|
182
|
+
| 161 | Slides |`slides merge-table-cells <id> <table_id> 0 0 2 2`|PASS| 2026-02-05 |Cells merged|
|
|
183
|
+
| 162 | Slides |`slides unmerge-table-cells <id> <table_id> 0 0`|PASS| 2026-02-05 |Cells unmerged|
|
|
184
|
+
| 163 | Slides |`slides get-speaker-notes <id> <slide_id>`|PASS| 2026-02-05 |Returns notes|
|
|
185
|
+
| 164 | Slides |`slides set-speaker-notes <id> <slide_id> "Notes"`|FIXED| 2026-02-05 |Bug: `deleteText` fails on empty notes; added existence check|
|
|
186
|
+
| 165 | Slides |`slides group-objects <id> <elem1> <elem2>`|PASS| 2026-02-05 |Objects grouped|
|
|
187
|
+
| 166 | Slides |`slides ungroup-objects <id> <group_id>`|PASS| 2026-02-05 |Objects ungrouped|
|
|
188
|
+
| 167 | Gmail |`gmail list --max 5`|PASS| 2026-02-05 |Lists messages|
|
|
189
|
+
| 168 | Gmail |`gmail read <message_id>`|FIXED| 2026-02-05 |Bug: case-sensitive header lookup failed on API-sent messages|
|
|
190
|
+
| 169 | Gmail |`gmail search "subject:GWS-Test"`|PASS| 2026-02-05 |Search works|
|
|
191
|
+
| 170 | Gmail |`gmail get-label INBOX`|PASS| 2026-02-05 |Returns label details with counts|
|
|
192
|
+
| 171 | Gmail |`gmail history <history_id> --max 5`|PASS| 2026-02-05 |Returns history|
|
|
193
|
+
| 172 | Gmail |`gmail send <to> "Subject" "Body"`|PASS| 2026-02-05 |Email sent|
|
|
194
|
+
| 173 | Gmail |`gmail reply <message_id> "Reply body"`|FIXED| 2026-02-05 |Bug: case-insensitive headers + format="full" needed|
|
|
195
|
+
| 174 | Gmail |`gmail mark-read <message_id>`|PASS| 2026-02-05 |Marked read|
|
|
196
|
+
| 175 | Gmail |`gmail mark-unread <message_id>`|PASS| 2026-02-05 |Marked unread|
|
|
197
|
+
| 176 | Gmail |`gmail add-star <message_id>`|PASS| 2026-02-05 |Starred|
|
|
198
|
+
| 177 | Gmail |`gmail remove-star <message_id>`|PASS| 2026-02-05 |Unstarred|
|
|
199
|
+
| 178 | Gmail |`gmail create-label "GWS-Test-Label"`|PASS| 2026-02-05 |Label created|
|
|
200
|
+
| 179 | Gmail |`gmail batch-modify <ids> --add-labels STARRED`|PASS| 2026-02-05 |Batch modify|
|
|
201
|
+
| 180 | Gmail |`gmail delete <message_id>`|PASS| 2026-02-05 |Trashed|
|
|
202
|
+
| 181 | Gmail |`gmail untrash <message_id>`|PASS| 2026-02-05 |Untrashed|
|
|
203
|
+
| 182 | Gmail |`gmail delete-label <label_id>`|PASS| 2026-02-05 |Label deleted|
|
|
204
|
+
| 183 | Calendar |`calendar calendars`|PASS| 2026-02-06 |Lists all calendars|
|
|
205
|
+
| 184 | Calendar |`calendar create-calendar "GWS-Test-Calendar"`|PASS| 2026-02-06 |Created secondary calendar|
|
|
206
|
+
| 185 | Calendar |`calendar create "Meeting" <start> <end> -c <cal>`|PASS| 2026-02-06 |Event created|
|
|
207
|
+
| 186 | Calendar |`calendar list -c <cal>`|PASS| 2026-02-06 |Lists events|
|
|
208
|
+
| 187 | Calendar |`calendar get <event_id> -c <cal>`|PASS| 2026-02-06 |Gets event|
|
|
209
|
+
| 188 | Calendar |`calendar colors`|PASS| 2026-02-06 |Returns color definitions|
|
|
210
|
+
| 189 | Calendar |`calendar update <event_id> --summary "New" -c <cal>`|PASS| 2026-02-06 |Event updated|
|
|
211
|
+
| 190 | Calendar |`calendar quick-add "Lunch tomorrow at noon" -c <cal>`|PASS| 2026-02-06 |NLP event created|
|
|
212
|
+
| 191 | Calendar |`calendar freebusy <start> <end> -c <cal>`|PASS| 2026-02-06 |Free/busy info|
|
|
213
|
+
| 192 | Calendar |`calendar create-recurring "Weekly" <start> <end> <rrule> -c <cal>`|PASS| 2026-02-06 |Recurring event created|
|
|
214
|
+
| 193 | Calendar |`calendar instances <event_id> -c <cal>`|PASS| 2026-02-06 |Lists 3 instances|
|
|
215
|
+
| 194 | Calendar |`calendar rsvp <event_id> accepted -c <cal>`|PASS| 2026-02-06 |RSVP accepted|
|
|
216
|
+
| 195 | Calendar |`calendar attendees <event_id> -c <cal>`|PASS| 2026-02-06 |Lists attendees|
|
|
217
|
+
| 196 | Calendar |`calendar move-event <event_id> primary -f <cal>`|PASS| 2026-02-06 |Event moved|
|
|
218
|
+
| 197 | Calendar |`calendar list-acl -c <cal>`|PASS| 2026-02-06 |Lists ACL rules|
|
|
219
|
+
| 198 | Calendar |`calendar add-acl user <email> reader -c <cal>`|PASS| 2026-02-06 |ACL rule added|
|
|
220
|
+
| 199 | Calendar |`calendar update-acl <rule_id> writer -c <cal>`|PASS| 2026-02-06 |ACL role updated|
|
|
221
|
+
| 200 | Calendar |`calendar remove-acl <rule_id> -c <cal>`|PASS| 2026-02-06 |ACL rule removed|
|
|
222
|
+
| 201 | Calendar |`calendar subscribe <cal>`|PASS| 2026-02-06 |Calendar subscribed|
|
|
223
|
+
| 202 | Calendar |`calendar unsubscribe <cal>`|EXPECTED| 2026-02-06 |Cannot unsubscribe from owned calendar|
|
|
224
|
+
| 203 | Calendar |`calendar delete <event_id>`|PASS| 2026-02-06 |Event deleted|
|
|
225
|
+
| 204 | Calendar |`calendar delete <recurring_id> -c <cal>`|PASS| 2026-02-06 |Recurring event deleted|
|
|
226
|
+
| 205 | Calendar |`calendar clear-calendar <cal>`|SKIP| 2026-02-06 |Only works on primary; hangs/risky|
|
|
227
|
+
| 206 | Calendar |`calendar delete-calendar <cal>`|PASS| 2026-02-06 |Calendar deleted|
|
|
228
|
+
| 207 | Contacts |`contacts create "Name" -f "Last" -e "x@y.com"`|PASS| 2026-02-06 |Contact created|
|
|
229
|
+
| 208 | Contacts |`contacts list --max 5`|PASS| 2026-02-06 |Lists contacts|
|
|
230
|
+
| 209 | Contacts |`contacts get <resource_name>`|PASS| 2026-02-06 |Gets contact|
|
|
231
|
+
| 210 | Contacts |`contacts batch-get <res1>,<res2>`|PASS| 2026-02-06 |Batch retrieves contacts|
|
|
232
|
+
| 211 | Contacts |`contacts search-directory "testuser"`|PASS| 2026-02-06 |Searches Workspace directory|
|
|
233
|
+
| 212 | Contacts |`contacts list-directory --max 5`|PASS| 2026-02-06 |Lists directory with pagination|
|
|
234
|
+
| 213 | Contacts |`contacts update <resource_name> -e "new@x.com"`|PASS| 2026-02-06 |Contact updated|
|
|
235
|
+
| 214 | Contacts |`contacts delete <resource_name>`|PASS| 2026-02-06 |Contact deleted|
|
|
236
|
+
| 215 | Convert |`convert md-to-doc /tmp/test.md -t "Title"`|PASS| 2026-02-06 |Markdown to Google Doc|
|
|
237
|
+
| 216 | Convert |`convert md-to-pdf /tmp/test.md /tmp/out.pdf`|PASS| 2026-02-06 |Markdown to PDF (35KB)|
|
|
238
|
+
| 217 | Convert |`convert md-to-slides /tmp/test.md -t "Title"`|PASS| 2026-02-06 |Markdown to Slides|
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## All Bugs Found & Fixed
|
|
243
|
+
|
|
244
|
+
| # | Service | Operation | Issue | Fix |
|
|
245
|
+
|---|---------|-----------|-------|-----|
|
|
246
|
+
| 1 | Drive | list-revisions | `supportsAllDrives` not valid for revisions API | Removed parameter |
|
|
247
|
+
| 2 | Drive | get-revision | `supportsAllDrives` not valid for revisions API | Removed parameter |
|
|
248
|
+
| 3 | Drive | resolve-comment | Wrong API method (`comments().update()`) | Changed to `replies().create()` with `action: "resolve"` |
|
|
249
|
+
| 4 | Drive | comments/replies | `supportsAllDrives` invalid for these endpoints | Removed parameter |
|
|
250
|
+
| 5 | Gmail | read | Case-sensitive header lookup fails on API-sent messages | Case-insensitive `{k.lower(): v}` lookup |
|
|
251
|
+
| 6 | Gmail | reply | Same case-sensitive header bug + `format="metadata"` insufficient | Case-insensitive headers + `format="full"` |
|
|
252
|
+
| 7 | Calendar | list events | `colorId` missing from event output | Added `colorId` to output |
|
|
253
|
+
| 8 | Docs | rename-tab | `tabId` placed outside `tabProperties` dict | Moved `tabId` inside `tabProperties` |
|
|
254
|
+
| 9 | Docs | reorder-tab | Same `tabId` placement bug | Moved `tabId` inside `tabProperties` |
|
|
255
|
+
| 10 | Docs | paragraph-border | Missing required `padding` field in border style | Added `padding: {magnitude: 6.0, unit: "PT"}` |
|
|
256
|
+
| 11 | Slides | set-speaker-notes | `deleteText` fails when notes are empty | Check text existence before deleting |
|
|
257
|
+
| 12 | Slides | transform-element | Non-invertible matrix when only `scaleX` set | Default unset `scaleX`/`scaleY` to 1.0 |
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## Test Environment
|
|
262
|
+
|
|
263
|
+
- Platform: Linux 6.8.0-90-generic
|
|
264
|
+
- Python: 3.12 (via uv)
|
|
265
|
+
- GWS Version: 1.0.0
|
|
266
|
+
- Auth: OAuth (multi-account mode)
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
## Changelog
|
|
271
|
+
|
|
272
|
+
| Date | Description |
|
|
273
|
+
|------|-------------|
|
|
274
|
+
| 2026-02-05 | Initial test run: Infra, Drive, Docs, Sheets, Slides, Gmail. Fixed 10 bugs. |
|
|
275
|
+
| 2026-02-06 | Completed: Calendar, Contacts, Convert. Fixed 2 bugs (Slides). All 217 tests done. |
|