@moda-ai/cli 1.55.6 → 1.55.8
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 +18 -0
- package/dist/{cli-grn40kvh.js → cli-a0adscdx.js} +3 -3
- package/dist/{cli-gxmq4wmn.js → cli-j125g80g.js} +10581 -1478
- package/dist/cli.js +103 -8
- package/dist/{harness-github-actions-s10y3kpz.js → harness-github-actions-t4m8q3wn.js} +1 -1
- package/dist/{harness-7eabmv0v.js → harness-kpskdj9x.js} +1 -1
- package/dist/{index-6wxkhbk5.js → index-zdbe66yn.js} +2 -2
- package/dist/prompt-source-mcp.js +1 -1
- package/package.json +2 -1
- package/skills/integration/index.json +2 -2
package/README.md
CHANGED
|
@@ -349,6 +349,24 @@ switches agents when the model hands off. The format is in the bundled
|
|
|
349
349
|
`moda-cli` skill. The analyzer's citation graph (the dashboard Harness map)
|
|
350
350
|
still comes from `moda harness analyze`, the GitHub App, or an approved report.
|
|
351
351
|
|
|
352
|
+
## Register a Replay Environment harness
|
|
353
|
+
|
|
354
|
+
`moda harness register` bundles the git repository a harness lives in for
|
|
355
|
+
Replay Environments, prints what is included and excluded (secrets, env var
|
|
356
|
+
values, and installs never leave the machine), and uploads it.
|
|
357
|
+
|
|
358
|
+
```bash
|
|
359
|
+
moda harness register --dry-run # collect and report; uploads nothing
|
|
360
|
+
moda harness register support-agent \
|
|
361
|
+
--model-base-url-env=OPENAI_BASE_URL --entry -- node dist/server.js
|
|
362
|
+
moda harness registration list
|
|
363
|
+
moda harness registration status <id>
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
The collection policy, flags, statuses, and checklist are documented in
|
|
367
|
+
[Register a harness for Replay Environments](https://docs.moda.dev/harness/registration)
|
|
368
|
+
(`docs/harness/registration.mdx`).
|
|
369
|
+
|
|
352
370
|
## Anchors and message windows
|
|
353
371
|
|
|
354
372
|
Rows returned by `moda frustrations` and `moda tool-failure-detail` carry
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
safePromptEvidencePath,
|
|
22
22
|
scanHarness,
|
|
23
23
|
setPlatformTenantOverride
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-j125g80g.js";
|
|
25
25
|
import {
|
|
26
26
|
SKILL_SOURCE_HARNESS,
|
|
27
27
|
SKILL_SOURCE_INTEGRATION_BUNDLED,
|
|
@@ -6752,7 +6752,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
|
|
|
6752
6752
|
const analyzedDefinitions = new Map;
|
|
6753
6753
|
if (flags["no-analyze"] !== "true") {
|
|
6754
6754
|
options.onProgress?.("Analyzing prompt sources before sync.");
|
|
6755
|
-
const { analyzeHarnessPrompts } = await import("./harness-
|
|
6755
|
+
const { analyzeHarnessPrompts } = await import("./harness-kpskdj9x.js");
|
|
6756
6756
|
const result = await analyzeHarnessPrompts({
|
|
6757
6757
|
rootDir: process.cwd(),
|
|
6758
6758
|
existing: established.flatMap((prompt) => prompt.sourceDefinition ? [prompt.sourceDefinition.source] : []),
|
|
@@ -7082,7 +7082,7 @@ async function migratePromptManifest(options = {}) {
|
|
|
7082
7082
|
let addedSources = [];
|
|
7083
7083
|
let pendingSources = [];
|
|
7084
7084
|
if (options.discover) {
|
|
7085
|
-
const { analyzeHarnessPrompts } = await import("./harness-
|
|
7085
|
+
const { analyzeHarnessPrompts } = await import("./harness-kpskdj9x.js");
|
|
7086
7086
|
const result = await analyzeHarnessPrompts({
|
|
7087
7087
|
rootDir: root,
|
|
7088
7088
|
existing: manifest.sources,
|