@enterpriseai/cli 3.19.2 → 3.19.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 +28 -0
- package/dist/commands/eai-managed-deploy-customer-source.d.ts.map +1 -1
- package/dist/commands/eai-managed-deploy-customer-source.js +24 -0
- package/dist/commands/eai-managed-deploy-customer-source.js.map +1 -1
- package/dist/commands/eai-managed-deploy-github-dispatch.d.ts.map +1 -1
- package/dist/commands/eai-managed-deploy-github-dispatch.js +30 -0
- package/dist/commands/eai-managed-deploy-github-dispatch.js.map +1 -1
- package/dist/commands/init.d.ts +2 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +33 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/provision.js +2 -5
- package/dist/commands/provision.js.map +1 -1
- package/dist/commands/support.d.ts +18 -0
- package/dist/commands/support.d.ts.map +1 -0
- package/dist/commands/support.js +110 -0
- package/dist/commands/support.js.map +1 -0
- package/dist/commands/types.d.ts +5 -1
- package/dist/commands/types.d.ts.map +1 -1
- package/dist/commands/types.js +55 -12
- package/dist/commands/types.js.map +1 -1
- package/dist/index.js +34 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/agent-guide.d.ts.map +1 -1
- package/dist/lib/agent-guide.js +25 -4
- package/dist/lib/agent-guide.js.map +1 -1
- package/dist/lib/api.d.ts +4 -2
- package/dist/lib/api.d.ts.map +1 -1
- package/dist/lib/api.js +17 -5
- package/dist/lib/api.js.map +1 -1
- package/dist/lib/config.d.ts +2 -0
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +8 -0
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/eai-managed-deploy-contract.d.ts +4 -0
- package/dist/lib/eai-managed-deploy-contract.d.ts.map +1 -1
- package/dist/lib/eai-managed-deploy-contract.js.map +1 -1
- package/dist/lib/eai-managed-deploy-operation.d.ts.map +1 -1
- package/dist/lib/eai-managed-deploy-operation.js +14 -0
- package/dist/lib/eai-managed-deploy-operation.js.map +1 -1
- package/dist/lib/eai-managed-deploy-state.d.ts.map +1 -1
- package/dist/lib/eai-managed-deploy-state.js +15 -1
- package/dist/lib/eai-managed-deploy-state.js.map +1 -1
- package/dist/lib/error-codes.d.ts.map +1 -1
- package/dist/lib/error-codes.js +6 -3
- package/dist/lib/error-codes.js.map +1 -1
- package/dist/lib/output.d.ts +1 -0
- package/dist/lib/output.d.ts.map +1 -1
- package/dist/lib/output.js +3 -0
- package/dist/lib/output.js.map +1 -1
- package/dist/lib/profile.d.ts +2 -0
- package/dist/lib/profile.d.ts.map +1 -1
- package/dist/lib/profile.js.map +1 -1
- package/dist/lib/support-context.d.ts +31 -0
- package/dist/lib/support-context.d.ts.map +1 -0
- package/dist/lib/support-context.js +193 -0
- package/dist/lib/support-context.js.map +1 -0
- package/dist/lib/support-redaction.d.ts +10 -0
- package/dist/lib/support-redaction.d.ts.map +1 -0
- package/dist/lib/support-redaction.js +44 -0
- package/dist/lib/support-redaction.js.map +1 -0
- package/dist/lib/support-report.d.ts +68 -0
- package/dist/lib/support-report.d.ts.map +1 -0
- package/dist/lib/support-report.js +165 -0
- package/dist/lib/support-report.js.map +1 -0
- package/package.json +3 -2
- package/resources/deploy/eai-app-template/.github/workflows/eai-app.yml +46 -13
- package/resources/deploy/eai-app-template/producer-pin.json +8 -8
- package/resources/deploy/eai-app-template/scripts/source-unknown-deployment-evidence.mjs +29 -2
- package/resources/deploy/eai-app-template/tests/source-unknown-deployment-evidence.test.mjs +99 -1
- package/resources/gofer/agents-skills/eai/SKILL.md +20 -0
- package/resources/gofer/claude-commands/eai.md +20 -0
- package/resources/gofer/claude-skills/eai/SKILL.md +20 -0
- package/resources/gofer/commands/0_gofer_start.md +18 -0
- package/resources/gofer/commands/gofer_eai_first_run.md +18 -0
- package/resources/gofer/copilot-prompts/eai.prompt.md +20 -0
- package/resources/gofer/gemini/commands/gofer/eai.md +20 -0
- package/resources/gofer/github-skills/eai/SKILL.md +20 -0
- package/resources/gofer/grok-skills/eai/SKILL.md +20 -0
- package/resources/gofer/instruction-templates/base/agents-base.md +18 -0
- package/resources/gofer/instruction-templates/base/claude-base.md +18 -0
- package/resources/gofer/instruction-templates/base/copilot-base.md +18 -0
- package/resources/gofer/instruction-templates/gofer/gofer-claude.md +4 -0
- package/resources/gofer/node-scripts/generate-commands.mjs +26 -0
- package/resources/gofer/references/platform/eai-support.md +19 -0
- package/resources/gofer/specify-commands/0_gofer_start.md +18 -0
- package/resources/gofer/specify-commands/gofer_eai_first_run.md +18 -0
- package/resources/gofer/system-skills/eai/SKILL.md +20 -0
- package/resources/linked-sources.json +2 -2
|
@@ -185,6 +185,24 @@ Confirm the sign-in method separately: EAI sign-in or client SSO through EAI. Ve
|
|
|
185
185
|
7. After any `eai` error, run `eai errors explain <code-or-reason> --format json` when available before guessing remediation.
|
|
186
186
|
8. Do not write tokens, secrets, private workspace IDs, Entra/CIAM authority tenant IDs, or local `.env` values into artifacts.
|
|
187
187
|
|
|
188
|
+
## Support after an unresolved EAI error
|
|
189
|
+
|
|
190
|
+
After an `eai` command fails, run `eai errors explain <code-or-reason> --format json`.
|
|
191
|
+
Follow its diagnostics, approval requirements, and fixes once. Stop at its retry limit.
|
|
192
|
+
If the command still fails, prepare a report with
|
|
193
|
+
`eai support --source harness --tool <current-tool> --format json`.
|
|
194
|
+
Use `codex`, `claude`, `vscode`, `grok`, or `antigravity` for `<current-tool>`.
|
|
195
|
+
This command previews the locally redacted bundle in a noninteractive harness.
|
|
196
|
+
Show the person the bundle summary and ask for explicit consent in the chat.
|
|
197
|
+
Only after they approve that bundle, repeat the command with `--yes --no-open` and give them the returned link.
|
|
198
|
+
If the bundle changes, show it again and ask for fresh consent. Never assume consent or run `--yes` automatically.
|
|
199
|
+
Keep secrets, tokens, raw logs, and local `.env` values out of the chat.
|
|
200
|
+
The CLI creates the draft; the AI never calls the support API itself.
|
|
201
|
+
Report content stays in the draft body. The Support link fragment carries only its id and token.
|
|
202
|
+
If sign-in is unavailable, give the person the plain Support page link returned by the CLI.
|
|
203
|
+
In the welcome reply, say: If anything fails, say "get help" or type `eai support`; I can prepare a report for you to approve.
|
|
204
|
+
If the person asks for help with a silent failure, start with the same report preview.
|
|
205
|
+
|
|
188
206
|
## Verified EAI CLI Command Contract
|
|
189
207
|
|
|
190
208
|
Do not invent, guess, or complete EAI CLI commands from memory.
|
|
@@ -277,6 +295,8 @@ The EAI Platform supports every step with secure data, identity, multi-tenancy,
|
|
|
277
295
|
|
|
278
296
|
I’ll walk you through the whole process and ask short questions as we go. Tell me what you want me to do, or ask **“What’s next?”**, **“What else can you help with?”**, or **“Show me the admin screen.”**
|
|
279
297
|
|
|
298
|
+
If anything fails, say "get help" or type `eai support`; I can prepare a report for you to approve.
|
|
299
|
+
|
|
280
300
|
**First question:** What process would you like to improve, or what would you like the application to help people do?
|
|
281
301
|
```
|
|
282
302
|
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
},
|
|
8
8
|
"appTemplate": {
|
|
9
9
|
"repo": "https://github.com/eai-support/eai-app-template.git",
|
|
10
|
-
"version": "v1.0.
|
|
11
|
-
"commit": "
|
|
10
|
+
"version": "v1.0.12",
|
|
11
|
+
"commit": "d777e97d188c1a5a611d1bc14fbb16a3ea1d9acb",
|
|
12
12
|
"packageLockSha256": "5b04e0be44ef93a817e4dc5076914d0f0684712b41155ee2934ce42f184df415",
|
|
13
13
|
"enterpriseRegistry": "https://enterpriseaigroup.github.io/enterpriseai-packages/registry",
|
|
14
14
|
"enterprisePackageFingerprint": "3286fdf91d6a25a55a4d84de21bf5c592bcf11abffb96dc2be90e93414eeb646",
|