metaintent 3.1.0 → 3.1.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.
Files changed (3) hide show
  1. package/.env.example +32 -32
  2. package/README.md +305 -80
  3. package/package.json +1 -1
package/.env.example CHANGED
@@ -1,32 +1,32 @@
1
- PORT=8787
2
-
3
- # Where bootstrap writes metaintent-projects/
4
- # METAINTENT_WORKSPACE=
5
-
6
- # Hard clarify budget before locking intent
7
- MAX_CLARIFY_ROUNDS=2
8
-
9
- # --- Backend selection ---
10
- # ollama = fully local | nim = NVIDIA hosted API (web-friendly)
11
- PRIMARY_LLM_BACKEND=ollama
12
- FALLBACK_LLM_BACKEND=ollama
13
-
14
- # --- Local Ollama ---
15
- OLLAMA_BASE_URL=http://127.0.0.1:11434
16
- OLLAMA_TIMEOUT_MS=60000
17
- OLLAMA_MODEL=qwen2.5-coder:3b
18
- OLLAMA_MODEL_FAST=qwen2.5-coder:3b
19
- OLLAMA_MODEL_QUALITY=qwen2.5-coder:7b
20
- OLLAMA_MODEL_EMBED=nomic-embed-text:latest
21
-
22
- # --- NVIDIA NIM (OpenAI-compatible) ---
23
- # Get a key: https://build.nvidia.com/settings
24
- # Then set:
25
- # PRIMARY_LLM_BACKEND=nim
26
- # FALLBACK_LLM_BACKEND=ollama
27
- NVIDIA_API_KEY=
28
- NIM_BASE_URL=https://integrate.api.nvidia.com/v1
29
- NIM_TIMEOUT_MS=90000
30
- NIM_MODEL=meta/llama-3.1-8b-instruct
31
- NIM_MODEL_FAST=meta/llama-3.1-8b-instruct
32
- NIM_MODEL_QUALITY=meta/llama-3.1-70b-instruct
1
+ PORT=8787
2
+
3
+ # Where bootstrap writes metaintent-projects/
4
+ # METAINTENT_WORKSPACE=
5
+
6
+ # Hard clarify budget before locking intent
7
+ MAX_CLARIFY_ROUNDS=2
8
+
9
+ # --- Backend selection ---
10
+ # ollama = fully local | nim = NVIDIA hosted API (web-friendly)
11
+ PRIMARY_LLM_BACKEND=ollama
12
+ FALLBACK_LLM_BACKEND=ollama
13
+
14
+ # --- Local Ollama ---
15
+ OLLAMA_BASE_URL=http://127.0.0.1:11434
16
+ OLLAMA_TIMEOUT_MS=60000
17
+ OLLAMA_MODEL=qwen2.5-coder:3b
18
+ OLLAMA_MODEL_FAST=qwen2.5-coder:3b
19
+ OLLAMA_MODEL_QUALITY=qwen2.5-coder:7b
20
+ OLLAMA_MODEL_EMBED=nomic-embed-text:latest
21
+
22
+ # --- NVIDIA NIM (OpenAI-compatible) ---
23
+ # Get a key: https://build.nvidia.com/settings
24
+ # Then set:
25
+ # PRIMARY_LLM_BACKEND=nim
26
+ # FALLBACK_LLM_BACKEND=ollama
27
+ NVIDIA_API_KEY=
28
+ NIM_BASE_URL=https://integrate.api.nvidia.com/v1
29
+ NIM_TIMEOUT_MS=90000
30
+ NIM_MODEL=meta/llama-3.1-8b-instruct
31
+ NIM_MODEL_FAST=meta/llama-3.1-8b-instruct
32
+ NIM_MODEL_QUALITY=meta/llama-3.1-70b-instruct
package/README.md CHANGED
@@ -1,63 +1,98 @@
1
- <div align="center">
2
-
3
- ![MetaIntent Banner](docs/screenshots/banner.png)
4
-
5
- # MetaIntent
6
-
7
- **Vague idea → locked intent → project pack on disk**
8
-
9
- Not another chat wrapper. A local-first **Intent → Project Bootstrap** system for Cursor (MCP) and a web demo.
10
-
11
- [![Ollama](https://img.shields.io/badge/LLM-Ollama-black)](https://ollama.com)
12
- [![NIM](https://img.shields.io/badge/LLM-NVIDIA%20NIM-76B900)](https://build.nvidia.com)
13
- [![MCP](https://img.shields.io/badge/Cursor-MCP-blue)](https://modelcontextprotocol.io)
14
- [![TypeScript](https://img.shields.io/badge/TypeScript-5-3178C6)](https://www.typescriptlang.org/)
15
-
16
- </div>
17
-
18
- ---
19
-
20
- ## Why this exists
21
-
22
- Advanced models still **guess** when the goal is vague. MetaIntent forces a short Ask-before-Plan loop (≤2 answers), **locks** an intent contract, then writes a real project pack + security guardrails:
23
-
24
- | File | Purpose |
25
- |------|---------|
26
- | `intent.json` | Frozen goal, audience, platform, success metric, constraints |
27
- | `agent.md` | Blueprint (stack, roadmap, system prompt) |
28
- | `week1.md` | Checklist for v1 |
29
- | `security.md` | Threat-model guardrails (practical — not “quantum / unbreakable RE”) |
30
- | `naive-vs-locked.md` | Proof: naive guess vs locked intent |
31
- | `cursor-rule.md` | Installed into `.cursor/rules/` to enforce scope |
32
-
33
- Default output (project use): **`.metaintent/`** in the workspace (`mode=workspace`).
1
+ <h1 align="center">
2
+ <img src="https://raw.githubusercontent.com/Hammaduddin561/MetaIntent/main/docs/icon.png" alt="" width="72" height="72" align="absmiddle" />
3
+ MetaIntent
4
+ </h1>
5
+
6
+ <p align="center">
7
+ <strong>Vague idea → locked intent → project pack on disk</strong><br />
8
+ Clarify ≤2 · lock <code>intent.json</code> · bootstrap Cursor-ready files (Ollama / NVIDIA NIM)
9
+ </p>
10
+
11
+ <p align="center">
12
+ <a href="https://www.npmjs.com/package/metaintent"><img src="https://img.shields.io/npm/v/metaintent.svg?style=flat-square" alt="npm" /></a>
13
+ <a href="https://ollama.com"><img src="https://img.shields.io/badge/LLM-Ollama-111111?style=flat-square" alt="Ollama" /></a>
14
+ <a href="https://build.nvidia.com"><img src="https://img.shields.io/badge/LLM-NVIDIA%20NIM-76B900?style=flat-square" alt="NVIDIA NIM" /></a>
15
+ <a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/Cursor-MCP-111111?style=flat-square" alt="MCP" /></a>
16
+ <a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-5-3178C6?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript" /></a>
17
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-2ea44f?style=flat-square" alt="MIT License" /></a>
18
+ </p>
19
+
20
+ <p align="center">
21
+ <a href="#overview"><img src="https://img.shields.io/badge/Overview-111111?style=for-the-badge" alt="Overview" /></a>
22
+ <a href="#screenshots"><img src="https://img.shields.io/badge/Screenshots-212121?style=for-the-badge" alt="Screenshots" /></a>
23
+ <a href="#quick-start"><img src="https://img.shields.io/badge/Quick%20start-111111?style=for-the-badge" alt="Quick start" /></a>
24
+ <a href="#product-loop"><img src="https://img.shields.io/badge/Product%20loop-212121?style=for-the-badge" alt="Product loop" /></a>
25
+ <a href="#architecture"><img src="https://img.shields.io/badge/Architecture-111111?style=for-the-badge" alt="Architecture" /></a>
26
+ <a href="#backends"><img src="https://img.shields.io/badge/Backends-212121?style=for-the-badge" alt="Backends" /></a>
27
+ <a href="#license"><img src="https://img.shields.io/badge/License-2ea44f?style=for-the-badge" alt="License" /></a>
28
+ </p>
29
+
30
+ ## Overview
31
+
32
+ MetaIntent is a **local-first** Intent → Project Bootstrap. Drop a vague idea, answer at most two high-value questions, **lock** an intent contract, then write a real project pack agents can follow — not another chat wrapper.
33
+
34
+ | Capability | What you get |
35
+ |---|---|
36
+ | **Clarify ≤2** | Research-inspired Ask-before-Plan loop, then hard lock |
37
+ | **Locked pack** | `intent.json`, `agent.md`, `week1.md`, `security.md`, `naive-vs-locked.md` |
38
+ | **Cursor rule** | `cursor-rule.md` installed into `.cursor/rules/` |
39
+ | **Surfaces** | npm CLI · Cursor MCP · web demo (`localhost:8787`) |
40
+ | **LLMs** | Ollama (default) or NVIDIA NIM + optional fallback |
41
+
42
+ Default output: **`.metaintent/`** in the workspace (`mode=workspace`).
34
43
  Demo packs: `metaintent-projects/<slug>/` (`mode=pack`).
35
44
 
36
- ---
37
-
38
- ## Product loop
39
-
40
- ```
41
- idea → clarify (≤2) → lock intent → bootstrap files → (optional) execute first task
42
- ```
43
-
44
- Hero MCP tool: **`metaintent_bootstrap`**
45
-
46
- ---
45
+ ### Why lock intent
46
+
47
+ - Vague goals make agents **guess**; MetaIntent forces a short clarify → lock cycle.
48
+ - The pack is the product: files on disk Cursor / agents can obey.
49
+ - Local-first by default (Ollama). NIM is optional for stronger blueprints / demos.
50
+
51
+ ## Screenshots
52
+
53
+ <table>
54
+ <tr>
55
+ <td width="100%" valign="top">
56
+ <img src="https://raw.githubusercontent.com/Hammaduddin561/MetaIntent/main/docs/screenshots/home.png" alt="Home page" />
57
+ <p align="center"><sub>Home — lock the intent, ship the pack</sub></p>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td width="100%" valign="top">
62
+ <img src="https://raw.githubusercontent.com/Hammaduddin561/MetaIntent/main/docs/screenshots/chat.png" alt="Demo chat" />
63
+ <p align="center"><sub>Demo chat — ≤2 questions, then bootstrap</sub></p>
64
+ </td>
65
+ </tr>
66
+ </table>
47
67
 
48
68
  ## Quick start
49
69
 
50
- ### Requirements
70
+ **Requirements**
51
71
 
52
- - Node.js 20+
53
- - [Ollama](https://ollama.com) **or** NVIDIA NIM API key
72
+ | Tool | Notes |
73
+ |---|---|
74
+ | [Node.js 20+](https://nodejs.org/) | CLI, MCP, local server |
75
+ | [Ollama](https://ollama.com) **or** NVIDIA NIM | Local LLM default, or cloud NIM key |
76
+ | Git | Clone / contribute |
77
+ | Cursor (optional) | MCP product path |
78
+
79
+ ### Models (Ollama)
54
80
 
55
81
  ```bash
56
82
  ollama pull qwen2.5-coder:3b
57
83
  ollama pull qwen2.5-coder:7b
58
84
  ```
59
85
 
60
- ### Install
86
+ ### Install from npm
87
+
88
+ ```bash
89
+ npx metaintent bootstrap "study planner for exam week" --workspace
90
+ # or
91
+ npm install -g metaintent
92
+ metaintent bootstrap "your idea" --workspace
93
+ ```
94
+
95
+ ### Install from source
61
96
 
62
97
  ```bash
63
98
  git clone https://github.com/Hammaduddin561/MetaIntent.git
@@ -68,10 +103,10 @@ copy .env.example .env
68
103
 
69
104
  ### Cursor MCP (main product)
70
105
 
71
- `.cursor/mcp.json` is already set. Reload MCP in Cursor, then call:
106
+ Repo ships `.cursor/mcp.json`. Reload MCP in Cursor, then:
72
107
 
73
- 1. `metaintent_bootstrap` with your idea (`mode` defaults to `workspace`)
74
- 2. If it returns questions → answer once (or twice) via `answers`
108
+ 1. Call **`metaintent_bootstrap`** with your idea (`mode` defaults to `workspace`)
109
+ 2. If it returns questions → answer once (or twice) via `answers`
75
110
  3. Open **`.metaintent/`** and follow `intent.json` + `security.md`
76
111
 
77
112
  Other tools: `health` · `start` · `clarify` · `generate` · `execute` · `session`
@@ -83,7 +118,7 @@ npm run smoke:bootstrap # e2e .metaintent pack on disk
83
118
  npm run eval:golden # clarification/lock quality suite
84
119
  ```
85
120
 
86
- ### CLI
121
+ ### CLI (source)
87
122
 
88
123
  ```bash
89
124
  npm run cli -- bootstrap "study planner for exam week" --workspace --answers "web, students, 2 weeks, success=weekly plan done"
@@ -91,44 +126,69 @@ npm run cli -- bootstrap "study planner for exam week" --workspace --answers "we
91
126
 
92
127
  After `npm run build`, bin is `metaintent` (`package.json` → `dist/cli.js`).
93
128
 
94
- Published package (when live):
95
-
96
- ```bash
97
- npx metaintent bootstrap "your idea" --workspace
98
- npm install -g metaintent
99
- ```
100
-
101
129
  ### Web demo
102
130
 
103
131
  ```bash
104
132
  npm run local
105
133
  ```
106
134
 
107
- Open **http://127.0.0.1:8787/** — demo UI + **Install** section. Serious workflow = MCP / CLI bootstrap.
135
+ | Service | URL |
136
+ |---|---|
137
+ | Demo UI + API | http://127.0.0.1:8787/ |
108
138
 
109
- Publish / deploy steps: [`docs/PUBLISH.md`](docs/PUBLISH.md)
139
+ Open the install section for copy-paste commands. Serious workflow = MCP / CLI bootstrap.
140
+ Publish notes: [`docs/PUBLISH.md`](docs/PUBLISH.md)
110
141
 
111
- ---
142
+ ## Product loop
112
143
 
113
- ## Backends
144
+ ```text
145
+ idea → clarify (≤2) → lock intent → bootstrap files → (optional) execute first task
146
+ ```
114
147
 
115
- | Mode | When | Config |
116
- |------|------|--------|
117
- | **Ollama** (default) | Local / private | `PRIMARY_LLM_BACKEND=ollama` |
118
- | **NVIDIA NIM** | Web demo / stronger blueprints | `PRIMARY_LLM_BACKEND=nim` + `NVIDIA_API_KEY` |
148
+ Hero MCP tool: **`metaintent_bootstrap`**
119
149
 
120
- NIM key: [build.nvidia.com/settings](https://build.nvidia.com/settings)
150
+ ```mermaid
151
+ flowchart LR
152
+ A[Vague idea] --> B{ClarificationPolicy}
153
+ B -->|clear enough| C[Lock intent.json]
154
+ B -->|≤2 questions| D[User answers]
155
+ D --> B
156
+ B -->|rephrase / budget| C
157
+ C --> E[ProjectBootstrap]
158
+ E --> F[.metaintent pack]
159
+ F --> G[Cursor rule + security.md]
160
+ G --> H[Optional execute first task]
161
+ ```
121
162
 
122
- Optional fallback: `FALLBACK_LLM_BACKEND=ollama` if NIM fails.
163
+ ### Bootstrap pack
123
164
 
124
- ---
165
+ | File | Purpose |
166
+ |---|---|
167
+ | `intent.json` | Frozen goal, audience, platform, success metric, constraints |
168
+ | `agent.md` | Blueprint (stack, roadmap, system prompt) |
169
+ | `week1.md` | Checklist for v1 |
170
+ | `security.md` | Practical threat-model guardrails |
171
+ | `naive-vs-locked.md` | Proof: naive guess vs locked intent |
172
+ | `cursor-rule.md` | Installed into `.cursor/rules/` to enforce scope |
173
+
174
+ ```mermaid
175
+ flowchart TB
176
+ LOCK[Locked intent] --> WRITE[ProjectBootstrap]
177
+ WRITE --> I[intent.json]
178
+ WRITE --> A[agent.md]
179
+ WRITE --> W[week1.md]
180
+ WRITE --> S[security.md]
181
+ WRITE --> N[naive-vs-locked.md]
182
+ WRITE --> R[cursor-rule.md]
183
+ R --> CR[.cursor/rules/*.mdc]
184
+ ```
125
185
 
126
- ## Clarification policy (research-inspired)
186
+ ## Clarification policy
127
187
 
128
188
  Full citations: [`docs/RESEARCH.md`](docs/RESEARCH.md)
129
189
 
130
190
  | Idea | Paper | Use in MetaIntent |
131
- |------|-------|-------------------|
191
+ |---|---|---|
132
192
  | Intent entropy | [Intent-Sim](https://arxiv.org/abs/2311.09469) | Proceed only when a hypothesis dominates |
133
193
  | Small set / rephrase | [CICC](https://aclanthology.org/2024.findings-naacl.156/) | ≤2 questions; else rephrase |
134
194
  | Ask-before-Plan | [CEP](https://arxiv.org/abs/2406.12639) | Clarify → lock → bootstrap → execute |
@@ -137,9 +197,114 @@ Full citations: [`docs/RESEARCH.md`](docs/RESEARCH.md)
137
197
  | Missing variable Qs | [QuestBench](https://arxiv.org/abs/2503.22674) | Prefer the question that unlocks planning |
138
198
  | Req defects | [HumanEvalComm](https://dl.acm.org/doi/10.1145/3715109) / [Ambig-SWE](https://arxiv.org/html/2502.13069v2) | Tag incomplete / ambiguous / inconsistent |
139
199
 
140
- Hard product rule: **`MAX_CLARIFY_ROUNDS=2`** then lock. Bootstrap also writes **`naive-vs-locked.md`** (proof vs blind guessing).
200
+ Hard product rule: **`MAX_CLARIFY_ROUNDS=2`** then lock.
201
+
202
+ ```mermaid
203
+ stateDiagram-v2
204
+ [*] --> Vague
205
+ Vague --> Policy: start / bootstrap
206
+ Policy --> Ask: entropy high / split needed
207
+ Ask --> Policy: answers (round ≤ 2)
208
+ Policy --> Lock: proceed OR max rounds
209
+ Policy --> Rephrase: too diffuse
210
+ Rephrase --> Vague
211
+ Lock --> Pack: write .metaintent
212
+ Pack --> [*]
213
+ ```
214
+
215
+ ## Architecture
216
+
217
+ MetaIntent is a **local-first** Node/TypeScript stack: web demo, npm CLI, and Cursor MCP all hit the same MetaLoop → lock → bootstrap core.
218
+
219
+ ### High-level system
220
+
221
+ ```mermaid
222
+ flowchart TB
223
+ subgraph Surfaces
224
+ WEB[Web demo<br/>frontend + local-server]
225
+ CLI[npm CLI<br/>metaintent bootstrap]
226
+ MCP[Cursor MCP<br/>mcp-server.ts]
227
+ end
228
+
229
+ subgraph Core
230
+ MLB[MetaLoopEngine]
231
+ CP[ClarificationPolicy]
232
+ LI[LockedIntent]
233
+ PB[ProjectBootstrap]
234
+ SG[SecurityGuardrail]
235
+ AG[AgentGenerator]
236
+ end
237
+
238
+ subgraph LLMs
239
+ FAC[LLMAdapterFactory]
240
+ OLL[OllamaAdapter]
241
+ NIM[NIMAdapter]
242
+ end
243
+
244
+ WEB --> MLB
245
+ CLI --> MLB
246
+ MCP --> MLB
247
+ MLB --> CP
248
+ MLB --> LI
249
+ LI --> PB
250
+ PB --> SG
251
+ PB --> AG
252
+ MLB --> FAC
253
+ AG --> FAC
254
+ FAC --> OLL
255
+ FAC --> NIM
256
+ ```
257
+
258
+ ### Runtime surfaces
259
+
260
+ ```mermaid
261
+ flowchart LR
262
+ U[User] --> W[Browser :8787]
263
+ U --> C[npx metaintent]
264
+ U --> K[Cursor IDE]
265
+
266
+ W --> S[local-server.ts]
267
+ C --> CLI[cli.ts]
268
+ K --> M[mcp-server.ts stdio]
269
+
270
+ S --> CORE[MetaLoop + Bootstrap]
271
+ CLI --> CORE
272
+ M --> CORE
273
+ CORE --> DISK[(.metaintent / metaintent-projects)]
274
+ ```
275
+
276
+ ### Layer responsibilities
277
+
278
+ | Layer | Role |
279
+ |---|---|
280
+ | **Frontend (`frontend/`)** | Install-first landing + optional demo chat |
281
+ | **local-server** | HTTP API for demo + health |
282
+ | **cli.ts** | `metaintent bootstrap` entry |
283
+ | **mcp-server.ts** | Cursor MCP tools (bootstrap-first) |
284
+ | **ClarificationPolicy** | ≤2 questions / rephrase / proceed |
285
+ | **ProjectBootstrap** | Writes the `.metaintent` pack + Cursor rule |
286
+ | **SecurityGuardrail** | Practical security notes in the pack |
287
+ | **Adapters** | Ollama + NIM via `LLMAdapterFactory` |
288
+
289
+ ## Backends
290
+
291
+ | Mode | When | Config |
292
+ |---|---|---|
293
+ | **Ollama** (default) | Local / private | `PRIMARY_LLM_BACKEND=ollama` |
294
+ | **NVIDIA NIM** | Web demo / stronger blueprints | `PRIMARY_LLM_BACKEND=nim` + `NVIDIA_API_KEY` |
141
295
 
142
- ---
296
+ NIM key: [build.nvidia.com/settings](https://build.nvidia.com/settings)
297
+
298
+ Optional fallback: `FALLBACK_LLM_BACKEND=ollama` if NIM fails.
299
+
300
+ ```mermaid
301
+ flowchart LR
302
+ REQ[LLM request] --> F[LLMAdapterFactory]
303
+ F -->|PRIMARY=ollama| O[Ollama]
304
+ F -->|PRIMARY=nim| N[NVIDIA NIM]
305
+ O -->|fail + FALLBACK| N2[Fallback backend]
306
+ N -->|fail + FALLBACK| O2[Fallback backend]
307
+ ```
143
308
 
144
309
  ## API
145
310
 
@@ -153,13 +318,30 @@ curl -X POST http://127.0.0.1:8787/metaintent ^
153
318
 
154
319
  Actions: `bootstrap` · `start` · `clarify` · `generate` · `execute` · `replay` · `intent-map`
155
320
 
156
- ---
321
+ ```mermaid
322
+ sequenceDiagram
323
+ participant U as Client
324
+ participant S as local-server
325
+ participant M as MetaLoopEngine
326
+ participant P as ProjectBootstrap
327
+ U->>S: POST /metaintent action=bootstrap
328
+ S->>M: clarify / lock
329
+ M-->>S: locked intent OR questions
330
+ alt questions
331
+ S-->>U: clarify (≤2)
332
+ U->>S: answers
333
+ S->>M: continue
334
+ end
335
+ S->>P: write pack
336
+ P-->>S: .metaintent paths
337
+ S-->>U: artifacts + lockedIntent
338
+ ```
157
339
 
158
- ## Layout
340
+ ## Project layout
159
341
 
160
- ```
342
+ ```text
161
343
  MetaIntent/
162
- ├── frontend/ # Demo UI
344
+ ├── frontend/ # Demo UI (install-first + bootstrap chat)
163
345
  ├── src/
164
346
  │ ├── cli.ts # metaintent bootstrap CLI
165
347
  │ ├── mcp-server.ts # Cursor MCP (bootstrap-first)
@@ -173,15 +355,58 @@ MetaIntent/
173
355
  │ ├── ProjectBootstrap.ts
174
356
  │ ├── runBootstrap.ts
175
357
  │ └── AgentGenerator.ts
358
+ ├── docs/
359
+ │ ├── icon.png # Brand mark (README)
360
+ │ ├── RESEARCH.md
361
+ │ ├── PUBLISH.md
362
+ │ └── screenshots/ # README gallery
176
363
  ├── .metaintent/ # Workspace pack (gitignored)
177
364
  ├── metaintent-projects/ # Demo packs (gitignored)
178
365
  ├── .cursor/mcp.json
366
+ ├── vercel.json
367
+ ├── LICENSE
179
368
  └── .env.example
180
369
  ```
181
370
 
371
+ ## Stack
372
+
373
+ | Layer | Tech |
374
+ |---|---|
375
+ | Runtime | Node 20+ · TypeScript |
376
+ | Surfaces | Express local-server · npm CLI · MCP SDK |
377
+ | LLMs | Ollama · NVIDIA NIM |
378
+ | Frontend | Vanilla HTML/CSS/JS (`frontend/`) |
379
+ | Package | [`metaintent` on npm](https://www.npmjs.com/package/metaintent) |
380
+
381
+ ## Troubleshooting
182
382
 
183
- ---
383
+ | Symptom | Likely fix |
384
+ |---|---|
385
+ | `:8787` connection refused | `npm run local` |
386
+ | Ollama unreachable | `ollama serve` + pull coder models |
387
+ | NIM errors | Set `NVIDIA_API_KEY`; check `PRIMARY_LLM_BACKEND=nim` |
388
+ | MCP tools missing | Reload Cursor MCP; confirm `.cursor/mcp.json` |
389
+ | Empty `.metaintent/` | Run `npm run smoke:bootstrap` or CLI with `--workspace` |
390
+
391
+ ## Contributing
392
+
393
+ 1. Fork + branch from `main`
394
+ 2. `npm install` · `npm run smoke:bootstrap`
395
+ 3. Keep scope inside locked intent when working under `.metaintent/`
396
+ 4. Open a PR with what changed and how you tested
184
397
 
185
398
  ## License
186
399
 
187
- MIT © Md Hammaduddin
400
+ This project is licensed under the [MIT License](LICENSE).
401
+
402
+ ```
403
+ MIT License
404
+
405
+ Copyright (c) 2025 Md Hammaduddin
406
+
407
+ Permission is hereby granted, free of charge, to any person obtaining a copy
408
+ of this software and associated documentation files (the "Software"), to deal
409
+ in the Software without restriction...
410
+
411
+ Full terms: see the LICENSE file in this repository.
412
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "metaintent",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Intent → Project Bootstrap: lock vague goals, write .metaintent pack + security guardrails (Ollama/NIM, Cursor MCP)",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {