@iamu-dev/iamu 0.8.0-beta.3 → 0.8.0-beta.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/adapters/registry.d.ts +6 -0
- package/dist/adapters/types.d.ts +22 -5
- package/dist/bin.js +7227 -4617
- package/dist/build-hash.txt +1 -0
- package/dist/commands/advise.d.ts +13 -1
- package/dist/commands/browse-driver.d.ts +14 -0
- package/dist/commands/browse.d.ts +70 -6
- package/dist/commands/complete.d.ts +37 -2
- package/dist/commands/context.d.ts +16 -0
- package/dist/commands/doctor.d.ts +2 -0
- package/dist/commands/explore-crawl.d.ts +5 -2
- package/dist/commands/init.d.ts +8 -2
- package/dist/commands/instructions.d.ts +0 -15
- package/dist/commands/match.d.ts +6 -0
- package/dist/commands/mcp-config.d.ts +84 -6
- package/dist/commands/new-entity.d.ts +28 -0
- package/dist/commands/post-walk.d.ts +7 -4
- package/dist/commands/pull.d.ts +1 -0
- package/dist/commands/set-entity.d.ts +2 -0
- package/dist/commands/skills.d.ts +13 -4
- package/dist/commands/step-numbering.d.ts +2 -1
- package/dist/commands/step.d.ts +7 -0
- package/dist/index.js +7214 -4606
- package/dist/templates/prompts/advise.md +8 -61
- package/dist/templates/prompts/designer.md +9 -3
- package/dist/templates/skills/iamu-design.md +1 -1
- package/dist/templates/skills/iamu-new.md +14 -4
- package/dist/templates/skills/iamu-run.md +37 -25
- package/dist/templates/skills/iamu-setup.md +7 -1
- package/dist/templates/skills/iamu-stage.md +4 -4
- package/dist/ui/html-report.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { HostAdapter } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* How every host starts the `iamu-sync` MCP server. `npx` rather than a
|
|
4
|
+
* bare `iamu`: the MCP file is committed, and a teammate without a global
|
|
5
|
+
* install must still get a working server.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SYNC_SERVER_COMMAND: readonly string[];
|
|
2
8
|
export declare const HOST_ADAPTERS: HostAdapter[];
|
|
3
9
|
/**
|
|
4
10
|
* Detect which host editors are present in the given project root.
|
package/dist/adapters/types.d.ts
CHANGED
|
@@ -9,11 +9,28 @@ export interface CommandContent {
|
|
|
9
9
|
export interface HostAdapter {
|
|
10
10
|
name: string;
|
|
11
11
|
value: string;
|
|
12
|
+
/** Files or directories (relative to the project root) that mark the host. */
|
|
12
13
|
detectionPaths: string[];
|
|
13
|
-
|
|
14
|
+
/** Where the host reads project skills (`<dir>/<name>/SKILL.md`). */
|
|
14
15
|
getSkillsDir(projectRoot: string): string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Skill directories an older CLI wrote for this host and the host does
|
|
18
|
+
* not read. CLI-written skills there are removed on `iamu update`, and
|
|
19
|
+
* an iamu skill there marks the host as installed.
|
|
20
|
+
*/
|
|
21
|
+
legacySkillsDirs?(projectRoot: string): string[];
|
|
22
|
+
/**
|
|
23
|
+
* Where an older CLI wrote the command file `commandId` for this host.
|
|
24
|
+
* Nothing is written there any more; it is read only to recognise an
|
|
25
|
+
* existing install.
|
|
26
|
+
*/
|
|
27
|
+
legacyCommandPath(projectRoot: string, commandId: string): string;
|
|
28
|
+
/**
|
|
29
|
+
* The project-level MCP config file, or `null` when the host reads MCP
|
|
30
|
+
* servers only from a user-level config (or its own CLI) that iamu does
|
|
31
|
+
* not write. Then {@link HostAdapter.manualMcpSetup} says what to do.
|
|
32
|
+
*/
|
|
33
|
+
getMcpConfigPath(projectRoot: string): string | null;
|
|
34
|
+
/** One line telling the user how to add `iamu-sync` by hand. */
|
|
35
|
+
manualMcpSetup?: string;
|
|
19
36
|
}
|