@hasna/instructions 0.4.19 → 0.4.21

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 (36) hide show
  1. package/README.md +12 -4
  2. package/dist/cli/add-reference-update.test.d.ts +2 -0
  3. package/dist/cli/add-reference-update.test.d.ts.map +1 -0
  4. package/dist/cli/doctor-reference-duplicates.test.d.ts +2 -0
  5. package/dist/cli/doctor-reference-duplicates.test.d.ts.map +1 -0
  6. package/dist/cli/index.js +366 -103
  7. package/dist/cli/profile-reads.test.d.ts +2 -0
  8. package/dist/cli/profile-reads.test.d.ts.map +1 -0
  9. package/dist/cli/profile-update.test.d.ts +2 -0
  10. package/dist/cli/profile-update.test.d.ts.map +1 -0
  11. package/dist/data/config-store.d.ts +10 -1
  12. package/dist/data/config-store.d.ts.map +1 -1
  13. package/dist/db/profiles.d.ts +4 -1
  14. package/dist/db/profiles.d.ts.map +1 -1
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +226 -30
  18. package/dist/lib/bounded-read.d.ts +7 -0
  19. package/dist/lib/bounded-read.d.ts.map +1 -0
  20. package/dist/lib/config-target-identity.d.ts +76 -0
  21. package/dist/lib/config-target-identity.d.ts.map +1 -1
  22. package/dist/lib/project-dashboard-standard.d.ts +1 -1
  23. package/dist/lib/project-dashboard-standard.d.ts.map +1 -1
  24. package/dist/mcp/index.js +314 -127
  25. package/dist/mcp/server.d.ts.map +1 -1
  26. package/dist/server/index.js +246 -36
  27. package/dist/server/openapi.d.ts +246 -20
  28. package/dist/server/openapi.d.ts.map +1 -1
  29. package/dist/server/profile-contract.test.d.ts +2 -0
  30. package/dist/server/profile-contract.test.d.ts.map +1 -0
  31. package/dist/server/v1.d.ts.map +1 -1
  32. package/dist/storage/cloud-store.d.ts +8 -1
  33. package/dist/storage/cloud-store.d.ts.map +1 -1
  34. package/dist/types/index.d.ts +24 -0
  35. package/dist/types/index.d.ts.map +1 -1
  36. package/package.json +1 -1
package/README.md CHANGED
@@ -331,14 +331,22 @@ workflows:
331
331
  - `{{PROJECT_DASHBOARD_DIR}}` -> `.hasna/project`
332
332
  - `{{PROJECT_DASHBOARD_RENDER_MANIFEST}}` -> `.hasna/project/dashboard/render.json`
333
333
  - `{{PROJECT_DASHBOARD_SNAPSHOTS_DIR}}` -> `.hasna/project/dashboard/snapshots`
334
- - `{{PROJECT_CHANNEL_PREFIX}}` -> `iproj-`
334
+ - `{{PROJECT_CHANNEL_PREFIX}}` -> `""` (no prefix; the channel is the normalized project slug)
335
+
336
+ Existing profiles can be migrated in place without deleting or recreating them:
337
+
338
+ ```bash
339
+ instructions profile update linux-arm64 \
340
+ --var PROJECT_CHANNEL_PREFIX= \
341
+ --unset-var LEGACY_VARIABLE
342
+ ```
335
343
 
336
344
  `instructions init` and `bun run seed` seed the
337
345
  `agent-managed-project-dashboard-standard` reference. It documents the standard
338
346
  `.hasna/project` layout, `projects dashboard *` commands, provider panel
339
- commands, `#iproj-*` channel naming, durable todos/goal workflow, and the rule
340
- that dashboards must show ids/statuses/evidence refs instead of raw private
341
- documents or secrets.
347
+ commands, normalized project-slug channel naming, durable todos/goal workflow,
348
+ and the rule that dashboards must show ids/statuses/evidence refs instead of raw
349
+ private documents or secrets.
342
350
 
343
351
  ## License
344
352
 
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=add-reference-update.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-reference-update.test.d.ts","sourceRoot":"","sources":["../../src/cli/add-reference-update.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=doctor-reference-duplicates.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"doctor-reference-duplicates.test.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-reference-duplicates.test.ts"],"names":[],"mappings":""}