replicas-cli 0.2.757 → 0.2.758
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.cjs +9 -10
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -24152,7 +24152,7 @@ Use subagents for broad, independent analysis when available, but read the files
|
|
|
24152
24152
|
|
|
24153
24153
|
The user may be watching the panel or may have walked away, so ask early and wait late:
|
|
24154
24154
|
|
|
24155
|
-
1. Right after step 1, request
|
|
24155
|
+
1. Right after step 1, request in one batch only the secrets you need to run the app and test its main flow (usually including sign-in) that you cannot replace locally. First check for a local stand-in the app supports, such as a local database, an auth emulator, or documented test credentials. Do not request values you can generate, values that duplicate another key, or values that are not secret, and list optional integrations in the proposal instead of requesting them. \`required\` means the app cannot start, or its main flow cannot be tested, without it.
|
|
24156
24156
|
|
|
24157
24157
|
\`\`\`bash
|
|
24158
24158
|
replicas environment-setup request-variables --file /tmp/variables.json
|
|
@@ -24161,24 +24161,23 @@ replicas environment-setup request-variables --file /tmp/variables.json
|
|
|
24161
24161
|
\`\`\`json
|
|
24162
24162
|
{
|
|
24163
24163
|
"variables": [
|
|
24164
|
-
{ "key": "
|
|
24165
|
-
{ "key": "STRIPE_SECRET_KEY", "description": "Stripe test-mode key; checkout cannot run without it", "required": true }
|
|
24164
|
+
{ "key": "FIREBASE_PRIVATE_KEY", "description": "Service account private key for a dev Firebase project; sign-in cannot be tested without it", "required": true }
|
|
24166
24165
|
]
|
|
24167
24166
|
}
|
|
24168
24167
|
\`\`\`
|
|
24169
24168
|
|
|
24170
24169
|
2. Keep working on everything that does not need the values. The request appears in the Environment panel next to the chat; the user types values there (stored encrypted on the environment, never in chat) or skips them.
|
|
24171
|
-
3. At the point you actually need a value, block on it:
|
|
24170
|
+
3. At the point you actually need a value, say in chat which keys you are waiting for and why, then block on it once:
|
|
24172
24171
|
|
|
24173
24172
|
\`\`\`bash
|
|
24174
|
-
replicas environment-setup wait-variables --timeout
|
|
24175
|
-
replicas environment-setup wait-variables --keys
|
|
24173
|
+
replicas environment-setup wait-variables --timeout 15m
|
|
24174
|
+
replicas environment-setup wait-variables --keys FIREBASE_PRIVATE_KEY --timeout 15m
|
|
24176
24175
|
\`\`\`
|
|
24177
24176
|
|
|
24178
24177
|
Without \`--keys\` it waits for every pending required key. It returns when the keys are provided or skipped, or when the time runs out, and prints which happened. Provided keys are exported for every new shell; restart anything you started with \`replicas service start\` before that point so it picks them up. Never print the values.
|
|
24179
|
-
4. For anything skipped or unanswered, use the safest local substitute (local database, mock, documented test value), say so in the verification rows, and list the key
|
|
24178
|
+
4. For anything skipped or still unanswered after that wait, use the safest local substitute (local database, mock, documented test value), say so in the verification rows, and list the key in the proposal, marked required only if the app cannot start or its main flow cannot be tested without it. A key the user skipped is not asked again; do not resend it.
|
|
24180
24179
|
5. Values the user provided are already saved on the environment. Still list those keys in the proposal so the review shows them as set.
|
|
24181
|
-
6. Requests are only accepted before you propose. Anything still missing after that goes into the proposal
|
|
24180
|
+
6. Requests are only accepted before you propose. Anything still missing after that goes into the proposal for the user to fill in at review.
|
|
24182
24181
|
|
|
24183
24182
|
## 2. Install and run
|
|
24184
24183
|
|
|
@@ -24191,7 +24190,7 @@ Work from the smallest failing layer, in this workspace:
|
|
|
24191
24190
|
|
|
24192
24191
|
Use the repository's pinned package manager and lockfile. Do not upgrade dependencies, rewrite lockfiles, or change application code to make setup pass; environment configuration and narrowly necessary fixes to setup scripts are in scope. Do not deploy, publish, or touch production resources.
|
|
24193
24192
|
|
|
24194
|
-
When something needs a secret you do not have, request it and run \`wait-variables\` at the point you need it (see "Asking for variables"). If it is skipped or unanswered, use the safest local substitute, keep going, and record the variable
|
|
24193
|
+
When something needs a secret you do not have, request it and run \`wait-variables\` at the point you need it (see "Asking for variables"). If it is skipped or unanswered, use the safest local substitute, keep going, and record the variable in the proposal with a clear description. Never invent or paste secret values anywhere.
|
|
24195
24194
|
|
|
24196
24195
|
## 3. Verify and record
|
|
24197
24196
|
|
|
@@ -28012,7 +28011,7 @@ var headlessFilesystemAgentResultSchema = external_exports.object({
|
|
|
28012
28011
|
});
|
|
28013
28012
|
|
|
28014
28013
|
// ../shared/src/cli-version.ts
|
|
28015
|
-
var CLI_VERSION = "0.2.
|
|
28014
|
+
var CLI_VERSION = "0.2.758";
|
|
28016
28015
|
|
|
28017
28016
|
// ../shared/src/version.ts
|
|
28018
28017
|
function compareVersions(v1, v2) {
|