@serviceme/devtools-protocol 2.0.2 → 2.0.4

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.d.mts CHANGED
@@ -1869,7 +1869,7 @@ export interface LocalPublishableAgent {
1869
1869
  //#endregion
1870
1870
  //#region src/metadata.d.ts
1871
1871
  export declare const SERVICEME_CLI_NAME = "serviceme";
1872
- export declare const SERVICEME_CLI_VERSION = "2.0.2";
1872
+ export declare const SERVICEME_CLI_VERSION = "2.0.4";
1873
1873
  export declare const SERVICEME_CLI_CAPABILITIES: {
1874
1874
  readonly bridge: true;
1875
1875
  readonly tasks: 1;
@@ -1884,6 +1884,12 @@ export interface ServiceMeProjectScaffoldPruneResult {
1884
1884
  applied: boolean;
1885
1885
  preset: string;
1886
1886
  commands: string[];
1887
+ /** Absolute path of the project the prune was applied to. */
1888
+ projectRoot: string;
1889
+ /** Capability module ids turned off via --no-module (v2 scaffolds only). */
1890
+ disabledModules?: string[];
1891
+ /** Follow-up commands reported by the master prune (--format json). Empty when unavailable. */
1892
+ recommendedNextSteps?: string[];
1887
1893
  }
1888
1894
  export interface ServiceMeProjectGitInitResult {
1889
1895
  initialized: boolean;
package/dist/index.d.ts CHANGED
@@ -1869,7 +1869,7 @@ export interface LocalPublishableAgent {
1869
1869
  //#endregion
1870
1870
  //#region src/metadata.d.ts
1871
1871
  export declare const SERVICEME_CLI_NAME = "serviceme";
1872
- export declare const SERVICEME_CLI_VERSION = "2.0.2";
1872
+ export declare const SERVICEME_CLI_VERSION = "2.0.4";
1873
1873
  export declare const SERVICEME_CLI_CAPABILITIES: {
1874
1874
  readonly bridge: true;
1875
1875
  readonly tasks: 1;
@@ -1884,6 +1884,12 @@ export interface ServiceMeProjectScaffoldPruneResult {
1884
1884
  applied: boolean;
1885
1885
  preset: string;
1886
1886
  commands: string[];
1887
+ /** Absolute path of the project the prune was applied to. */
1888
+ projectRoot: string;
1889
+ /** Capability module ids turned off via --no-module (v2 scaffolds only). */
1890
+ disabledModules?: string[];
1891
+ /** Follow-up commands reported by the master prune (--format json). Empty when unavailable. */
1892
+ recommendedNextSteps?: string[];
1887
1893
  }
1888
1894
  export interface ServiceMeProjectGitInitResult {
1889
1895
  initialized: boolean;
package/dist/index.js CHANGED
@@ -1355,7 +1355,7 @@ function isServiceMeImageValidationResult(value) {
1355
1355
  //#endregion
1356
1356
  //#region src/metadata.ts
1357
1357
  const SERVICEME_CLI_NAME = "serviceme";
1358
- const SERVICEME_CLI_VERSION = "2.0.2";
1358
+ const SERVICEME_CLI_VERSION = "2.0.4";
1359
1359
  const SERVICEME_CLI_CAPABILITIES = {
1360
1360
  bridge: true,
1361
1361
  tasks: 1,
@@ -1371,7 +1371,8 @@ function isRecord$2(value) {
1371
1371
  }
1372
1372
  function isServiceMeProjectScaffoldPruneResult(value) {
1373
1373
  if (!isRecord$2(value)) return false;
1374
- return typeof value.applied === "boolean" && typeof value.preset === "string" && Array.isArray(value.commands) && value.commands.every((command) => typeof command === "string");
1374
+ const isOptionalStringArray = (entry) => entry === void 0 || Array.isArray(entry) && entry.every((item) => typeof item === "string");
1375
+ return typeof value.applied === "boolean" && typeof value.preset === "string" && typeof value.projectRoot === "string" && isOptionalStringArray(value.disabledModules) && isOptionalStringArray(value.recommendedNextSteps) && Array.isArray(value.commands) && value.commands.every((command) => typeof command === "string");
1375
1376
  }
1376
1377
  function isServiceMeProjectGitInitResult(value) {
1377
1378
  return isRecord$2(value) && typeof value.initialized === "boolean" && typeof value.command === "string";
package/dist/index.mjs CHANGED
@@ -1354,7 +1354,7 @@ function isServiceMeImageValidationResult(value) {
1354
1354
  //#endregion
1355
1355
  //#region src/metadata.ts
1356
1356
  const SERVICEME_CLI_NAME = "serviceme";
1357
- const SERVICEME_CLI_VERSION = "2.0.2";
1357
+ const SERVICEME_CLI_VERSION = "2.0.4";
1358
1358
  const SERVICEME_CLI_CAPABILITIES = {
1359
1359
  bridge: true,
1360
1360
  tasks: 1,
@@ -1370,7 +1370,8 @@ function isRecord$2(value) {
1370
1370
  }
1371
1371
  function isServiceMeProjectScaffoldPruneResult(value) {
1372
1372
  if (!isRecord$2(value)) return false;
1373
- return typeof value.applied === "boolean" && typeof value.preset === "string" && Array.isArray(value.commands) && value.commands.every((command) => typeof command === "string");
1373
+ const isOptionalStringArray = (entry) => entry === void 0 || Array.isArray(entry) && entry.every((item) => typeof item === "string");
1374
+ return typeof value.applied === "boolean" && typeof value.preset === "string" && typeof value.projectRoot === "string" && isOptionalStringArray(value.disabledModules) && isOptionalStringArray(value.recommendedNextSteps) && Array.isArray(value.commands) && value.commands.every((command) => typeof command === "string");
1374
1375
  }
1375
1376
  function isServiceMeProjectGitInitResult(value) {
1376
1377
  return isRecord$2(value) && typeof value.initialized === "boolean" && typeof value.command === "string";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serviceme/devtools-protocol",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Shared protocol contracts, runtime validators, and error models for SERVICEME tools.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  "registry": "https://registry.npmjs.org/"
34
34
  },
35
35
  "dependencies": {
36
- "@serviceme/devtools-shared": "2.0.2"
36
+ "@serviceme/devtools-shared": "2.0.4"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^24",