@codemieai/cdk 0.1.632 → 0.1.634

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 CHANGED
@@ -176,8 +176,26 @@ codemie backup
176
176
  codemie destroy --force
177
177
  codemie preview
178
178
  codemie validate --check-api
179
+
180
+ # Import a single resource from the Codemie platform
181
+ codemie import <type> <slug>
182
+ codemie import assistant my-assistant
183
+ codemie import workflow 11111111-1111-1111-1111-111111111111
184
+ codemie import assistant my-assistant --update # refresh an already-managed resource in place
185
+ # <type> is one of: assistant, datasource, workflow, skill
186
+ # <slug> is a resource slug or name; for assistant and workflow it may also be a platform UUID
187
+
188
+ # Run a command from a subdirectory of the project, or against another project entirely
189
+ codemie validate --root-dir ../another-project
179
190
  ```
180
191
 
192
+ **Note:** Every command finds the project root automatically by walking up from the current
193
+ directory looking for `codemie.yaml`, so you can run `codemie` from any subdirectory of your
194
+ project. Pass `-d, --root-dir <path>` to point at a different project root instead. `codemie init`
195
+ never auto-detects an existing project - it always scaffolds in the current directory unless
196
+ `-d` is given. `-c, --config` and `-d, --root-dir` are independent: a `-c` file wins only where it
197
+ declares `rootDir` itself, otherwise an explicit `-d` still applies.
198
+
181
199
  **For local development**, npm scripts provide convenient shortcuts:
182
200
  ```bash
183
201
  npm run deploy # → codemie deploy