Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .changeset/add-dry-run-to-event-helpers.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-mask-secret-utf8-panic.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-setup-help-flag.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/fix-skill-frontmatter-flow-sequences.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-token-dir-error-propagation.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/refactor-auth-clap.md

This file was deleted.

32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# @googleworkspace/cli

## 0.19.0

### Minor Changes

- a078945: Refactor all `gws auth` subcommands to use clap for argument parsing

Replace manual argument parsing in `handle_auth_command`, `handle_login`, `resolve_scopes`, and `handle_export` with structured `clap::Command` definitions. Introduces `ScopeMode` enum for type-safe scope selection and adds proper `--help` support for all auth subcommands.

### Patch Changes

- 8a749c2: feat(helpers): add --dry-run support to events helper commands

Add dry-run mode to `gws events +renew` and `gws events +subscribe` commands.
When --dry-run is specified, the commands will print what actions would be
taken without making any API calls. This allows agents to simulate requests
and learn without reaching the server.

- d679401: Fix `mask_secret` panic on multi-byte UTF-8 secrets by using char-based indexing instead of byte-offset slicing
- d341de2: Handle --help/-h in `gws auth setup` before launching the setup wizard, preventing accidental project creation when users just want usage info
- f157208: fix: use block-style YAML sequences in generated SKILL.md frontmatter

Replace flow sequences (`bins: ["gws"]`, `skills: [...]`) with block-style
sequences (`bins:\n - gws`) in all generated SKILL.md frontmatter templates.

Flow sequences are valid YAML but rejected by `strictyaml`, which the
Agent Skills reference implementation (`agentskills validate`) uses to parse
frontmatter. This caused all 93 generated skills to fail validation.

Fixes #521

- b4d5e26: Fix auth error propagation: properly propagate errors when token directory creation or permission setting fails, instead of silently ignoring them

## 0.18.1

### Patch Changes
Expand Down
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

[package]
name = "gws"
version = "0.18.1"
version = "0.19.0"
edition = "2021"
description = "Google Workspace CLI — dynamic command surface from Discovery Service"
license = "Apache-2.0"
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@googleworkspace/cli",
"version": "0.18.1",
"version": "0.19.0",
"private": true,
"description": "Google Workspace CLI — dynamic command surface from Discovery Service",
"license": "Apache-2.0",
Expand Down
3 changes: 2 additions & 1 deletion skills/gws-admin-reports/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws admin-reports --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-calendar-agenda/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws calendar +agenda --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-calendar-insert/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws calendar +insert --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-calendar/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws calendar --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-chat-send/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws chat +send --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-chat/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws chat --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-classroom/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws classroom --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-docs-write/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws docs +write --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-docs/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws docs --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-drive-upload/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws drive +upload --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-drive/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws drive --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-events-renew/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws events +renew --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-events-subscribe/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws events +subscribe --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-events/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws events --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-forms/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws forms --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-gmail-forward/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws gmail +forward --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-gmail-read/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws gmail +read --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-gmail-reply-all/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws gmail +reply-all --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-gmail-reply/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws gmail +reply --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-gmail-send/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws gmail +send --help"
---

Expand Down
3 changes: 2 additions & 1 deletion skills/gws-gmail-triage/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
openclaw:
category: "productivity"
requires:
bins: ["gws"]
bins:
- gws
cliHelp: "gws gmail +triage --help"
---

Expand Down
Loading
Loading