@agimon-ai/doompi-profile 0.0.1-alpha.36 → 0.0.1-alpha.42

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.
@@ -4,7 +4,7 @@ import { ExtensionAPI } from "@earendil-works/pi-coding-agent";
4
4
  /**
5
5
  * The package's single standard Pi factory.
6
6
  */
7
- declare function profileExtension(pi: ExtensionAPI, telemetry?: ProfileTelemetry): Promise<void>;
7
+ export declare function profileExtension(pi: ExtensionAPI, telemetry?: ProfileTelemetry): Promise<void>;
8
8
  //#endregion
9
- export { profileExtension as default, profileExtension };
9
+ export { profileExtension as default };
10
10
  //# sourceMappingURL=extension.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.cts","names":[],"sources":["../../../src/adapters/pi/extension.ts"],"mappings":";;;;;;iBAuCsB,iBACpB,IAAI,cACJ,YAAW,mBACV"}
1
+ {"version":3,"file":"extension.d.cts","names":[],"sources":["../../../src/adapters/pi/extension.ts"],"mappings":";;;;;;wBAuCsB,iBACpB,IAAI,cACJ,YAAW,mBACV"}
@@ -4,7 +4,7 @@ import { ExtensionAPI } from "@earendil-works/pi-coding-agent";
4
4
  /**
5
5
  * The package's single standard Pi factory.
6
6
  */
7
- declare function profileExtension(pi: ExtensionAPI, telemetry?: ProfileTelemetry): Promise<void>;
7
+ export declare function profileExtension(pi: ExtensionAPI, telemetry?: ProfileTelemetry): Promise<void>;
8
8
  //#endregion
9
- export { profileExtension as default, profileExtension };
9
+ export { profileExtension as default };
10
10
  //# sourceMappingURL=extension.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.mts","names":[],"sources":["../../../src/adapters/pi/extension.ts"],"mappings":";;;;;;iBAuCsB,iBACpB,IAAI,cACJ,YAAW,mBACV"}
1
+ {"version":3,"file":"extension.d.mts","names":[],"sources":["../../../src/adapters/pi/extension.ts"],"mappings":";;;;;;wBAuCsB,iBACpB,IAAI,cACJ,YAAW,mBACV"}
@@ -2,7 +2,7 @@ import { ProfileTelemetry } from "../../types/telemetry.cjs";
2
2
  import "@deepseek-ai/cordis";
3
3
  import { ExtensionAPI } from "@earendil-works/pi-coding-agent";
4
4
  //#region src/adapters/pi/persona.d.ts
5
- declare function personaExtension(pi: ExtensionAPI, telemetry?: ProfileTelemetry): Promise<void>;
5
+ export declare function personaExtension(pi: ExtensionAPI, telemetry?: ProfileTelemetry): Promise<void>;
6
6
  //#endregion
7
- export { personaExtension as default, personaExtension };
7
+ export { personaExtension as default };
8
8
  //# sourceMappingURL=persona.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"persona.d.cts","names":[],"sources":["../../../src/adapters/pi/persona.ts"],"mappings":";;;;iBA8DsB,iBACpB,IAAI,cACJ,YAAW,mBACV"}
1
+ {"version":3,"file":"persona.d.cts","names":[],"sources":["../../../src/adapters/pi/persona.ts"],"mappings":";;;;wBA8DsB,iBACpB,IAAI,cACJ,YAAW,mBACV"}
@@ -2,7 +2,7 @@ import { ProfileTelemetry } from "../../types/telemetry.mjs";
2
2
  import "@deepseek-ai/cordis";
3
3
  import { ExtensionAPI } from "@earendil-works/pi-coding-agent";
4
4
  //#region src/adapters/pi/persona.d.ts
5
- declare function personaExtension(pi: ExtensionAPI, telemetry?: ProfileTelemetry): Promise<void>;
5
+ export declare function personaExtension(pi: ExtensionAPI, telemetry?: ProfileTelemetry): Promise<void>;
6
6
  //#endregion
