node-persist-manager 2.1.2-dev-20260914-84cac00 → 2.1.2-dev-20260921-e91df0e

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
@@ -23,6 +23,21 @@ If you like this project and find it useful, please consider giving it a star on
23
23
 
24
24
  ## [2.1.2] - Dev branch
25
25
 
26
+ ### Added
27
+
28
+ - [devcontainer]: Add [`Dev Container`](.devcontainer/README.md) v.2.2.0 with dual Node and Bun runtime support.
29
+ - [agents]: Add a [`shared setup`](.agents/README.md) for all agents: OpenAI Codex, Claude Code, GitHub Copilot and Google Gemini / Antigravity.
30
+
31
+ ### Changed
32
+
33
+ - [package]: Upgrade package.
34
+ - [package]: Bump `oxfmt` to v.0.68.0.
35
+ - [package]: Bump `oxlint` to v.1.83.0.
36
+ - [package]: Bump `oxlint-tsgolint` to v.7.0.2002.
37
+ - [package]: Bump `vitest` to v.5.0.1.
38
+ - [package]: Bump `@vitest/coverage-v8` to v.5.0.1.
39
+ - [package]: Bump `@types/node` to v.26.6.2.
40
+
26
41
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
27
42
 
28
43
  ## [2.1.1] - 2026-08-29
package/README.md CHANGED
@@ -132,17 +132,73 @@ await myStorage.clear();
132
132
 
133
133
  - async logStorage(): Promise&lt;void&gt;
134
134
 
135
- # Repository setup
135
+ ## Repository toolchain
136
136
 
137
- > **Note:** This repository uses a new toolchain. It replaces the traditional TypeScript / ESLint / Prettier / Jest stack with a faster, lighter setup.
137
+ > **Note:** This repository uses a new toolchain. It replaces the traditional TypeScript / ESLint / Prettier / Jest stack with a faster and lighter setup.
138
138
 
