@elevasis/sdk 0.5.14 → 0.5.16
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/dist/cli.cjs +841 -541
- package/dist/index.d.ts +24 -0
- package/dist/index.js +53 -0
- package/dist/templates.js +305 -108
- package/dist/worker/index.js +7 -8
- package/package.json +1 -1
- package/reference/framework/agent.mdx +7 -7
- package/reference/framework/index.mdx +10 -10
- package/reference/framework/project-structure.mdx +8 -8
- package/reference/getting-started.mdx +1 -1
|
@@ -21,7 +21,7 @@ Running `elevasis-sdk init my-project` produces the following agent infrastructu
|
|
|
21
21
|
│ ├── tutorial.md # Progressive learning path (3 tracks)
|
|
22
22
|
│ └── work.md # Task tracking
|
|
23
23
|
├── hooks/
|
|
24
|
-
│ └── enforce-sdk-boundary.mjs # Blocks
|
|
24
|
+
│ └── enforce-sdk-boundary.mjs # Blocks file modifications outside project boundary
|
|
25
25
|
├── skills/
|
|
26
26
|
│ └── creds/SKILL.md # Credential management (auto-triggers)
|
|
27
27
|
└── rules/
|
|
@@ -167,15 +167,15 @@ Section templates by doc type:
|
|
|
167
167
|
|
|
168
168
|
**Command Routing Reference:**
|
|
169
169
|
|
|
170
|
-
| Scenario | Command
|
|
171
|
-
| --------------------------------------- |
|
|
172
|
-
| Starting new work | `/work
|
|
173
|
-
| Resuming yesterday's work | `/work
|
|
174
|
-
| Browsing what docs exist | `/docs`
|
|
175
|
-
| Creating a reference doc (not a task) | `/docs create`
|
|
176
|
-
| Checking if docs match current code | `/docs verify`
|
|
177
|
-
| Full maintenance pipeline (8 steps) | `/meta fix`
|
|
178
|
-
| Deploying code and auto-generating maps | `/meta deploy`
|
|
170
|
+
| Scenario | Command |
|
|
171
|
+
| --------------------------------------- | ----------------------------------------------------- |
|
|
172
|
+
| Starting new work | `/work` (auto-detects new work from your description) |
|
|
173
|
+
| Resuming yesterday's work | `/work` (auto-resumes if one task is in-progress) |
|
|
174
|
+
| Browsing what docs exist | `/docs` |
|
|
175
|
+
| Creating a reference doc (not a task) | `/docs create` |
|
|
176
|
+
| Checking if docs match current code | `/docs verify` |
|
|
177
|
+
| Full maintenance pipeline (8 steps) | `/meta fix` |
|
|
178
|
+
| Deploying code and auto-generating maps | `/meta deploy` |
|
|
179
179
|
|
|
180
180
|
---
|
|
181
181
|
|
|
@@ -54,7 +54,7 @@ Project-level configuration. The scaffolded file includes `templateVersion`, whi
|
|
|
54
54
|
import type { ElevasConfig } from '@elevasis/sdk'
|
|
55
55
|
|
|
56
56
|
export default {
|
|
57
|
-
templateVersion:
|
|
57
|
+
templateVersion: 28,
|
|
58
58
|
// defaultStatus: 'dev', // Default status for new resources ('dev' | 'prod')
|
|
59
59
|
// dev: { port: 5170 }, // Local API port (internal development only)
|
|
60
60
|
} satisfies ElevasConfig
|
|
@@ -96,7 +96,7 @@ This file is NOT scaffolded by default. The agent creates it the first time you
|
|
|
96
96
|
|
|
97
97
|
### `docs/in-progress/`
|
|
98
98
|
|
|
99
|
-
Work-in-progress task documents
|
|
99
|
+
Work-in-progress task documents managed by `/work`. Each file represents an active work item with objective, plan, progress markers, and resume context. When all steps are complete, the agent suggests finalizing the task, which moves finished items to their permanent location in `docs/`.
|
|
100
100
|
|
|
101
101
|
This directory is NOT deployed -- it is filtered out during the doc scan in `elevasis-sdk deploy`.
|
|
102
102
|
|
|
@@ -112,7 +112,7 @@ Only `src/` and `docs/` are scaffolded by `elevasis-sdk init`. The following dir
|
|
|
112
112
|
| `src/example/` | `elevasis-sdk init` (default) | Always -- echo starter workflow lives here (replace with your own) |
|
|
113
113
|
| `src/shared/` | `elevasis-sdk init` (default) | Always -- cross-domain shared utilities (starts empty) |
|
|
114
114
|
| `docs/` | `elevasis-sdk init` (default) | Always |
|
|
115
|
-
| `docs/in-progress/` | Agent (on first `/work
|
|
115
|
+
| `docs/in-progress/` | Agent (on first `/work`) | When you create a task doc for in-progress work |
|
|
116
116
|
| `docs/project-map.mdx` | `elevasis-sdk deploy` | Auto-generated on every deploy |
|
|
117
117
|
| `docs/priorities.mdx` | Agent (on first goal discussion) | When you discuss project goals or priorities |
|
|
118
118
|
| `data/` | Agent (on demand) | When you connect a database |
|
|
@@ -195,7 +195,7 @@ Do not remove or heavily edit `CLAUDE.md`. It is the primary context source that
|
|
|
195
195
|
|
|
196
196
|
### `.claude/settings.json`
|
|
197
197
|
|
|
198
|
-
|
|
198
|
+
Configures Claude Code for the workspace: disables auto-compaction (prevents losing earlier context in long sessions) and registers three hooks -- a PreToolUse boundary hook, a PostToolUse formatting/type-check hook, and a PostToolUseFailure error recovery hook.
|
|
199
199
|
|
|
200
200
|
### `.claude/memory/`
|
|
201
201
|
|
|
@@ -224,7 +224,7 @@ The `.claude/commands/` directory contains four commands covering the core devel
|
|
|
224
224
|
|
|
225
225
|
- **`/meta`** -- Project lifecycle: init, status, fix, deploy, health
|
|
226
226
|
- **`/docs`** -- Browse, create, and verify permanent documentation
|
|
227
|
-
- **`/work`** -- Task tracking across sessions:
|
|
227
|
+
- **`/work`** -- Task tracking across sessions: auto-detects intent (create, save, resume); suggests complete
|
|
228
228
|
- **`/tutorial`** -- Progressive learning path adapted to your skill profile
|
|
229
229
|
|
|
230
230
|
For detailed command documentation, see [Agent System](agent).
|
|
@@ -235,7 +235,7 @@ For detailed command documentation, see [Agent System](agent).
|
|
|
235
235
|
|
|
236
236
|
Not all scaffolded files participate in template updates. Files fall into two categories:
|
|
237
237
|
|
|
238
|
-
**SCAFFOLD_FILES total:
|
|
238
|
+
**SCAFFOLD_FILES total: 32**
|
|
239
239
|
|
|
240
240
|
**INIT_ONLY** (14 files) -- Written once during `elevasis-sdk init`, never updated by `elevasis-sdk update`:
|
|
241
241
|
|
|
@@ -245,10 +245,10 @@ Not all scaffolded files participate in template updates. Files fall into two ca
|
|
|
245
245
|
- `docs/index.mdx`, `docs/in-progress/.gitkeep`
|
|
246
246
|
- `.claude/rules/workspace-patterns.md`
|
|
247
247
|
|
|
248
|
-
**MANAGED** (
|
|
248
|
+
**MANAGED** (18 files) -- Written during `elevasis-sdk init` and checked/updatable by `elevasis-sdk update`:
|
|
249
249
|
|
|
250
250
|
- `elevasis.config.ts`, `.gitignore`, `CLAUDE.md`, `.claude/settings.json`
|
|
251
|
-
-
|
|
251
|
+
- Three hooks: `.claude/hooks/enforce-sdk-boundary.mjs`, `.claude/hooks/post-edit-validate.mjs`, `.claude/hooks/tool-failure-recovery.mjs`
|
|
252
252
|
- Four command files: `.claude/commands/meta.md`, `.claude/commands/docs.md`, `.claude/commands/tutorial.md`, `.claude/commands/work.md`
|
|
253
253
|
- One skill: `.claude/skills/creds/SKILL.md`
|
|
254
254
|
- Five rule files: `.claude/rules/sdk-patterns.md`, `.claude/rules/docs-authoring.md`, `.claude/rules/memory-conventions.md`, `.claude/rules/project-map.md`, `.claude/rules/task-tracking.md`
|
|
@@ -31,7 +31,7 @@ my-project/
|
|
|
31
31
|
│ │ ├── tutorial.md # Progressive learning
|
|
32
32
|
│ │ └── work.md # Task tracking
|
|
33
33
|
│ ├── hooks/
|
|
34
|
-
│ │ └── enforce-sdk-boundary.mjs # Blocks
|
|
34
|
+
│ │ └── enforce-sdk-boundary.mjs # Blocks file modifications outside project (auto-loaded)
|
|
35
35
|
│ ├── scripts/
|
|
36
36
|
│ │ └── statusline-command.js # Dynamic status line script
|
|
37
37
|
│ ├── skills/
|