anymorph 0.2.3 → 0.2.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 CHANGED
@@ -8178,7 +8178,7 @@ function printScaffoldError(prefix, err) {
8178
8178
 
8179
8179
  // src/index.ts
8180
8180
  var program2 = new Command();
8181
- program2.name("anymorph").description("Check your brand's AI visibility \u2014 powered by Anymorph").version("0.2.3");
8181
+ program2.name("anymorph").description("Check your brand's AI visibility \u2014 powered by Anymorph").version("0.2.5");
8182
8182
  program2.command("login").description("Sign in to your Anymorph account").action(loginCommand);
8183
8183
  program2.command("check <domain>").description("Check AI visibility for a domain").option("--json", "Output as JSON").action(checkCommand);
8184
8184
  program2.command("status").description("Show current auth status").action(statusCommand);
@@ -28,10 +28,67 @@ Read `references/orchestrator.workflow.md` before final action selection. It con
28
28
  3. Invoke or apply the three channel diagnosis skills.
29
29
  4. Read channel outputs and reject weak, duplicate, or conflicting proposals.
30
30
  5. Prefer no action over low-evidence action.
31
- 6. Submit final actions through runtime artifact tools; do not write `actions.json` directly.
31
+ 6. In local CLI mode, write `agent/runs/{runId}/actions.json` directly.
32
32
  7. Write rationale and status files only under the current run path.
33
33
  8. Update durable tenant memory only when the run changes stable strategy or repeated learnings.
34
34
 
35
+ ## Local CLI Mode
36
+
37
+ When running inside a tenant repo, this skill expects a prepared run directory.
38
+ Do not invent a `runId` or create fake input files.
39
+
40
+ Use the CLI to prepare the same filesystem contract that remote runners use.
41
+
42
+ ```bash
43
+ anymorph --version
44
+ anymorph status
45
+ anymorph geo init --repo .
46
+ anymorph geo doctor --repo .
47
+ anymorph geo prepare <workspace-domain-or-id> --repo .
48
+ ```
49
+
50
+ `geo init` installs the bundled skills and local memory scaffold. It does not
51
+ create a strategy run. `geo prepare` fetches the workspace run package from the
52
+ backend and creates the run files.
53
+
54
+ `geo prepare` creates:
55
+
56
+ - `agent/runs/{runId}/manifest.json`
57
+ - `agent/runs/{runId}/context.json`
58
+ - `agent/runs/{runId}/intents.json`
59
+ - `agent/runs/{runId}/crawl_logs.json`
60
+ - `agent/runs/{runId}/status.json`
61
+
62
+ `intents.json` comes from `signals.intents` in the backend prepare response.
63
+ It is the same source used by the remote GEO strategy runner.
64
+
65
+ Inspect prepared intents when needed:
66
+
67
+ ```bash
68
+ anymorph geo intents {runId} --repo .
69
+ ```
70
+
71
+ Then run this skill against that `runId`. Use MCP tools only to enrich the
72
+ prepared context or inspect deeper evidence. Do not use MCP calls to replace
73
+ the run package.
74
+
75
+ For local CLI runs, there is no remote runtime artifact submission tool. The
76
+ final artifact contract is the filesystem contract:
77
+
78
+ - write `agent/runs/{runId}/actions.json`
79
+ - write `agent/runs/{runId}/rationale.md`
80
+ - update `agent/runs/{runId}/status.json`
81
+
82
+ After writing artifacts, validate them with:
83
+
84
+ ```bash
85
+ anymorph geo validate {runId} --repo .
86
+ ```
87
+
88
+ Only use runtime artifact tools when the host environment explicitly provides
89
+ them. In ordinary local tenant repo work, the filesystem artifacts above are the
90
+ source of truth.
91
+
35
92
  ## Final Decision Rules
36
93
 
37
94
  - Emit at most 20 actions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anymorph",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Check your brand's AI visibility across ChatGPT, Perplexity, Gemini, and more",
5
5
  "type": "module",
6
6
  "private": false,