@sparkelf/dsh-patch-ptc-mcp-schema-types 0.2.0-rc.2 → 0.2.0-rc.21

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/package.json CHANGED
@@ -4,11 +4,11 @@
4
4
  "formatVersion": 1,
5
5
  "variants": [
6
6
  {
7
- "dsh": ">=0.1.6-alpha.1",
7
+ "dsh": ">=0.1.7-alpha.2",
8
8
  "file": "./patches/ptc-mcp-schema-types.patch",
9
9
  "id": "ptc-mcp-validation-schema-types",
10
10
  "target": {
11
- "baseRevision": "0a15e36e7f82b6ed45af6fa9759f29b40dcd965d",
11
+ "baseRevision": "00102833dfaee1da9f48a3a8eae9d34005a75218",
12
12
  "kind": "dsh-source",
13
13
  "paths": [
14
14
  "packages/core/tools/"
@@ -31,5 +31,5 @@
31
31
  "url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
32
32
  },
33
33
  "type": "module",
34
- "version": "0.2.0-rc.2"
34
+ "version": "0.2.0-rc.21"
35
35
  }
@@ -64,7 +64,7 @@ index c064fb294c..573cdd69c0 100644
64
64
  * Assert the enforced subset plus the object-root constraint retained by
65
65
  * subagent and workflow structured outputs.
66
66
  diff --git a/packages/core/tools/src/ts-types.ts b/packages/core/tools/src/ts-types.ts
67
- index d92c987817..a2d6fa7132 100644
67
+ index d92c987817..40fbe3bc59 100644
68
68
  --- a/packages/core/tools/src/ts-types.ts
69
69
  +++ b/packages/core/tools/src/ts-types.ts
70
70
  @@ -7,7 +7,7 @@
@@ -76,6 +76,15 @@ index d92c987817..a2d6fa7132 100644
76
76
  import type { JsonSchemaNode, JsonSchemaScalar } from './json-schema.ts'
77
77
  /** Internal PTC mode projection: the model-facing schema plus the canonical output schema. */
78
78
  export interface ToolSdkSchema extends ToolSchema {
79
+ @@ -219,7 +219,7 @@ function renderSupportedSchema(schema: JsonSchemaNode, indent: number): TypeDocu
80
+ }
81
+ break
82
+ }
83
+ - /* v8 ignore next -- assertSupportedJsonSchema narrowed this closed type union. */
84
+ + /* v8 ignore next -- assertTypeProjectableJsonSchema narrowed this closed type union. */
85
+ default:
86
+ finish(typeDocument('unknown'))
87
+ }
79
88
  @@ -239,7 +239,7 @@ function renderSupportedSchema(schema: JsonSchemaNode, indent: number): TypeDocu
80
89
  */
81
90
  export function jsonSchemaToTs(schema: unknown, indent = 0): string {