@hasna/instructions 0.4.3 → 0.4.5
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 +19 -7
- package/dist/cli/index.js +3128 -3063
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1685 -1452
- package/dist/lib/apply.d.ts.map +1 -1
- package/dist/lib/config-agents.d.ts +6 -0
- package/dist/lib/config-agents.d.ts.map +1 -0
- package/dist/lib/global-agent-rules-standard.d.ts +6 -0
- package/dist/lib/global-agent-rules-standard.d.ts.map +1 -0
- package/dist/lib/global-agent-rules-standard.test.d.ts +2 -0
- package/dist/lib/global-agent-rules-standard.test.d.ts.map +1 -0
- package/dist/lib/session-render.d.ts +9 -4
- package/dist/lib/session-render.d.ts.map +1 -1
- package/dist/lib/sync.d.ts.map +1 -1
- package/dist/mcp/index.js +95 -22
- package/dist/server/index.js +38 -58
- package/dist/status.d.ts +3 -0
- package/dist/status.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -157,7 +157,12 @@ Local data is stored in `~/.hasna/configs/` (unchanged, for fleet continuity).
|
|
|
157
157
|
|
|
158
158
|
`instructions session plan` and `instructions session apply` render
|
|
159
159
|
OpenIdentities and instruction sources into provider-native files for Claude,
|
|
160
|
-
Codex, Cursor, OpenCode, and
|
|
160
|
+
Codex, Cursor, OpenCode, Codewith, aicopilot, and Google Antigravity.
|
|
161
|
+
The old Google agent target is removed; Antigravity is the only Google coding
|
|
162
|
+
agent render target. Antigravity workspace rules are rendered to
|
|
163
|
+
`.agents/rules/*.md`; its current global rules and MCP files use Google's
|
|
164
|
+
legacy-named `~/.gemini/GEMINI.md` and `~/.gemini/config/mcp_config.json`
|
|
165
|
+
paths but remain owned by the `antigravity` target.
|
|
161
166
|
|
|
162
167
|
```bash
|
|
163
168
|
instructions session plan \
|
|
@@ -173,12 +178,19 @@ instructions session apply \
|
|
|
173
178
|
--identity-export ./instructions.json
|
|
174
179
|
```
|
|
175
180
|
|
|
176
|
-
Accepted source layers are `global`, `provider`/`tool`, `account`,
|
|
177
|
-
`
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
181
|
+
Accepted source layers are `global`, `provider`/`tool`, `account`, `machine`,
|
|
182
|
+
`division`, `workspace`, `project`/`repo`, `path`, `identity`/`agent`,
|
|
183
|
+
`session`, and `local`. Empty renders fail closed unless `--allow-empty-sources`
|
|
184
|
+
is passed. Apply writes generated manifests with file hashes, checks previous
|
|
185
|
+
manifests for drift, refuses unmanaged file conflicts unless `--force` is
|
|
186
|
+
passed, removes stale managed mirrors only when safe, and writes local snapshots
|
|
187
|
+
before mutating managed files.
|
|
188
|
+
|
|
189
|
+
`instructions init` and `bun run seed` also seed
|
|
190
|
+
`global-agent-rules-standard`, the managed global/system prompt source for
|
|
191
|
+
session renaming, task-scoped worktrees, PR-first landing, protected-branch
|
|
192
|
+
push safety, autonomous repair, Hasna CLI source-of-truth usage, conversation
|
|
193
|
+
surface routing, and unbudgeted Codewith goals unless a user asks for budgets.
|
|
182
194
|
|
|
183
195
|
## Machine-aware Profiles
|
|
184
196
|
|