clawdi 0.9.0 → 0.10.1
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.
- package/README.md +49 -4
- package/dist/index.js +418 -251
- package/dist/skills/clawdi/SKILL.md +13 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -76,6 +76,7 @@ Clawdi is the shared layer underneath:
|
|
|
76
76
|
- **Project sharing** — Share read-only Project access from the dashboard or CLI, accept it from a share page or CLI inbox, and explicitly attach accepted Projects to Agents when they should be used at runtime.
|
|
77
77
|
- **Session sync** — Push local session history to the dashboard for review and recall.
|
|
78
78
|
- **Vault secrets** — Store secrets server-side, commit only `clawdi://` references, and resolve them at runtime.
|
|
79
|
+
- **AI Providers** — Define model providers once, keep keys in env/Vault/auth profiles, and apply verified Codex, Hermes, or OpenClaw agent config without proxying BYOK model traffic.
|
|
79
80
|
- **App connections** — Hook agents into Notion, Gmail, Drive, Calendar, Linear, GitHub, and more from the dashboard. Tools show up inside every connected agent automatically over MCP.
|
|
80
81
|
- **MCP tools** — Memory, vault, and connector tools served through the Model Context Protocol so any MCP-aware agent can use them.
|
|
81
82
|
|
|
@@ -107,19 +108,62 @@ Agents should prefer `clawdi run --env-file .env.clawdi -- <command>` when they
|
|
|
107
108
|
|
|
108
109
|
Use `--dry-run` on `clawdi read`, `clawdi inject`, `clawdi run`, and `clawdi vault resolve` to verify provenance without requesting plaintext values. `clawdi doctor` checks vault metadata only; it does not resolve stored secrets.
|
|
109
110
|
|
|
110
|
-
Sync a local
|
|
111
|
+
Sync a local CLI credential profile to another machine. For Codex model-provider
|
|
112
|
+
auth, prefer the AI Provider commands in the next section; the lower-level
|
|
113
|
+
`agent credentials` commands remain available for compatibility and for
|
|
114
|
+
non-provider CLI credentials such as Claude Code and GitHub CLI.
|
|
111
115
|
|
|
112
116
|
```bash
|
|
113
|
-
clawdi agent credentials import codex
|
|
114
117
|
clawdi agent credentials import claude-code
|
|
115
118
|
clawdi agent credentials import gh
|
|
116
|
-
clawdi agent credentials materialize codex
|
|
117
119
|
clawdi agent credentials materialize claude-code
|
|
118
120
|
clawdi agent credentials materialize gh
|
|
119
121
|
```
|
|
120
122
|
|
|
121
123
|
Credential profile sync is separate from `clawdi run`: it stores and restores a supported tool's local auth file, while `run` injects explicit `clawdi://` references into one child process. Profiles default to your stable Personal Project so `import` on one machine and `materialize` on another resolve the same namespace. They are personal backup/restore artifacts: shared Project viewers and env-bound Agent keys cannot materialize them. macOS Keychain imports are guarded behind `--source keychain` and require explicit `--keychain-service` plus `--keychain-account`; Clawdi does not guess or silently scrape credential-store items, and Keychain reads cannot use `--yes`.
|
|
122
124
|
|
|
125
|
+
Manage model providers without turning Clawdi into a model proxy:
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
clawdi ai-provider add openai-main \
|
|
129
|
+
--type openai \
|
|
130
|
+
--default-model gpt-5.2 \
|
|
131
|
+
--auth env:OPENAI_API_KEY \
|
|
132
|
+
--capability chat \
|
|
133
|
+
--capability responses \
|
|
134
|
+
--capability tools
|
|
135
|
+
|
|
136
|
+
clawdi ai-provider validate openai-main
|
|
137
|
+
clawdi ai-provider test openai-main # config + auth availability
|
|
138
|
+
clawdi ai-provider test openai-main --live # optional direct provider probe
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
AI Provider metadata lives in `~/.clawdi/ai-providers/catalog.json`; API keys do not. Use `env:...` refs, `clawdi://...` Vault refs, `none` for local unauthenticated endpoints, or a verified auth profile such as `agent:codex/default`. BYOK model requests still go directly from the agent runtime to OpenAI, Anthropic, OpenRouter, Gemini, Mistral, or your compatible endpoint.
|
|
142
|
+
|
|
143
|
+
Apply provider config explicitly, with a dry run first:
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
clawdi ai-provider apply --engine codex --dry-run
|
|
147
|
+
clawdi ai-provider apply --engine codex
|
|
148
|
+
codex --profile clawdi-ai-provider
|
|
149
|
+
|
|
150
|
+
clawdi ai-provider apply --engine hermes --dry-run
|
|
151
|
+
clawdi ai-provider apply --engine openclaw --dry-run
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Codex OAuth is managed through the AI Provider surface:
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
clawdi ai-provider add openai-codex \
|
|
158
|
+
--type openai \
|
|
159
|
+
--default-model gpt-5-codex \
|
|
160
|
+
--auth agent:codex/default
|
|
161
|
+
clawdi ai-provider connect openai-codex --tool codex
|
|
162
|
+
clawdi ai-provider materialize-auth openai-codex
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Use `clawdi ai-provider connect ... --callback manual` in headless environments. Export/import is metadata-only by default; `--include-secrets` requires passphrase-encrypted secret export.
|
|
166
|
+
|
|
123
167
|
Current vault storage is server-managed encryption. Clawdi avoids plaintext secrets in repo files and local templates, but the backend can decrypt stored vault values and credential profiles today. Do not treat this release as zero-knowledge.
|
|
124
168
|
|
|
125
169
|
Install a shared skill into every registered agent at once:
|
|
@@ -258,7 +302,8 @@ Each agent has a dedicated adapter in [`packages/cli/src/adapters`](https://gith
|
|
|
258
302
|
| `clawdi project create/list/show/share/share-links/invite/invites/members/leave/unshare` | Manage Projects and read-only sharing |
|
|
259
303
|
| `clawdi inbox [accept/decline/forget]` | Accept invitations and share links |
|
|
260
304
|
| `clawdi agent projects list/attach/detach/move` | View the fixed Agent Project and manage attached Projects |
|
|
261
|
-
| `clawdi agent credentials import/materialize` |
|
|
305
|
+
| `clawdi agent credentials import/materialize` | Compatibility backup/restore for local CLI credential profiles; use `ai-provider import-auth/connect/materialize-auth` for Codex provider auth |
|
|
306
|
+
| `clawdi ai-provider list/add/edit/remove/validate/test/connect/import-auth/materialize-auth/apply/status/export/import` | Manage reusable AI Providers, provider auth, and verified agent config application |
|
|
262
307
|
| `clawdi project folder link/status/unlink` | Link a local folder to a Project for vault reference selection |
|
|
263
308
|
| `clawdi vault set/list/import/attach/detach/rm` | Manage encrypted secrets, Project access, and copy exact references |
|
|
264
309
|
| `clawdi read <clawdi://...>` | Explicitly print one vault reference value |
|