139
- - **No `typescript` package** — replaced by [TypeScript Native](https://github.com/microsoft/typescript-go). The `typescript` package is kept only as a publish-time dependency while tsgo is still in preview.
139
+ - **No `typescript 6.x` package** — replaced by [TypeScript Native 7.x](https://github.com/microsoft/typescript-go).
140
140
  - **No ESLint, no Prettier** — replaced by the [oxc](https://oxc.rs) stack: [oxlint](https://oxc.rs/docs/guide/usage/linter.html) for linting and [oxfmt](https://oxc.rs/docs/guide/usage/formatter.html) for formatting.
141
141
  - **No Jest** — replaced by [Vitest](https://vitest.dev), which is much faster and natively supports ESM without extra configuration.
142
- - **Far fewer development dependencies** — the number of installed packages drops from **~600** to **~80**. A clean install is much faster.
142
+ - **Far fewer development dependencies** — the number of installed packages drops from **~600** to **~75**. A clean install is much faster.
143
143
  - **Much faster linting and formatting** — oxlint and oxfmt run in a fraction of the time required by the ESLint / Prettier pipeline.
144
144
  - **Much faster builds** — tsgo compiles the project in a fraction of the time required by the standard `tsc` build.
145
- - **Editor support** — uses the VS Code extensions for tsgo and oxc to get the same experience in the editor.
145
+ - **Editor support** — use the VS Code extensions for tsgo and oxc to get the same experience in the editor.
146
+
147
+ ## Shared agent instructions
148
+
149
+ All coding agents read the same guidance. [AGENTS.md](./AGENTS.md) and [.agents/](./.agents/) are the **single source of truth**; everything under `.github/`, `.claude/`, `.codex/` and `.antigravity/` are pointers and mirrors. Edit `.agents/` (or `AGENTS.md`), never the copies. See [.agents/README.md](./.agents/README.md) for the full layout.
150
+
151
+ | File | Notes |
152
+ | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
153
+ | `AGENTS.md` | Main project instructions — shared by every agent |
154
+ | `.agents/README.md` | Layout and versioning of the shared instructions |
155
+ | `.agents/rules/testing.instructions.md` | Testing standards for unit tests |
156
+ | `.agents/skills/verify-agent-context/SKILL.md` | Verify the agent loaded this context — `$verify-agent-context` (Codex), `/verify-agent-context` (all others) |
157
+
158
+ Content lives only in `.agents/`. The per-agent folders exist because each tool discovers rules and skills from its own hardcoded location, so they hold stubs that point back here — except where the tool reads `.agents/` natively.
159
+
160
+ | Tool | Instructions | Rules | Skills |
161
+ | ---------------------------------- | ----------------------------------------------- | ----------------------------------------------------- | --------------------------------------------------- |
162
+ | Codex | `AGENTS.md` — read natively | `.agents/rules/` — linked from `AGENTS.md`, on demand | `.agents/skills/` — native, `$verify-agent-context` |
163
+ | Copilot (VS Code and coding agent) | `.github/copilot-instructions.md` → `AGENTS.md` | stubs in `.github/instructions/` — `applyTo` globs | stub in `.github/skills/` — `/verify-agent-context` |
164
+ | Claude Code | `CLAUDE.md` imports `AGENTS.md` | stubs in `.claude/rules/` — `paths` globs | stub in `.claude/skills/` — `/verify-agent-context` |
165
+ | Gemini / Antigravity | `GEMINI.md` imports `AGENTS.md` | `.agents/rules/` — on demand | `.agents/skills/` — native, `/verify-agent-context` |
166
+
167
+ ### Copilot instructions
168
+
169
+ | File | Notes |
170
+ | ------------------------------------------------------ | -------------------------------------------- |
171
+ | `.github/copilot-instructions.md` | Pointer to AGENTS.md — always loaded |
172
+ | `.github/instructions/testing/testing.instructions.md` | Testing standards — scoped to `**/*.test.ts` |
173
+ | `.github/skills/verify-agent-context/SKILL.md` | Skill invocable as `/verify-agent-context` |
174
+
175
+ ### Claude instructions
176
+
177
+ | File | Notes |
178
+ | ----------------------------------------------- | --------------------------------------------- |
179
+ | `CLAUDE.md` | Pointer to AGENTS.md — always loaded |
180
+ | `.claude/settings.json` | Claude permissions: allow, ask and deny rules |
181
+ | `.claude/rules/testing/testing.instructions.md` | Testing standards — scoped to `**/*.test.ts` |
182
+ | `.claude/skills/verify-agent-context/SKILL.md` | Skill invocable as `/verify-agent-context` |
183
+
184
+ ### Codex instructions
185
+
186
+ | File | Notes |
187
+ | ---------------------------- | ----------------------------------------------------------------- |
188
+ | `AGENTS.md` | Main project instructions — read directly, no pointer file needed |
189
+ | `.codex/config.toml` | Codex project permissions, approvals, and profile |
190
+ | `.codex/rules/default.rules` | Codex command allow, prompt, and deny rules |
191
+
192
+ Codex reads the shared rules and skills from `.agents/` directly; the skill is invoked as `$verify-agent-context`.
193
+
194
+ ### Gemini / Antigravity instructions
195
+
196
+ | File | Notes |
197
+ | ---------------------------- | ----------------------------------------------------- |
198
+ | `GEMINI.md` | Pointer to AGENTS.md — always loaded |
199
+ | `.antigravity/settings.json` | Sandboxing and permissions: allow, ask and deny rules |
200
+
201
+ The shared rules under `.agents/rules/` apply on demand for the relevant tasks, and `.agents/skills/` is discovered automatically as `/verify-agent-context`.
146
202
 
147
203
  # Contributing
148
204
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "node-persist-manager",
3
- "version": "2.1.2-dev-20260914-84cac00",
3
+ "version": "2.1.2-dev-20260921-e91df0e",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "node-persist-manager",
9
- "version": "2.1.2-dev-20260914-84cac00",
9
+ "version": "2.1.2-dev-20260921-e91df0e",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "node-persist": "4.0.4"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-persist-manager",
3
- "version": "2.1.2-dev-20260914-84cac00",
3
+ "version": "2.1.2-dev-20260921-e91df0e",
4
4
  "description": "Asyncronous Node.js storage manager in type script",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",