create-snipara 2.0.4 → 2.0.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/dist/index.js +12 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { homedir } from "os";
|
|
|
13
13
|
// package.json
|
|
14
14
|
var package_default = {
|
|
15
15
|
name: "create-snipara",
|
|
16
|
-
version: "2.0.
|
|
16
|
+
version: "2.0.5",
|
|
17
17
|
description: "Onboard Snipara Hosted MCP Context + Memory with auth, companion workflows, and optional Snipara Sandbox",
|
|
18
18
|
main: "dist/index.js",
|
|
19
19
|
type: "module",
|
|
@@ -1758,7 +1758,9 @@ Agent task lifecycle:
|
|
|
1758
1758
|
1. Start every new thread by validating hosted MCP availability, then use
|
|
1759
1759
|
project-scoped \`snipara_recall\` and a targeted \`snipara_context_query\` before
|
|
1760
1760
|
falling back to local documentation search.
|
|
1761
|
-
2. Use \`snipara_context_query\` for docs, business context, client/project truth,
|
|
1761
|
+
2. Use \`snipara_context_query\` for docs, business context, client/project truth,
|
|
1762
|
+
architecture notes, runbooks, and narrative source material. Keep simple Q&A
|
|
1763
|
+
and single-source lookups on a targeted \`snipara_context_query\`.
|
|
1762
1764
|
3. When \`snipara_context_query\` returns \`answer_pack\`, treat it as the first-pass response plan: use its source facts, caveats, source map, and verification checklist before drafting claims.
|
|
1763
1765
|
4. Use \`snipara_get_chunk\` to load cited source sections returned by reference-based queries before relying on precise wording.
|
|
1764
1766
|
5. For coding tasks, choose a workflow mode before editing: LITE for small
|
|
@@ -1771,8 +1773,11 @@ Agent task lifecycle:
|
|
|
1771
1773
|
context and \`snipara-companion code impact\` before risky multi-file changes, PR
|
|
1772
1774
|
reviews, routes, services, jobs, auth, billing, deployment, schema, migrations,
|
|
1773
1775
|
or explicit "what is missing" assessments.
|
|
1774
|
-
8. Use \`snipara_plan\` for complex work in any plan when
|
|
1775
|
-
|
|
1776
|
+
8. Use \`snipara_plan\` for complex or multi-surface work in any plan when
|
|
1777
|
+
exposed. For FULL-mode audits, comparisons, roadmap/implementation planning,
|
|
1778
|
+
release readiness, or package-surface reviews, use \`snipara_decompose\` to
|
|
1779
|
+
preserve the work axes and \`snipara_multi_query\` to execute independent
|
|
1780
|
+
follow-up questions when Pro+ tools are exposed.
|
|
1776
1781
|
9. When the LLM has produced a visible multi-phase plan and \`snipara-companion\`
|
|
1777
1782
|
is installed, keep the machine plan in JSON and run
|
|
1778
1783
|
\`snipara-companion workflow start --goal "<goal>" --plan-file <plan_json_file>\`.
|
|
@@ -1828,7 +1833,7 @@ ${EXPERIENCE_GOAL_SECTION}
|
|
|
1828
1833
|
- Use \`snipara_context_query\` for source truth and \`snipara_get_chunk\` for exact cited sections.
|
|
1829
1834
|
- When \`snipara_context_query\` returns \`answer_pack\`, use its facts, caveats, source map, and verification checklist before drafting claims.
|
|
1830
1835
|
- For coding tasks, choose a workflow mode before editing: LITE for small single-phase changes, FULL managed workflow for multi-file, risky, release/deploy, architectural, compaction-prone, or future-maintainer-sensitive work.
|
|
1831
|
-
- Use \`snipara_plan\` for complex work when exposed
|
|
1836
|
+
- Use \`snipara_plan\` for complex or multi-surface work when exposed. Keep simple Q&A on targeted \`snipara_context_query\`; for FULL-mode audits, comparisons, roadmap/implementation planning, release readiness, or package-surface reviews, use \`snipara_decompose\` to preserve axes and \`snipara_multi_query\` for independent follow-up questions when Pro+ tools are exposed.
|
|
1832
1837
|
- Use \`snipara_code_callers\`, \`snipara_code_imports\`, \`snipara_code_neighbors\`, or \`snipara_code_shortest_path\` for canonical structural code questions.
|
|
1833
1838
|
- For code impact and structural code questions, use \`snipara-companion code callers/imports/neighbors/shortest-path/impact\` first when \`snipara-companion\` is installed; it auto-selects hosted MCP for clean indexed code or the local overlay for dirty/ahead worktrees and reports \`sourceSelection\`. Use hosted \`snipara_code_impact\` only when companion is unavailable or after push/reindex for canonical graph impact.
|
|
1834
1839
|
- Run \`snipara-companion code impact\` before risky multi-file changes, PR reviews, routes, services, jobs, auth, billing, deployment, schema, migrations, or explicit "what is missing" assessments.
|
|
@@ -1874,7 +1879,7 @@ ${EXPERIENCE_GOAL_SECTION}
|
|
|
1874
1879
|
- Run \`snipara-companion code impact\` before risky multi-file changes, PR reviews, routes, services, jobs, auth, billing, deployment, schema, migrations, or explicit "what is missing" assessments.
|
|
1875
1880
|
- On paid Context plans, use \`snipara_code_symbol_card\` before editing important symbols.
|
|
1876
1881
|
- Check every \`snipara_code_*\` response for indexed commit SHA, indexing time, included files, coverage, and freshness warnings.
|
|
1877
|
-
- Use \`snipara_plan\` for complex work when available
|
|
1882
|
+
- Use \`snipara_plan\` for complex or multi-surface work when available. Keep simple Q&A on targeted \`snipara_context_query\`; for FULL-mode audits, comparisons, roadmap/implementation planning, release readiness, or package-surface reviews, use \`snipara_decompose\` to preserve axes and \`snipara_multi_query\` for independent follow-up questions when Pro+ tools are exposed.
|
|
1878
1883
|
- Use local file reads, \`rg\`, \`git status --short\`, and tests for exact code edits and current working-tree state.
|
|
1879
1884
|
- If a broad query is slow, retry once with a narrow keyword query before falling back to local search.
|
|
1880
1885
|
- 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.
|
|
@@ -2840,7 +2845,7 @@ ${guidance.map((line) => `- ${line}`).join("\n")}
|
|
|
2840
2845
|
- Start substantial work with \`snipara_recall\` and \`snipara_context_query\`.
|
|
2841
2846
|
- Use \`answer_pack\` facts, caveats, source maps, and verification checks before making claims.
|
|
2842
2847
|
- For coding tasks, choose a workflow mode before editing: LITE for small single-phase changes, FULL managed workflow for multi-file, risky, release/deploy, architectural, compaction-prone, or future-maintainer-sensitive work.
|
|
2843
|
-
- Use \`snipara_plan\` for complex work when exposed
|
|
2848
|
+
- Use \`snipara_plan\` for complex or multi-surface work when exposed. Keep simple Q&A on targeted \`snipara_context_query\`; for FULL-mode audits, comparisons, roadmap/implementation planning, release readiness, or package-surface reviews, use \`snipara_decompose\` to preserve axes and \`snipara_multi_query\` for independent follow-up questions when Pro+ tools are exposed.
|
|
2844
2849
|
- Use \`snipara_code_symbol_card\` for important symbols. For risky multi-file changes, PR reviews, routes, services, jobs, auth, billing, deployment, schema, migrations, or explicit "what is missing" assessments, use \`snipara-companion code impact\` first when companion is available; use hosted \`snipara_code_impact\` only when companion is unavailable or after push/reindex for canonical graph impact.
|
|
2845
2850
|
- Use the installed \`snipara-companion\` binary for low-latency hooks; use \`${COMPANION_NPX_COMMAND}\` for one-off terminal commands when freshness matters.
|
|
2846
2851
|
- If a broad query is slow, retry once with a narrow keyword query before falling back to local search.
|
package/package.json
CHANGED