@nuucognition/flint-cli 0.5.6-dev.0 → 0.5.6-dev.10

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
@@ -152,10 +152,10 @@ flint open # Open current flint
152
152
  flint open my-project # Open by name from registry
153
153
  ```
154
154
 
155
- **Dev-only:** enable with `flint mode dev` or `flint --dev open ...`.
155
+ **Dev-only:** use the `flint-dev` binary or a source build with no baked `BUILD_MODE`.
156
156
 
157
157
  **Behavior:**
158
- - Opens the flint in all apps configured in `~/.flint/config.toml`
158
+ - Opens the flint in all apps configured in the current profile config
159
159
  - Default (no config): opens in Obsidian only
160
160
  - Supports: obsidian, cursor, vscode, or any custom app
161
161
 
@@ -166,7 +166,7 @@ flint config set open.apps '["obsidian", "cursor"]'
166
166
 
167
167
  ### `flint config`
168
168
 
169
- Manage global Flint configuration stored at `~/.flint/config.toml`.
169
+ Manage profile-scoped Flint configuration stored at `~/.nuucognition/flint/config.toml` or `~/.nuucognition/flint-dev/config.toml`.
170
170
 
171
171
  ```bash
172
172
  flint config # View all config
@@ -178,21 +178,17 @@ flint config set open.apps '["obsidian", "cursor"]' # Set value
178
178
 
179
179
  | Key | Type | Default | Description |
180
180
  |-----|------|---------|-------------|
181
- | `mode` | string | build default | Feature mode (use `flint mode` to manage) |
182
181
  | `open.apps` | string[] | `["obsidian"]` | Apps to open flints in |
183
182
 
184
- ### `flint mode`
183
+ ### `flint features`
185
184
 
186
- Manage feature tiers (production, experimental, dev). This setting is persisted in `~/.flint/config.toml`.
185
+ List the commands available in the current profile.
187
186
 
188
187
  ```bash
189
- flint mode
190
- flint mode experimental
191
- flint mode --list
188
+ flint features
192
189
  ```
193
190
 
194
- Use `--experimental` or `--dev` on a single command to override the current mode.
195
- Dev-only commands include `open` and `upgrade`.
191
+ Development-only commands are available from the `flint-dev` binary or from a source build with no baked `BUILD_MODE`.
196
192
 
197
193
  ### `flint git`
198
194
 
package/bin/flint-prod.js CHANGED
@@ -1,7 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- process.env.BUILD_MODE = 'prod';
4
-
5
3
  import { fileURLToPath, pathToFileURL } from 'node:url';
6
4
  import { dirname, join } from 'node:path';
7
5
 
package/bin/flint.js CHANGED
@@ -10,10 +10,10 @@ const srcEntry = join(__dirname, '..', 'src', 'index.ts');
10
10
  // Find tsx in node_modules (works in monorepo)
11
11
  const tsxPath = join(__dirname, '..', 'node_modules', '.bin', 'tsx');
12
12
 
13
- // Set dev mode for local development (running from source)
14
13
  const result = spawnSync(tsxPath, [srcEntry, ...process.argv.slice(2)], {
15
14
  stdio: 'inherit',
16
- env: { ...process.env, FLINT_MODE: 'dev' },
15
+ shell: true,
16
+ windowsHide: true,
17
17
  });
18
18
 
19
19
  process.exit(result.status ?? 0);