@hasna/instructions 0.4.25 → 0.4.27
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 +8 -1
- package/dist/cli/index.js +356 -37
- package/dist/index.js +283 -28
- package/dist/lib/project-context.d.ts +4 -3
- package/dist/lib/project-context.d.ts.map +1 -1
- package/dist/lib/session-render.d.ts +1 -0
- package/dist/lib/session-render.d.ts.map +1 -1
- package/dist/mcp/index.js +25 -4
- package/dist/server/index.js +70 -0
- package/dist/server/openapi.d.ts +97 -0
- package/dist/server/openapi.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,6 +52,12 @@ small. Human output is capped at 20 rows unless you pass `--limit`; use
|
|
|
52
52
|
- `--json` preserves full machine-readable records for automation.
|
|
53
53
|
- `show`/`inspect` and `snapshot show` print full config or snapshot content.
|
|
54
54
|
|
|
55
|
+
`instructions report --json` emits the stable `schema_version: 1` report
|
|
56
|
+
envelope. Its top-level fields are `configs`, `profiles`, `drift`, `secrets`,
|
|
57
|
+
`by_agent`, and `by_category`. The nested count fields are numeric, and
|
|
58
|
+
`secrets.policy` is `redacted_on_ingest`. Run `instructions report` without
|
|
59
|
+
`--json` for the human-readable report.
|
|
60
|
+
|
|
55
61
|
## Package-Manager Secret Guard
|
|
56
62
|
|
|
57
63
|
`instructions package-manager-scan` blocks package-manager credential ingress without
|
|
@@ -243,7 +249,8 @@ never silently become "overwrite renderer-owned instruction files".
|
|
|
243
249
|
### Managed project context
|
|
244
250
|
|
|
245
251
|
`instructions project-context plan|apply` is the sole writer for the strict
|
|
246
|
-
`hasna.projects.project_context_bundle.v1`
|
|
252
|
+
`hasna.projects.project_context_bundle.v1` and schema-compatible
|
|
253
|
+
`hasna.projects.project_context_bundle.v2` contracts emitted by Projects. It
|
|
247
254
|
accepts bounded structured JSON from a regular file or stdin and never invokes
|
|
248
255
|
Projects, Todos, Conversations, or Mementos while rendering:
|
|
249
256
|
|