@curenorway/kode-cli 1.17.1 → 2.0.0

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
@@ -160,6 +160,29 @@ kode pages # List all cached pages
160
160
  kode pages --json # Output as JSON
161
161
  ```
162
162
 
163
+ ### `kode library`
164
+
165
+ Browse and use the global script library (Bibliotek). Contains reusable snippets like GSAP animations, form handlers, scroll effects. Supports folders, editing, and soft-delete with 30-day recovery.
166
+
167
+ ```bash
168
+ kode library # List all library snippets
169
+ kode library --tree # Show folder tree view
170
+ kode library search "scroll" # Search by name or tags
171
+ kode library add gsap-scroll-reveal # Copy snippet into project
172
+ kode library pull # Download all as local references
173
+ kode library push my-script.js # Push a local script to the library
174
+ kode library push my-script.js --folder animations # Push to folder
175
+ kode library update <slug> # Update snippet from local file
176
+ kode library update <slug> --file path/to/file.js # Update from specific file
177
+ kode library folders # List library folders
178
+ kode library folders --create "Animations" # Create folder
179
+ kode library trash # List trashed snippets
180
+ kode library trash --restore <id> # Restore from trash
181
+ kode library trash --empty # Permanently delete all trash
182
+ ```
183
+
184
+ Library snippets are reference material — they live in `.cure-kode-scripts/library/` and are never deployed. Use `kode library add` to copy a snippet into your project scripts, then adapt it.
185
+
163
186
  ### `kode context`
164
187
 
165
188
  View and manage AI context.
@@ -279,7 +302,11 @@ your-project/
279
302
  ├── .cure-kode-scripts/ # Your scripts directory
280
303
  │ ├── main.js
281
304
  │ ├── form-handler.js
282
- └── styles.css
305
+ ├── styles.css
306
+ │ └── library/ # Reference only (never deployed)
307
+ │ ├── animations/
308
+ │ ├── forms/
309
+ │ └── utilities/
283
310
  ├── .mcp.json # MCP server configuration
284
311
  └── CLAUDE.md # Reference to KODE.md (your content preserved)
285
312
  ```