7
- export { personaExtension as default, personaExtension };
7
+ export { personaExtension as default };
8
8
  //# sourceMappingURL=persona.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"persona.d.mts","names":[],"sources":["../../../src/adapters/pi/persona.ts"],"mappings":";;;;iBA8DsB,iBACpB,IAAI,cACJ,YAAW,mBACV"}
1
+ {"version":3,"file":"persona.d.mts","names":[],"sources":["../../../src/adapters/pi/persona.ts"],"mappings":";;;;wBA8DsB,iBACpB,IAAI,cACJ,YAAW,mBACV"}
@@ -1,14 +1,13 @@
1
1
  import { ProfileTelemetry } from "../../types/telemetry.cjs";
2
2
  import { DoomTelemetryOptions } from "@agimon-ai/doompi-telemetry";
3
3
  //#region src/adapters/telemetry/logSinkTelemetry.d.ts
4
- interface ProfileTelemetryOptions {
4
+ export interface ProfileTelemetryOptions {
5
5
  cwd?: string;
6
6
  workspaceRoot?: string;
7
7
  env?: NodeJS.ProcessEnv;
8
8
  telemetryFactory?: NonNullable<DoomTelemetryOptions['telemetryFactory']>;
9
9
  warn?: (message: string) => void;
10
10
  }
11
- declare function createProfileTelemetry(options?: ProfileTelemetryOptions): ProfileTelemetry;
11
+ export declare function createProfileTelemetry(options?: ProfileTelemetryOptions): ProfileTelemetry;
12
12
  //#endregion
13
- export { ProfileTelemetryOptions, createProfileTelemetry };
14
13
  //# sourceMappingURL=logSinkTelemetry.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logSinkTelemetry.d.cts","names":[],"sources":["../../../src/adapters/telemetry/logSinkTelemetry.ts"],"mappings":";;;UAMiB;EACf;EACA;EACA,MAAM,OAAO;EACb,mBAAmB,YAAY;EAC/B,QAAQ;;iBAGM,uBAAuB,UAAS,0BAA+B"}
1
+ {"version":3,"file":"logSinkTelemetry.d.cts","names":[],"sources":["../../../src/adapters/telemetry/logSinkTelemetry.ts"],"mappings":";;;iBAMiB;EACf;EACA;EACA,MAAM,OAAO;EACb,mBAAmB,YAAY;EAC/B,QAAQ;;wBAGM,uBAAuB,UAAS,0BAA+B"}
@@ -1,14 +1,13 @@
1
1
  import { ProfileTelemetry } from "../../types/telemetry.mjs";
2
2
  import { DoomTelemetryOptions } from "@agimon-ai/doompi-telemetry";
3
3
  //#region src/adapters/telemetry/logSinkTelemetry.d.ts
4
- interface ProfileTelemetryOptions {
4
+ export interface ProfileTelemetryOptions {
5
5
  cwd?: string;
6
6
  workspaceRoot?: string;
7
7
  env?: NodeJS.ProcessEnv;
8
8
  telemetryFactory?: NonNullable<DoomTelemetryOptions['telemetryFactory']>;
9
9
  warn?: (message: string) => void;
10
10
  }
11
- declare function createProfileTelemetry(options?: ProfileTelemetryOptions): ProfileTelemetry;
11
+ export declare function createProfileTelemetry(options?: ProfileTelemetryOptions): ProfileTelemetry;
12
12
  //#endregion
13
- export { ProfileTelemetryOptions, createProfileTelemetry };
14
13
  //# sourceMappingURL=logSinkTelemetry.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logSinkTelemetry.d.mts","names":[],"sources":["../../../src/adapters/telemetry/logSinkTelemetry.ts"],"mappings":";;;UAMiB;EACf;EACA;EACA,MAAM,OAAO;EACb,mBAAmB,YAAY;EAC/B,QAAQ;;iBAGM,uBAAuB,UAAS,0BAA+B"}
1
+ {"version":3,"file":"logSinkTelemetry.d.mts","names":[],"sources":["../../../src/adapters/telemetry/logSinkTelemetry.ts"],"mappings":";;;iBAMiB;EACf;EACA;EACA,MAAM,OAAO;EACb,mBAAmB,YAAY;EAC/B,QAAQ;;wBAGM,uBAAuB,UAAS,0BAA+B"}
@@ -2,19 +2,18 @@ import { AgentProfile } from "@agimon-ai/doompi-config/profiles";
2
2
  import { SelectItem } from "@earendil-works/pi-tui";
3
3
  //#region src/services/profileText.d.ts
4
4
  /** Footer status key the cockpit's profile axis reads. */
5
- declare const PROFILE_STATUS_KEY = "doom-profile";
5
+ export declare const PROFILE_STATUS_KEY = "doom-profile";
6
6
  /**
7
7
  * The published axis content: the active profile's name, empty while
8
8
  * profiles exist with none active, and undefined to withhold the status so
9
9
  * the cockpit keeps the axis off the bar entirely.
10
10
  */
11
- declare function profileStatus(current: string | undefined, hasProfiles: boolean): string | undefined;
11
+ export declare function profileStatus(current: string | undefined, hasProfiles: boolean): string | undefined;
12
12
  /** Rows for the single-select profile picker. */
13
- declare function profileItems(profiles: AgentProfile[]): SelectItem[];
14
- declare function profileDescription(profile: AgentProfile): string;
13
+ export declare function profileItems(profiles: AgentProfile[]): SelectItem[];
14
+ export declare function profileDescription(profile: AgentProfile): string;
15
15
  /** Shown when the picked profile is already active. */
16
- declare function profileSummary(profile: AgentProfile): string;
17
- declare function profileTitle(current?: string): string;
16
+ export declare function profileSummary(profile: AgentProfile): string;
17
+ export declare function profileTitle(current?: string): string;
18
18
  //#endregion
19
- export { PROFILE_STATUS_KEY, profileDescription, profileItems, profileStatus, profileSummary, profileTitle };
20
19
  //# sourceMappingURL=profileText.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profileText.d.cts","names":[],"sources":["../../src/services/profileText.ts"],"mappings":";;;;cAMa;;;;;;iBAOG,cAAc,6BAA6B;;iBAM3C,aAAa,UAAU,iBAAiB;iBAQxC,mBAAmB,SAAS;;iBAM5B,eAAe,SAAS;iBAUxB,aAAa"}
1
+ {"version":3,"file":"profileText.d.cts","names":[],"sources":["../../src/services/profileText.ts"],"mappings":";;;;qBAMa;;;;;;wBAOG,cAAc,6BAA6B;;wBAM3C,aAAa,UAAU,iBAAiB;wBAQxC,mBAAmB,SAAS;;wBAM5B,eAAe,SAAS;wBAUxB,aAAa"}
@@ -2,19 +2,18 @@ import { AgentProfile } from "@agimon-ai/doompi-config/profiles";
2
2
  import { SelectItem } from "@earendil-works/pi-tui";
3
3
  //#region src/services/profileText.d.ts
4
4
  /** Footer status key the cockpit's profile axis reads. */
5
- declare const PROFILE_STATUS_KEY = "doom-profile";
5
+ export declare const PROFILE_STATUS_KEY = "doom-profile";
6
6
  /**
7
7
  * The published axis content: the active profile's name, empty while
8
8
  * profiles exist with none active, and undefined to withhold the status so
9
9
  * the cockpit keeps the axis off the bar entirely.
10
10
  */
11
- declare function profileStatus(current: string | undefined, hasProfiles: boolean): string | undefined;
11
+ export declare function profileStatus(current: string | undefined, hasProfiles: boolean): string | undefined;
12
12
  /** Rows for the single-select profile picker. */
13
- declare function profileItems(profiles: AgentProfile[]): SelectItem[];
14
- declare function profileDescription(profile: AgentProfile): string;
13
+ export declare function profileItems(profiles: AgentProfile[]): SelectItem[];
14
+ export declare function profileDescription(profile: AgentProfile): string;
15
15
  /** Shown when the picked profile is already active. */
16
- declare function profileSummary(profile: AgentProfile): string;
17
- declare function profileTitle(current?: string): string;
16
+ export declare function profileSummary(profile: AgentProfile): string;
17
+ export declare function profileTitle(current?: string): string;
18
18
  //#endregion
19
- export { PROFILE_STATUS_KEY, profileDescription, profileItems, profileStatus, profileSummary, profileTitle };
20
19
  //# sourceMappingURL=profileText.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profileText.d.mts","names":[],"sources":["../../src/services/profileText.ts"],"mappings":";;;;cAMa;;;;;;iBAOG,cAAc,6BAA6B;;iBAM3C,aAAa,UAAU,iBAAiB;iBAQxC,mBAAmB,SAAS;;iBAM5B,eAAe,SAAS;iBAUxB,aAAa"}
1
+ {"version":3,"file":"profileText.d.mts","names":[],"sources":["../../src/services/profileText.ts"],"mappings":";;;;qBAMa;;;;;;wBAOG,cAAc,6BAA6B;;wBAM3C,aAAa,UAAU,iBAAiB;wBAQxC,mBAAmB,SAAS;;wBAM5B,eAAe,SAAS;wBAUxB,aAAa"}
@@ -1,16 +1,15 @@
1
1
  //#region src/types/telemetry.d.ts
2
2
  /** Telemetry events this package reports, and the port that records them. */
3
- declare const PROFILE_EVENT: {
3
+ export declare const PROFILE_EVENT: {
4
4
  readonly profileApplied: 'doom_pi_profile.applied';
5
5
  readonly profileLoadFailed: 'doom_pi_profile.load_failed';
6
6
  readonly personaReadFailed: 'doom_pi_profile.persona_read_failed';
7
7
  };
8
- type ProfileEventName = (typeof PROFILE_EVENT)[keyof typeof PROFILE_EVENT];
9
- type ProfileEventAttributes = Record<string, string | number | boolean>;
10
- interface ProfileTelemetry {
8
+ export type ProfileEventName = (typeof PROFILE_EVENT)[keyof typeof PROFILE_EVENT];
9
+ export type ProfileEventAttributes = Record<string, string | number | boolean>;
10
+ export interface ProfileTelemetry {
11
11
  recordError(event: ProfileEventName, error: unknown, attributes?: ProfileEventAttributes): Promise<void>;
12
12
  recordEvent(event: ProfileEventName, attributes?: ProfileEventAttributes): Promise<void>;
13
13
  }
14
14
  //#endregion
15
- export { PROFILE_EVENT, ProfileEventAttributes, ProfileEventName, ProfileTelemetry };
16
15
  //# sourceMappingURL=telemetry.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"telemetry.d.cts","names":[],"sources":["../../src/types/telemetry.ts"],"mappings":";;cACa;WACX;WACA;WACA;;KAGU,2BAA2B,4BAA4B;KACvD,yBAAyB;UAEpB;EACf,YAAY,OAAO,kBAAkB,gBAAgB,aAAa,yBAAyB;EAC3F,YAAY,OAAO,kBAAkB,aAAa,yBAAyB"}
1
+ {"version":3,"file":"telemetry.d.cts","names":[],"sources":["../../src/types/telemetry.ts"],"mappings":";;qBACa;WACX;WACA;WACA;;YAGU,2BAA2B,4BAA4B;YACvD,yBAAyB;iBAEpB;EACf,YAAY,OAAO,kBAAkB,gBAAgB,aAAa,yBAAyB;EAC3F,YAAY,OAAO,kBAAkB,aAAa,yBAAyB"}
@@ -1,16 +1,15 @@
1
1
  //#region src/types/telemetry.d.ts
2
2
  /** Telemetry events this package reports, and the port that records them. */
3
- declare const PROFILE_EVENT: {
3
+ export declare const PROFILE_EVENT: {
4
4
  readonly profileApplied: 'doom_pi_profile.applied';
5
5
  readonly profileLoadFailed: 'doom_pi_profile.load_failed';
6
6
  readonly personaReadFailed: 'doom_pi_profile.persona_read_failed';
7
7
  };
8
- type ProfileEventName = (typeof PROFILE_EVENT)[keyof typeof PROFILE_EVENT];
9
- type ProfileEventAttributes = Record<string, string | number | boolean>;
10
- interface ProfileTelemetry {
8
+ export type ProfileEventName = (typeof PROFILE_EVENT)[keyof typeof PROFILE_EVENT];
9
+ export type ProfileEventAttributes = Record<string, string | number | boolean>;
10
+ export interface ProfileTelemetry {
11
11
  recordError(event: ProfileEventName, error: unknown, attributes?: ProfileEventAttributes): Promise<void>;
12
12
  recordEvent(event: ProfileEventName, attributes?: ProfileEventAttributes): Promise<void>;
13
13
  }
14
14
  //#endregion
15
- export { PROFILE_EVENT, ProfileEventAttributes, ProfileEventName, ProfileTelemetry };
16
15
  //# sourceMappingURL=telemetry.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"telemetry.d.mts","names":[],"sources":["../../src/types/telemetry.ts"],"mappings":";;cACa;WACX;WACA;WACA;;KAGU,2BAA2B,4BAA4B;KACvD,yBAAyB;UAEpB;EACf,YAAY,OAAO,kBAAkB,gBAAgB,aAAa,yBAAyB;EAC3F,YAAY,OAAO,kBAAkB,aAAa,yBAAyB"}
1
+ {"version":3,"file":"telemetry.d.mts","names":[],"sources":["../../src/types/telemetry.ts"],"mappings":";;qBACa;WACX;WACA;WACA;;YAGU,2BAA2B,4BAA4B;YACvD,yBAAyB;iBAEpB;EACf,YAAY,OAAO,kBAAkB,gBAAgB,aAAa,yBAAyB;EAC3F,YAAY,OAAO,kBAAkB,aAAa,yBAAyB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/doompi-profile",
3
- "version": "0.0.1-alpha.36",
3
+ "version": "0.0.1-alpha.42",
4
4
  "description": "Persona and environment profile switching for DoomPi sessions.",
5
5
  "keywords": [
6
6
  "agent-persona",
@@ -61,27 +61,27 @@
61
61
  "access": "public"
62
62
  },
63
63
  "dependencies": {
64
- "@deepseek-ai/cordis": "4.0.1",
65
- "@agimon-ai/doompi-config": "0.0.1-alpha.57",
66
- "@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.57",
67
- "@agimon-ai/doompi-telemetry": "0.0.1-alpha.56",
68
- "@agimon-ai/doompi-ui": "0.0.1-alpha.58",
69
- "@agimon-ai/doompi-web-contracts": "0.0.1-alpha.20"
64
+ "@deepseek-ai/cordis": "4.0.2",
65
+ "@agimon-ai/doompi-config": "0.0.1-alpha.63",
66
+ "@agimon-ai/doompi-telemetry": "0.0.1-alpha.62",
67
+ "@agimon-ai/doompi-ui": "0.0.1-alpha.64",
68
+ "@agimon-ai/doompi-web-contracts": "0.0.1-alpha.26",
69
+ "@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.63"
70
70
  },
71
71
  "devDependencies": {
72
- "@deepseek-ai/cordis": "4.0.1",
73
- "@earendil-works/pi-coding-agent": "0.85.0",
74
- "@earendil-works/pi-tui": "0.85.0",
75
- "@types/node": "26.4.0",
76
- "@vitest/coverage-v8": "4.1.11",
77
- "tsdown": "0.22.14",
72
+ "@deepseek-ai/cordis": "4.0.2",
73
+ "@earendil-works/pi-coding-agent": "0.85.1",
74
+ "@earendil-works/pi-tui": "0.85.1",
75
+ "@types/node": "26.4.1",
76
+ "@vitest/coverage-v8": "5.0.0",
77
+ "tsdown": "0.23.0",
78
78
  "typescript": "7.0.2",
79
- "vitest": "4.1.11",
80
- "@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.1-alpha.54"
79
+ "vitest": "5.0.0",
80
+ "@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.1-alpha.60"
81
81
  },
82
82
  "peerDependencies": {
83
- "@earendil-works/pi-coding-agent": "0.85.0",
84
- "@earendil-works/pi-tui": "0.85.0"
83
+ "@earendil-works/pi-coding-agent": "0.85.1",
84
+ "@earendil-works/pi-tui": "0.85.1"
85
85
  },
86
86
  "peerDependenciesMeta": {
87
87
  "@earendil-works/pi-coding-agent": {