newo 3.6.0 → 3.6.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/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.6.1] - 2026-04-14
11
+
12
+ ### Documentation
13
+
14
+ - Update README.md with V2 format, libraries, and `newo export` documentation for npm package page
15
+
10
16
  ## [3.6.0] - 2026-04-13
11
17
 
12
18
  ### Added
package/README.md CHANGED
@@ -8,22 +8,22 @@
8
8
  **NEWO CLI** - Professional command-line tool for NEWO AI Agent development. Features **modular architecture**, **IDN-based file management**, and **comprehensive multi-customer support**.
9
9
 
10
10
  Sync NEWO "Project → Agent → Flow → Skills" structure to local files with:
11
+ - 🆕 **Dual format support** (v3.6.0) - `cli_v1` (native) and `newo_v2` (platform compatible), auto-detected per customer
12
+ - 🆕 **Libraries** (v3.6.0) - Pull/push shared reusable skills across agents within a project
13
+ - 🆕 **Bulk export** (v3.6.0) - `newo export` downloads complete V2 ZIP from platform
11
14
  - 🚀 **Account migration** - Fully automated account copying with 100% accuracy
12
15
  - 🏗️ **Complete entity management** - Create, edit, and delete agents, flows, skills, events, and states
13
16
  - 🔄 **Intelligent synchronization** - Pull projects, attributes, and conversations automatically
14
- - 🎯 **IDN-based naming** - Skills named as `{skillIdn}.jinja/.guidance` for better organization
17
+ - 🎯 **IDN-based naming** - Skills named as `{skillIdn}.jinja/.guidance` or `{skillIdn}.nsl/.nslg`
15
18
  - 📊 **Real-time progress** - Live progress tracking during large operations (1,000+ skills)
16
19
  - 🏢 **Multi-customer workspaces** - Work with multiple NEWO accounts simultaneously
17
- - 📁 **Hierarchical structure** - Complete project metadata and organized file structure
18
20
  - 🔐 **Secure authentication** - API key-based auth with automatic token refresh
19
21
  - ⚡ **Smart change detection** - SHA256-based efficient sync with hash consistency
20
- - 🛡️ **File validation** - Multiple file detection with clear warnings and safe handling
21
- - 🧠 **AI skill formats** - Support for `.guidance` (AI prompts) and `.jinja` (NSL templates)
22
+ - 🧠 **AI skill formats** - Support for `.guidance`/`.jinja` (V1) and `.nslg`/`.nsl` (V2)
22
23
  - 📡 **Webhook automation** - Automatic webhook creation from YAML configuration
23
24
  - 📊 **Knowledge base import** - Bulk import AKB articles from structured text files
24
25
  - 💬 **Conversation history** - Extract and sync user conversations and personas
25
26
  - 🧪 **Sandbox testing** - Interactive agent testing with conversation continuation
26
- - ✅ **Migration verification** - Automated validation of migration completeness
27
27
  - 🔧 **CI/CD ready** - GitHub Actions integration for automated deployments
28
28
 
29
29
  ---
@@ -143,15 +143,33 @@ NEWO_REFRESH_URL=custom_refresh_endpoint # Custom refresh endpoint
143
143
 
144
144
  | Command | Description | Features |
145
145
  |---------|-------------|----------|
146
- | `newo pull` | Download projects + attributes + metadata | • Real-time progress tracking (966+ skills)<br>• IDN-based file naming<br>• Automatic attributes.yaml generation<br>• `--force` for silent overwrite |
147
- | `newo push` | Upload local changes to NEWO | • Smart file validation<br>• Multiple file detection<br>• Hash-based change detection<br>• Safe error handling |
148
- | `newo status` | Show modified files with details | • Multiple file warnings<br>• Detailed change analysis<br>• Clean state validation<br>• Per-customer status |
149
- | `newo sandbox` | Test agents in sandbox chat mode | • Single-command mode for automation<br>• Multi-turn conversation support<br>• Debug info for agent development<br>• Conversation continuation |
146
+ | `newo pull [--format <fmt>]` | Download projects + attributes + libraries | • Dual format: `cli_v1` / `newo_v2`<br>• Auto-detects format per customer<br>• Real-time progress tracking (1,000+ skills)<br>• IDN-based file naming<br>• `--force` for silent overwrite |
147
+ | `newo push [--format <fmt>]` | Upload local changes to NEWO | • Works with both formats<br>• Hash-based change detection<br>• Library skill updates<br>• Publishes flows automatically |
148
+ | `newo status [--format <fmt>]` | Show modified files | • Format-aware status<br>• Multiple file warnings<br>• Per-customer status |
149
+ | `newo export [--output <file>]` | Download V2 bulk ZIP from platform | • Complete organization export<br>• Projects, agents, flows, skills, attributes, AKB<br>• Compatible with platform UI import |
150
+ | `newo sandbox` | Test agents in sandbox chat mode | • Single-command mode for automation<br>• Multi-turn conversation support<br>• Debug info for agent development |
150
151
  | `newo conversations` | Pull conversation history | • User personas and chat history<br>• YAML format output<br>• Pagination support |
151
152
  | `newo list-customers` | List configured customers | • Shows default customer<br>• Multi-customer discovery |
152
153
  | `newo import-akb` | Import knowledge base articles | • Structured text parsing<br>• Bulk article import<br>• Validation and error reporting |
153
154
  | `newo meta` | Get project metadata (debug) | • Project structure analysis<br>• Metadata validation |
154
155
 
156
+ ### V2 Format Support (NEW v3.6.0)
157
+
158
+ The CLI supports two formats that coexist in the same workspace:
159
+
160
+ - **`cli_v1`** (default) - Native CLI format with per-entity metadata files, `.guidance`/`.jinja` extensions
161
+ - **`newo_v2`** - Platform import/export format, `.nslg`/`.nsl` extensions, compatible with SuperAgent repository and NEWO platform export ZIPs
162
+
163
+ **Format is auto-detected per customer** from filesystem markers (`import_version.txt` = V2, `projects/` dir = V1). Override per-command with `--format newo_v2` or set persistent default with `NEWO_FORMAT=newo_v2` in `.env`.
164
+
165
+ ```bash
166
+ newo pull --format newo_v2 # Pull in V2 format
167
+ newo export --output backup.zip # Bulk V2 ZIP download
168
+ newo push --format newo_v2 # Push from V2 format project
169
+ ```
170
+
171
+ Round-trip tested against real SuperAgent export: 1426/1426 files, 1331 scripts byte-identical, zero data loss on platform import.
172
+
155
173
  ### Account Migration Commands
156
174
 
157
175
  **Enterprise-grade account migration with 100% automation:**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newo",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "description": "NEWO CLI: Professional command-line tool with modular architecture for NEWO AI Agent development. Features account migration, integration management, webhook automation, AKB knowledge base, project attributes, sandbox testing, IDN-based file management, real-time progress tracking, intelligent sync operations, and comprehensive multi-customer support.",
5
5
  "type": "module",
6
6
  "bin": {