@iamu-dev/iamu 0.2.0-beta.15 → 0.2.0-beta.17
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/bin.js +1237 -727
- package/dist/commands/explore.d.ts +1 -0
- package/dist/commands/init.d.ts +11 -0
- package/dist/commands/new-entity.d.ts +6 -0
- package/dist/index.js +1227 -711
- package/dist/templates/skills/iamu-findings.md +15 -2
- package/dist/templates/skills/iamu-new.md +7 -2
- package/dist/templates/skills/iamu-propose.md +19 -3
- package/dist/templates/skills/iamu-run.md +49 -3
- package/dist/templates/skills/iamu-status.md +9 -0
- package/package.json +18 -18
|
@@ -38,6 +38,7 @@ export declare function exploreList(opts: {
|
|
|
38
38
|
*/
|
|
39
39
|
export declare function exploreCoverageCommand(mapId: string | undefined, opts: {
|
|
40
40
|
json?: boolean;
|
|
41
|
+
all?: boolean;
|
|
41
42
|
}): Promise<void>;
|
|
42
43
|
/**
|
|
43
44
|
* `iamu explore diff [a] [b]` — default: the two latest maps.
|
package/dist/commands/init.d.ts
CHANGED
|
@@ -4,6 +4,17 @@ import type { HostAdapter } from "../adapters/types.js";
|
|
|
4
4
|
* Claude Code has `/iamu:init` and no `iamu-setup`.
|
|
5
5
|
*/
|
|
6
6
|
export declare function setupCommand(projectRoot: string, hosts: HostAdapter[]): string;
|
|
7
|
+
/**
|
|
8
|
+
* Detect the target port for local dev execution.
|
|
9
|
+
* Checks, in order:
|
|
10
|
+
* 1. process.env.PORT
|
|
11
|
+
* 2. .env files (.env.local, .env.development, .env) for PORT, VITE_PORT, APP_URL, NEXT_PUBLIC_APP_URL
|
|
12
|
+
* 3. package.json scripts for `-p <port>` or `--port <port>` flags
|
|
13
|
+
* 4. package.json dependencies and framework config files (vite -> 5173, astro -> 4321)
|
|
14
|
+
*/
|
|
15
|
+
export declare function detectTargetPort(projectRoot: string): number | undefined;
|
|
16
|
+
export declare function detectTargetUrl(projectRoot: string): string;
|
|
17
|
+
export declare function createDraftTestabilityContent(targetUrl?: string): string;
|
|
7
18
|
export interface InitOptions {
|
|
8
19
|
name?: string;
|
|
9
20
|
yes?: boolean;
|
|
@@ -13,10 +13,16 @@ export interface NewEntityOptions {
|
|
|
13
13
|
authority?: string;
|
|
14
14
|
/** Primary capability slug (outline only). */
|
|
15
15
|
capability?: string;
|
|
16
|
+
/** Secondary capability slugs, comma-separated or array (outline only). */
|
|
17
|
+
additionalCapabilities?: string | string[];
|
|
16
18
|
/** Structural tension driving the situation (outline only). */
|
|
17
19
|
tension?: string;
|
|
18
20
|
/** Human-test question to evaluate at walkthrough completion (outline only). */
|
|
19
21
|
humanTest?: string | string[];
|
|
22
|
+
/** Route patterns owned by this capability, comma-separated or array (capability only). */
|
|
23
|
+
paths?: string | string[];
|
|
24
|
+
/** Optional visual grouping category (capability only). */
|
|
25
|
+
area?: string;
|
|
20
26
|
/** Scenario start path, e.g. /en/episodes/1. */
|
|
21
27
|
entry?: string;
|
|
22
28
|
/** Scenario assumed environment state description. */
|