clawdi 0.14.72 → 0.14.74

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.
@@ -1,213 +0,0 @@
1
- ---
2
- name: clawdi
3
- description: "Use Clawdi Cloud for missing user memory, past sessions, Project or Vault context, Clawdi share URLs, and connected-service fallback such as Gmail, GitHub, Notion, Drive, or Calendar. Prefer an authenticated official service CLI; otherwise choose a trusted direct MCP, safely installable official CLI, official API or SDK, or the Clawdi connector as fallback. Do not invoke solely because a project, person, repo, or tool is named."
4
- ---
5
-
6
- # Clawdi Cloud
7
-
8
- Use Clawdi Cloud tools through the `clawdi` MCP server. Treat the live tool schemas as authoritative.
9
-
10
- ## Hosted Boundary
11
-
12
- Third-party tool routing below applies unchanged in Hosted. Do not inspect, run, or suggest
13
- Clawdi host-management commands such as `clawdi setup`, `clawdi wallet`, `clawdi vault`, or
14
- `clawdi ai-provider`.
15
-
16
- ## Context Routing
17
-
18
- Use the current conversation and user-provided artifacts first. For project facts, inspect
19
- the workspace, repository documentation, and local history. Use `memory_search` only for
20
- missing user-specific preferences, decisions, or prior context. Use `session_list`,
21
- `session_search`, and `session_get` only when the user asks for past conversations or
22
- transcript-level detail is necessary. Do not call Memory and Session speculatively or in parallel.
23
- A named entity alone does not justify a Cloud lookup, and an empty Memory result does not justify
24
- a Session search.
25
-
26
- ## Memory
27
-
28
- Memory is shared across the user's Hosted agents, not isolated to the current agent.
29
-
30
- - `memory_search` — Search durable memory by natural-language query.
31
- - `memory_list` — Review stored memories and their stable IDs.
32
- - `memory_create` — Save a durable fact, preference, pattern, decision, or project context.
33
- - `memory_update` — Replace one exact memory's content without changing its metadata.
34
- - `memory_delete` — Delete one exact memory by ID.
35
- - `memory_extract` — Prepare memories from the current conversation. Follow its returned
36
- review-and-confirm instructions and wait for user approval before calling `memory_create`.
37
-
38
- Use `memory_create` for explicit "remember this" requests or durable user-specific preferences
39
- and decisions not discoverable from the repository. Ask when persistence is unclear. Do not
40
- save routine task completion, code facts, speculation, or plaintext secrets; use Vault and
41
- remember only the exact `clawdi://` reference. List before updating or deleting unless the user
42
- already supplied the exact memory ID; never infer which stored item to mutate.
43
-
44
- ## Sessions
45
-
46
- - Use `session_list` to browse recent sessions or filter by time, Agent, or Project.
47
- - Use `session_search` to find past agent conversations by keyword and obtain session UUIDs.
48
- - Use `session_get` to read a session by UUID or Clawdi share URL.
49
-
50
- Call `session_get` when the user provides a Clawdi share URL or session UUID and wants its
51
- contents. Use `session_search` to locate a requested unnamed conversation. Do not use a
52
- generic web fetcher for Clawdi share URLs.
53
-
54
- ## Projects
55
-
56
- - `project_current_get` — Read the runtime-bound Project.
57
- - `project_list` — List Projects visible to the caller.
58
- - `project_get` — Read one visible Project by UUID.
59
-
60
- Strict-v2 Hosted runtimes can read their own Workspace and explicitly linked Projects
61
- that remain readable by the owner. `project_current_get` returns that Workspace;
62
- writes, new Vaults, and credential requests are limited to that Workspace. Legacy
63
- Agent-bound keys retain their narrower bound-Project read scope. Treat not-found as
64
- an access boundary as well as a possible unknown UUID; never bypass it with another tool.
65
-
66
- ## Vault
67
-
68
- - `vault_list` — List attached Vaults and key counts for visible Projects.
69
- - `vault_get` — List key names, provenance, and exact references for an attached Vault.
70
-
71
- Honor the user-selected Vault or existing local binding first; never silently switch
72
- sources. Otherwise inspect `vault_list` / `vault_get` metadata and reuse a Vault matching
73
- the task's purpose and intended access. Create in the current Workspace only when none
74
- is appropriate and creation is within the authorized task. Ask for the exact target only
75
- when ambiguity affects purpose or access. Linked Vaults can be synced read-only; do not
76
- request or modify fields outside the write boundary, or create duplicates to bypass access.
77
-
78
- Use `vault_sync` to save credentials locally for task use. The metadata tools return
79
- key names and exact references, never secret values. Preserve those references when
80
- passing them to an authorized runtime:
81
-
82
- - `clawdi://project/<project-id>/vault/<vault>/field/<field>`
83
- - `clawdi://project/<project-id>/vault/<vault>/section/<section>/field/<field>`
84
-
85
- Vault write tools are available for explicit user requests:
86
-
87
- - `vault_create` — Create a Vault attached to the runtime-bound Project.
88
- - `vault_item_upsert` — Create or replace exact fields in an attached Vault.
89
- - `vault_item_delete` — Delete exact fields from a single-Project Vault.
90
-
91
- Follow the live schema and supply every required Project, Vault, section, and field identity;
92
- never infer an overwrite or deletion. Treat field values as sensitive inputs and never echo
93
- them, save them to Memory, or include them in logs. Hosted writes are restricted to the
94
- runtime-bound Project, and field deletion is rejected when a Vault is attached to multiple
95
- Projects. Whole-Vault deletion, attach/detach, and credential profiles remain
96
- unavailable through Agent MCP; do not bypass that boundary through raw HTTP.
97
-
98
- ### Request missing credentials
99
-
100
- Use `vault_request_create` with exact `project_id`, `vault_id`, canonical `slug`, optional
101
- `section`, and a batch of environment field names in `fields`. A Vault is a key bundle:
102
- request related keys together under one link. Supplied or already-pending fields are rejected.
103
- Show the returned `url` unchanged to the user; do not ask them to paste secrets into chat.
104
- Opening the link does not consume it. Saving all requested fields consumes it once.
105
-
106
- Check `vault_request_status` with its `request_id` after the user finishes. `pending` is not
107
- a secret value; `supplied` means the exact references are ready. On `expired` or `conflict`,
108
- inspect the Vault and request only still-missing fields; never replace an existing value to
109
- retry. If creation times out, use `vault_get` to find recent request IDs before retrying.
110
- If submission times out, inspect status before repeating a mutation.
111
-
112
- ### Save and refresh credentials locally
113
-
114
- After a request is `supplied`, use `vault_sync` to save credentials locally by default.
115
- Every call requires `path`: choose a supported env filename in this Agent's authenticated
116
- workspace based on project conventions and Vault purpose, such as `.env.stripe` or
117
- `stripe.env`, without routine user reconfirmation. Report the chosen path. A file without
118
- a binding also requires `project_id`, `vault_id`, and optional `section`. Omit `section`
119
- for the entire Vault; an empty string selects unsectioned fields. If sections reuse names,
120
- select one section per file. The target must be untracked, Git-ignored, and not a symlink.
121
- Check only file/path metadata when choosing a target; never read env contents into the
122
- conversation. Let `vault_sync` reuse the binding internally and reject local conflicts.
123
-
124
- Before later task use, call `vault_sync` with the same explicit `path` when a refresh is
125
- needed; omit source arguments to reuse that file's durable binding. It adds, updates
126
- and deletes managed fields while preserving unrelated assignments. Conflicting sources
127
- or local edits stop the write; restore the managed assignment or choose a new file.
128
- Return only file path, status and counts; never print keys or the file, log secrets, or
129
- save them to Memory. Sync does not upload local edits, run in the background, or reload
130
- a running process's environment. It requires the standalone local MCP adapter; remote-only
131
- HTTP cannot write files. Do not invent a CLI fallback or script synchronization.
132
-
133
- For explicit import/write, pass fields to `vault_item_upsert`; use
134
- `vault_item_delete` for exact batch deletions. Never upload local edits automatically.
135
-
136
- ## Connector Routing
137
-
138
- Respect an explicit user choice. Otherwise inspect installed service CLIs, direct MCP tools
139
- already exposed by the runtime, and authorized API or SDK credentials. If an installed and
140
- authenticated official CLI can perform the task, use it directly. Check availability and
141
- authentication non-destructively and prefer structured output.
142
-
143
- Otherwise choose the lowest-setup reliable option for the task. Consult the service's official
144
- documentation when installation, authentication, commands, or schemas are uncertain or likely
145
- to have changed:
146
-
147
- - Use a trusted direct MCP already configured and exposed by the runtime. Do not automatically
148
- download, install, or start an unfamiliar MCP server.
149
- - Safely install the official CLI when the runtime permits it, the source is verified as
150
- official, and no elevation or persistent host change is required.
151
- - Use the official API or SDK with a verified contract and credentials already authorized for
152
- the runtime, including through an exact Vault reference.
153
- - Use the Clawdi connector when no direct option can perform the operation.
154
-
155
- Before a side effect, establish the exact service account and organization, Project, or tenant.
156
- Use connection details from Composio discovery, or explicitly list accounts with
157
- `COMPOSIO_MANAGE_CONNECTIONS`, when the connector identity is not already clear.
158
- Fallback must not silently change that identity. Do not scan for credentials, start an interactive
159
- login, invent API details, or expose secrets. Choose the path before a side effect and advance
160
- only after a definite preflight failure. If a mutation's result is ambiguous, inspect it through
161
- the same path; never repeat it through another path.
162
-
163
- ## Connector Account Management
164
-
165
- Use `COMPOSIO_MANAGE_CONNECTIONS` for account management, following its live schema.
166
- For the multi-account schema, each `toolkits` item has `name` and `action`:
167
-
168
- - `list`: Read account IDs, aliases, and statuses. Always specify this action for a
169
- lookup: omitting `action` defaults to `add` and creates an authorization link.
170
- - `add`: Create a new authorization link when the user wants another connection.
171
- - `rename`: Set `alias` on the exact `account_id` returned by discovery.
172
- - `remove`: Delete the exact `account_id` selected by the user.
173
-
174
- Reuse the returned `session_id` when available. Never guess account IDs, use a
175
- mutation to discover accounts, or automatically retry an ambiguous mutation.
176
- Do not assume an empty alias clears it unless the live contract confirms that behavior.
177
-
178
- ## Connector Workflow
179
-
180
- When the Clawdi connector path is selected, use the Composio Tool Router meta-tools returned
181
- by `tools/list` on the `clawdi` MCP server. Treat their live names and schemas as
182
- authoritative; never assume a fixed meta-tool set.
183
-
184
- 1. Start the connector workflow with `COMPOSIO_SEARCH_TOOLS`. Follow its exposed
185
- `queries` and `session` schema, reuse the returned session ID throughout that workflow,
186
- and use only the exact toolkit and tool slugs it returns. If a required schema is absent
187
- or incomplete, call `COMPOSIO_GET_TOOL_SCHEMAS`; never invent fields or inputs.
188
- 2. Before a side effect, require a complete target identity and all schema-required inputs.
189
- Explicit intent authorizes the exact requested action and target, but never authorizes
190
- guessing a missing recipient, account, resource, or other target. Ask only for what is
191
- missing, and do not request redundant confirmation once the exact action is authorized.
192
- 3. When search reports no active connection and the user wants to connect, call
193
- `COMPOSIO_MANAGE_CONNECTIONS` with explicit `action: "add"` in the multi-account schema.
194
- Follow its exposed schema and interpret only the fields it returns. Continue on `active`. On
195
- `initiated`, present its non-empty `redirect_url` as a clickable authentication link with
196
- a concise explanation that authorization is pending; the link URL must be exactly that
197
- value. If `initiated` has no non-empty `redirect_url`, report that authorization cannot
198
- continue and stop. On `failed`, report the returned error and stop. Never construct a
199
- substitute link, ask for OAuth credentials, API keys, or tokens, or suggest an
200
- out-of-band fallback.
201
- 4. Use a wait or status operation only when `tools/list` exposes one. Follow its actual schema
202
- and status values without inventing polling arguments. Continue only when it reports an
203
- active connection; keep waiting only for a non-terminal status its schema defines, and
204
- report any terminal failure. If none is exposed, stop until the user reports completing
205
- authorization, then re-run search to verify the active connection before continuing.
206
- 5. Execute exact returned slugs through `COMPOSIO_MULTI_EXECUTE_TOOL` with schema-compliant
207
- arguments. Batch only independent calls. Keep ordinary results inline. Set
208
- `sync_response_to_workbench` only when a result may be large or needs later remote
209
- processing; use `COMPOSIO_REMOTE_WORKBENCH` / `COMPOSIO_REMOTE_BASH_TOOL` only for large
210
- responses saved remotely or remote artifacts. Preserve dependencies and returned semantics;
211
- follow signed-file metadata, pagination fields, and termination signals exactly as exposed.
212
- Select an account only when the schema supports it, and use additional or future meta-tools
213
- only according to their live schemas.