pm-ts-starter 2026.7.25 → 2026.7.27

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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026.7.27 - 2026-07-27
4
+
5
+ ### Added
6
+
7
+ - Demonstrate the full sdk/authoring builder surface with harness-backed tests ([pm-ts-starter-fjtz](https://github.com/unbraind/pm-ts-starter/blob/main/.agents/pm/features/pm-ts-starter-fjtz.toon))
8
+
9
+ ### Removed
10
+
11
+ - Adopt pm-cli 2026.7.26 typed authoring contracts and remove the any-cast defineExtension shim ([pm-ts-starter-0cd3](https://github.com/unbraind/pm-ts-starter/blob/main/.agents/pm/tasks/pm-ts-starter-0cd3.toon))
12
+
13
+ ## 2026.7.26 - 2026-07-26
14
+
15
+ ### Fixed
16
+
17
+ - Reference extension claimed to be fully typed but used any, hiding three wrong SDK contracts ([pm-ts-starter-v5gs](https://github.com/unbraind/pm-ts-starter/blob/main/.agents/pm/issues/pm-ts-starter-v5gs.toon))
18
+
19
+ ### Other
20
+
21
+ - Enable governance duplicate-detection advisory mode and adopt pm-cli 2026.7.25 ([pm-ts-starter-4u91](https://github.com/unbraind/pm-ts-starter/blob/main/.agents/pm/chores/pm-ts-starter-4u91.toon))
22
+
3
23
  ## 2026.7.25 - 2026-07-25
4
24
 
5
25
  ### Fixed
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { type ExtensionBlueprint, type ExtensionModule } from "@unbrained/pm-cli/sdk/authoring";
1
2
  import type { PmCliExpectedError } from "@unbrained/pm-cli/sdk";
2
3
  interface TsStarterErrorContextInput {
3
4
  feature?: string;
@@ -18,11 +19,66 @@ interface TsStarterErrorOptions {
18
19
  }
19
20
  declare function pmExpectedError(message: string, options?: TsStarterErrorOptions): PmCliExpectedError;
20
21
  declare function isPmCliExpectedError(error: unknown): error is PmCliExpectedError;
21
- export { pmExpectedError, isPmCliExpectedError };
22
- declare const _default: {
22
+ interface PmRunResult {
23
+ ok: boolean;
24
+ stdout: string;
25
+ stderr: string;
26
+ status: number | null;
27
+ }
28
+ export declare function runPm(pmRoot: string, args: string[]): PmRunResult;
29
+ declare const demoProfile: {
30
+ name: string;
31
+ title: string;
32
+ summary: string;
33
+ types: {
34
+ name: string;
35
+ description: string;
36
+ folder: string;
37
+ aliases: string[];
38
+ }[];
39
+ statuses: {
40
+ id: string;
41
+ description: string;
42
+ roles: string[];
43
+ }[];
44
+ fields: {
45
+ key: string;
46
+ type: string;
47
+ description: string;
48
+ }[];
49
+ workflows: {
50
+ type: string;
51
+ allowed_transitions: [string, string][];
52
+ }[];
53
+ config: {
54
+ key: string;
55
+ value: string;
56
+ summary: string;
57
+ }[];
58
+ templates: {
59
+ name: string;
60
+ options: {
61
+ type: string;
62
+ title: string;
63
+ };
64
+ }[];
65
+ packages: {
66
+ spec: string;
67
+ reason: string;
68
+ }[];
69
+ };
70
+ declare const blueprint: ExtensionBlueprint;
71
+ declare const derivedCapabilities: ("commands" | "hooks" | "importers" | "parser" | "preflight" | "renderers" | "schema" | "search" | "services")[];
72
+ declare const manifestMirror: {
23
73
  name: string;
24
74
  version: any;
25
- activate(api: any): void;
75
+ entry: string;
76
+ priority: number;
77
+ capabilities: ("commands" | "hooks" | "importers" | "parser" | "preflight" | "renderers" | "schema" | "search" | "services")[];
26
78
  };
27
- export default _default;
79
+ declare const composedModule: ExtensionModule;
80
+ declare const packagedModule: ExtensionModule, synthesizedManifest: import("@unbrained/pm-cli/sdk").ExtensionManifest;
81
+ export default packagedModule;
82
+ export { pmExpectedError, isPmCliExpectedError };
83
+ export { blueprint, derivedCapabilities, manifestMirror, synthesizedManifest, composedModule, demoProfile, };
28
84
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAEV,kBAAkB,EACnB,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