dasa-sradha-kit 5.0.0 → 5.0.2

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
@@ -4,6 +4,15 @@ All notable changes to the Dasa Sradha Kit will be documented in this file.
4
4
 
5
5
  ---
6
6
 
7
+ ## [5.0.1] - 2026-02-22
8
+
9
+ ### Fixed
10
+ - Renamed CLI bin from `dasa` to `dasa-sradha` (NPM rejected generic name).
11
+ - Normalized `bin` paths via `npm pkg fix` to prevent stripping during publish.
12
+ - Published to NPM: `npm install -g dasa-sradha-kit`
13
+
14
+ ---
15
+
7
16
  ## [5.0.0] - 2026-02-22
8
17
 
9
18
  ### 🚀 Major Release: V5 Zero-Dependency Ecosystem
package/README.md CHANGED
@@ -35,7 +35,7 @@ npx dasa-sradha-kit init
35
35
 
36
36
  ```bash
37
37
  npm install -g dasa-sradha-kit
38
- dasa init
38
+ dasa-sradha init
39
39
  ```
40
40
 
41
41
  ### Option C: Clone & Init
@@ -44,7 +44,7 @@ dasa init
44
44
  git clone https://github.com/TudeOrangBiasa/dasa-sradha-kit.git
45
45
  cd dasa-sradha-kit
46
46
  npm link
47
- dasa init
47
+ dasa-sradha init
48
48
  ```
49
49
 
50
50
  This generates your `dasa.config.toon`, builds the `.agent/` mechanics folder, and creates the `.artifacts/` memory vault.
package/bin/cli.js CHANGED
@@ -108,15 +108,80 @@ external_skills: [] # Absolute paths to community skills to activate
108
108
  }
109
109
 
110
110
  function scaffoldArtifactDirs(dest) {
111
- const dirs = [".artifacts", ".design-memory"];
112
- const gitkeep = "# Dasa Sradha — Managed Directory\n";
113
-
114
- for (const dir of dirs) {
115
- const dirPath = path.join(dest, dir);
116
- if (!fs.existsSync(dirPath)) {
117
- fs.mkdirSync(dirPath, { recursive: true });
118
- fs.writeFileSync(path.join(dirPath, ".gitkeep"), gitkeep);
119
- info(`Created ${dir}/`);
111
+ // 1. .artifacts/ — Short-Term Memory
112
+ const artifactsDir = path.join(dest, ".artifacts");
113
+ if (!fs.existsSync(artifactsDir)) {
114
+ fs.mkdirSync(artifactsDir, { recursive: true });
115
+ info("Created .artifacts/");
116
+ }
117
+
118
+ const artifactFiles = {
119
+ "task.toon": `# Dasa Sradha — Task Tracker (TOON)
120
+ # Updated by /dasa-plan and /dasa-start-work
121
+ status: idle
122
+ current_task: null
123
+ completed: []
124
+ `,
125
+ "architecture-state.toon": `# Dasa Sradha — Architecture State (TOON)
126
+ # Generated by Dasa Mpu during /dasa-start-work Phase 1
127
+ # Dasa Nala is BLOCKED until this file is populated.
128
+ state: pending
129
+ modules: []
130
+ `,
131
+ "dasa_memory.toon": `# Dasa Sradha — 5-Sector TOON Memory Vault
132
+ # Compacted by /dasa-sync via compact_memory.py
133
+
134
+ episodic: []
135
+ semantic: []
136
+ procedural: []
137
+ emotional: []
138
+ reflective: []
139
+ `
140
+ };
141
+
142
+ for (const [file, content] of Object.entries(artifactFiles)) {
143
+ const filePath = path.join(artifactsDir, file);
144
+ if (!fs.existsSync(filePath)) {
145
+ fs.writeFileSync(filePath, content, "utf8");
146
+ info(` Created .artifacts/${file}`);
147
+ }
148
+ }
149
+
150
+ // 2. .design-memory/ — Long-Term UI Memory
151
+ const designDir = path.join(dest, ".design-memory");
152
+ if (!fs.existsSync(designDir)) {
153
+ fs.mkdirSync(designDir, { recursive: true });
154
+ info("Created .design-memory/");
155
+ }
156
+
157
+ const designFiles = {
158
+ "style.md": `# Design Memory — Style Guide
159
+ # Generated by design_engine.py or manually by the user.
160
+ # Dasa Nala reads this BEFORE writing any UI code.
161
+
162
+ colors: []
163
+ typography: []
164
+ spacing: [4, 8, 16, 24, 32]
165
+ border_radius: [4, 8]
166
+ `,
167
+ "layout.md": `# Design Memory — Layout Rules
168
+ # Defines the grid, breakpoints, and component spacing.
169
+
170
+ breakpoints:
171
+ mobile: 375px
172
+ tablet: 768px
173
+ desktop: 1280px
174
+
175
+ grid: 12-column
176
+ gutter: 16px
177
+ `
178
+ };
179
+
180
+ for (const [file, content] of Object.entries(designFiles)) {
181
+ const filePath = path.join(designDir, file);
182
+ if (!fs.existsSync(filePath)) {
183
+ fs.writeFileSync(filePath, content, "utf8");
184
+ info(` Created .design-memory/${file}`);
120
185
  }
121
186
  }
122
187
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "dasa-sradha-kit",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "description": "The Dasa Sradha 10-Persona Orchestration Framework for Antigravity IDE. Cross-platform CLI for setting up AI-assisted development workflows.",
5
5
  "bin": {
6
- "dasa-sradha": "./bin/cli.js",
7
- "dasa-cli": "./bin/dasa-cli.js"
6
+ "dasa-sradha": "bin/cli.js",
7
+ "dasa-cli": "bin/dasa-cli.js"
8
8
  },
9
9
  "scripts": {
10
10
  "test": "node bin/cli.js --version"
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",
34
- "url": "https://github.com/TudeOrangBiasa/dasa-sradha-kit.git"
34
+ "url": "git+https://github.com/TudeOrangBiasa/dasa-sradha-kit.git"
35
35
  },
36
36
  "homepage": "https://github.com/TudeOrangBiasa/dasa-sradha-kit#readme"
37
37
  }