create-snipara 2.2.1 → 2.2.3
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 +3 -3
- package/dist/index.js +7 -8
- package/dist/managed-toolchain.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -228,7 +228,7 @@ That distinction matters:
|
|
|
228
228
|
- installs `snipara-companion` only with `--advanced`, `--profile hosted-companion`,
|
|
229
229
|
`--profile full-stack`, or `repair --with-companion`
|
|
230
230
|
- installs optional `snipara-sandbox`
|
|
231
|
-
- installs optional `snipara-orchestrator` for proof gates
|
|
231
|
+
- installs optional `snipara-orchestrator` for proof gates and drift checks when requested
|
|
232
232
|
- configures `.mcp.json`
|
|
233
233
|
- generates merge-ready AI agent templates in `.snipara/templates/`, including symbol-card, code-impact, and managed workflow guidance within plan capacity
|
|
234
234
|
- creates `AGENTS.md` and `CLAUDE.md` when missing, or appends a marked Snipara section when those files already exist
|
|
@@ -322,7 +322,7 @@ doctor report, with no local Companion install, hooks, GitHub approval prompt, o
|
|
|
322
322
|
sandbox prompt. Add `--advanced` when you want profile selection, project id
|
|
323
323
|
entry, hook prompts, GitHub automation prompts, or sandbox provider prompts.
|
|
324
324
|
Use `--with-orchestrator` only when you explicitly need the advanced production
|
|
325
|
-
validation
|
|
325
|
+
validation package; it is not part of `full-stack` by default.
|
|
326
326
|
|
|
327
327
|
The advanced flow asks for:
|
|
328
328
|
|
|
@@ -734,7 +734,7 @@ npx create-snipara --profile full-stack --with-orchestrator
|
|
|
734
734
|
|
|
735
735
|
Best when the user wants Hosted MCP, companion workflows, Sandbox execution, and
|
|
736
736
|
the explicit `snipara-orchestrator` package for production gates, drift checks,
|
|
737
|
-
|
|
737
|
+
and coordination.
|
|
738
738
|
|
|
739
739
|
### Connect the current repository
|
|
740
740
|
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { homedir as homedir2 } from "os";
|
|
|
14
14
|
// package.json
|
|
15
15
|
var package_default = {
|
|
16
16
|
name: "create-snipara",
|
|
17
|
-
version: "2.2.
|
|
17
|
+
version: "2.2.3",
|
|
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",
|
|
@@ -219,8 +219,8 @@ function parseManagedToolchainManifest(value) {
|
|
|
219
219
|
|
|
220
220
|
// src/managed-versions.json
|
|
221
221
|
var managed_versions_default = {
|
|
222
|
-
companion: "
|
|
223
|
-
orchestrator: "
|
|
222
|
+
companion: "5.0.0",
|
|
223
|
+
orchestrator: "2.0.0",
|
|
224
224
|
sandbox: "3.0.0"
|
|
225
225
|
};
|
|
226
226
|
|
|
@@ -3077,7 +3077,7 @@ async function gatherConfiguration(options) {
|
|
|
3077
3077
|
{
|
|
3078
3078
|
type: showAdvancedPrompts ? "confirm" : null,
|
|
3079
3079
|
name: "installOrchestrator",
|
|
3080
|
-
message: "Install snipara-orchestrator for production gates
|
|
3080
|
+
message: "Install snipara-orchestrator for production gates or drift checks?",
|
|
3081
3081
|
initial: Boolean(options.withOrchestrator)
|
|
3082
3082
|
},
|
|
3083
3083
|
{
|
|
@@ -4241,7 +4241,7 @@ function buildSniparaContextWorkflowSkill(endpoint, companionPrefix) {
|
|
|
4241
4241
|
"- LITE: small known-file work with low risk.",
|
|
4242
4242
|
"- STANDARD: normal project work that benefits from context and code graph follow-up.",
|
|
4243
4243
|
"- FULL: multi-file, risky, release/deploy, auth, billing, schema, migration, architectural, or compaction-prone work.",
|
|
4244
|
-
"- Orchestrated FULL: work that needs
|
|
4244
|
+
"- Orchestrated FULL: work that needs production proof gates, routing, or parallel workers.",
|
|
4245
4245
|
"",
|
|
4246
4246
|
"Use Companion for managed workflow state when available:",
|
|
4247
4247
|
"",
|
|
@@ -5397,8 +5397,7 @@ function getClientGuidance(client) {
|
|
|
5397
5397
|
"Codex should use the hosted MCP surface plus AGENTS.md as the canonical project instruction file.",
|
|
5398
5398
|
"The generated .snipara/templates/codex-config.toml is a merge-ready snippet for ~/.codex/config.toml if your Codex app does not read project .codex/config.toml.",
|
|
5399
5399
|
"Use SNIPARA_API_KEY as the only Codex bearer_token_env_var; restart Codex after changing MCP config.",
|
|
5400
|
-
"If Codex exposes only the lean Snipara tool set, that is expected. Use snipara_help(query=...) for routed guidance and snipara_help(list_all=true) to inspect specialist opt-in surfaces before requesting exact
|
|
5401
|
-
"When Codex cannot expose orchestration schemas directly, use snipara-orchestrator swarm-* and htask-* as the primary path for shared queues and multi-agent task work."
|
|
5400
|
+
"If Codex exposes only the lean Snipara tool set, that is expected. Use snipara_help(query=...) for routed guidance and snipara_help(list_all=true) to inspect specialist opt-in surfaces before requesting exact schemas."
|
|
5402
5401
|
];
|
|
5403
5402
|
}
|
|
5404
5403
|
if (client === "gemini") {
|
|
@@ -5556,7 +5555,7 @@ function getCompanionCommands(answers) {
|
|
|
5556
5555
|
{
|
|
5557
5556
|
title: answers.installOrchestrator ? "Run an explicit production orchestration gate" : "Enable explicit production orchestration",
|
|
5558
5557
|
command: answers.installOrchestrator ? `${ORCHESTRATOR_COMMAND_NAME} check-drift --route /api/health` : `${CREATE_SNIPARA_NPX_COMMAND} repair --with-orchestrator`,
|
|
5559
|
-
purpose: answers.installOrchestrator ? "Use snipara-orchestrator only for proof-based validation, drift checks,
|
|
5558
|
+
purpose: answers.installOrchestrator ? "Use snipara-orchestrator only for proof-based validation, drift checks, or multi-agent coordination." : "Install snipara-orchestrator only when production gates, drift checks, or multi-agent coordination are required."
|
|
5560
5559
|
},
|
|
5561
5560
|
githubAnswerPacksCommand,
|
|
5562
5561
|
{
|
|
@@ -126,8 +126,8 @@ function parseManagedToolchainManifest(value) {
|
|
|
126
126
|
|
|
127
127
|
// src/managed-versions.json
|
|
128
128
|
var managed_versions_default = {
|
|
129
|
-
companion: "
|
|
130
|
-
orchestrator: "
|
|
129
|
+
companion: "5.0.0",
|
|
130
|
+
orchestrator: "2.0.0",
|
|
131
131
|
sandbox: "3.0.0"
|
|
132
132
|
};
|
|
133
133
|
|