create-snipara 2.1.0 → 2.1.1

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 CHANGED
@@ -6,6 +6,10 @@
6
6
  with project-owned context, reviewed memory, shared guidance, and optional code
7
7
  impact tooling instead of starting cold every session.
8
8
 
9
+ The shortest path is three moments: connect the folder your agent already uses,
10
+ let Snipara index its project context, then ask one question that only the
11
+ project can answer.
12
+
9
13
  ```bash
10
14
  npx create-snipara
11
15
  ```
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import { homedir } from "os";
14
14
  // package.json
15
15
  var package_default = {
16
16
  name: "create-snipara",
17
- version: "2.1.0",
17
+ version: "2.1.1",
18
18
  description: "Onboard Snipara Cloud or self-hosted MCP with an automatic project-grounded proof of value",
19
19
  main: "dist/index.js",
20
20
  type: "module",
@@ -98,7 +98,7 @@ var COMPANION_PACKAGE_NAME = "snipara-companion";
98
98
  var COMPANION_COMMAND_NAME = "snipara-companion";
99
99
  var COMPANION_NPX_COMMAND = "npx -y snipara-companion@latest";
100
100
  var CREATE_SNIPARA_NPX_COMMAND = "npx -y create-snipara@latest";
101
- var MIN_COMPANION_VERSION = "3.0.0";
101
+ var MIN_COMPANION_VERSION = "3.8.0";
102
102
  var GITHUB_ANSWER_PACKS_LABEL = "GitHub PR Answer Packs";
103
103
  var MCP_PACKAGE_NAME = "snipara-mcp";
104
104
  var SANDBOX_PACKAGE_NAME = "snipara-sandbox[all]";
@@ -3510,8 +3510,7 @@ Agent task lifecycle:
3510
3510
  commit SHA, indexing time, included file sample, coverage, freshness warnings,
3511
3511
  and sync guidance before relying on it. If \`git status --short\` is dirty,
3512
3512
  warn that the indexed graph may not include local edits.
3513
- 12. Use Snipara Sandbox only when sandboxed execution, repeatable validation, or
3514
- isolated transformations materially help.
3513
+ 12. Before executable repository tests, probe the required Snipara Sandbox capabilities using \`validation gate\` with an explicit request and workflow/lot scope. If absent, inaccessible or incompatible, ask the user to choose another test environment, install/configure Sandbox, or continue without Sandbox (local tests versus no tests). Never fall back silently or treat no response as approval; preserve the scoped choice and proof limits across resume. Static reads and documentation do not require a container.
3515
3514
  13. If a broad query is slow, retry once with a narrow keyword query before
3516
3515
  falling back to local search.
3517
3516
  14. When generated hooks are enabled, \`snipara-companion pre-tool\`, \`post-tool\`,
@@ -3562,7 +3561,7 @@ ${EXPERIENCE_GOAL_SECTION}
3562
3561
  - If a broad query is slow, retry once with a narrow keyword query before falling back to local search.
3563
3562
  - When the plan is visible and \`snipara-companion\` is installed, keep the machine plan in JSON, use \`snipara-companion workflow start\`, \`phase-start\`, and \`phase-commit\` per phase, and after \`workflow resume\` rerun \`workflow phase-start\` before editing again.
3564
3563
  - If generated hooks are enabled, \`snipara-companion pre-tool\`, \`post-tool\`, and \`stuck-guard status\` provide runtime Rescue Pack checks when the agent loops on failures or empty searches.
3565
- - Use Snipara Sandbox only when sandboxed execution or repeatable validation materially helps. For runtime-bound phases, capture compact rehydratable state with \`workflow runtime-checkpoint <phase_id> --summary "<state>" --rehydrate-file <state.json>\`. Then \`workflow resume\` restores workflow and memory continuity plus the recorded Sandbox binding and prints a reattach or rehydrate plan. It does not snapshot or exactly restore a live Snipara Sandbox or REPL process.
3564
+ - Before executable repository tests, run \`validation gate\` with an explicit request and workflow/lot scope. If unavailable or incompatible, ask the user to choose another environment, install/configure Sandbox, or continue without Sandbox (local tests versus no tests). Never fall back silently or infer approval. Preserve the scoped choice and proof requirements across resume. For runtime-bound phases, capture compact rehydratable state with \`workflow runtime-checkpoint <phase_id> --summary "<state>" --rehydrate-file <state.json>\`. Then \`workflow resume\` restores workflow and memory continuity plus the recorded Sandbox binding and prints a reattach or rehydrate plan. It does not snapshot or exactly restore a live Snipara Sandbox or REPL process.
3566
3565
  - End substantial work with \`snipara_end_of_task_commit\` when available; for managed workflows, end every phase with \`snipara-companion workflow phase-commit\` and the task with \`snipara-companion final-commit\`.
3567
3566
  - Use \`snipara_remember_if_novel\` or \`snipara_remember\` only for narrow durable memories.
3568
3567
  - When remembered knowledge is obsolete or replaced and \`snipara-companion\` is installed, use \`snipara-companion memory invalidate <memory-id>\` or \`snipara-companion memory supersede <old-memory-id> <new-memory-id>\`; otherwise use hosted \`snipara_memory_invalidate\` or \`snipara_memory_supersede\`.
@@ -3603,7 +3602,7 @@ ${EXPERIENCE_GOAL_SECTION}
3603
3602
  - If a broad query is slow, retry once with a narrow keyword query before falling back to local search.
3604
3603
  - When \`snipara-companion\` is installed and the LLM has a visible multi-phase plan, keep the machine plan in JSON, use \`snipara-companion workflow start\`, \`phase-start\`, and \`phase-commit\` per phase, and after \`workflow resume\` rerun \`workflow phase-start\` before editing again.
3605
3604
  - Generated hooks can call \`snipara-companion pre-tool\`, \`post-tool\`, and \`stuck-guard status\` so Rescue Packs are runtime-triggered rather than relying only on instructions.
3606
- - Use Snipara Sandbox only when sandboxed execution or repeatable validation materially helps. For runtime-bound phases, capture compact rehydratable state with \`workflow runtime-checkpoint <phase_id> --summary "<state>" --rehydrate-file <state.json>\`. Then \`workflow resume\` restores workflow and memory continuity plus the recorded Sandbox binding and prints a reattach or rehydrate plan. It does not snapshot or exactly restore a live Snipara Sandbox or REPL process.
3605
+ - Before executable repository tests, run \`validation gate\` with an explicit request and workflow/lot scope. If unavailable or incompatible, ask the user to choose another environment, install/configure Sandbox, or continue without Sandbox (local tests versus no tests). Never fall back silently or infer approval. Preserve the scoped choice and proof requirements across resume. For runtime-bound phases, capture compact rehydratable state with \`workflow runtime-checkpoint <phase_id> --summary "<state>" --rehydrate-file <state.json>\`. Then \`workflow resume\` restores workflow and memory continuity plus the recorded Sandbox binding and prints a reattach or rehydrate plan. It does not snapshot or exactly restore a live Snipara Sandbox or REPL process.
3607
3606
  - End substantial work with \`snipara_end_of_task_commit\` when available; for managed workflows, end every phase with \`snipara-companion workflow phase-commit\` and the task with \`snipara-companion final-commit\`. Use \`snipara_remember_if_novel\` or \`snipara_remember\` only for narrow durable memories. When remembered knowledge is obsolete or replaced, use \`snipara-companion memory invalidate <memory-id>\` or \`snipara-companion memory supersede <old-memory-id> <new-memory-id>\` when companion is installed; otherwise use hosted \`snipara_memory_invalidate\` or \`snipara_memory_supersede\`. Never store secrets.
3608
3607
  `;
3609
3608
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-snipara",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Onboard Snipara Cloud or self-hosted MCP with an automatic project-grounded proof of value",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",