@ancplua/qyl-api-schema 2.0.0 → 2.1.0

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.
@@ -1,7 +1,7 @@
1
1
  // <auto-generated/>
2
2
  // Generated by qyl's Weaver pipeline (emit_typespec_keys.py) from:
3
3
  // open-telemetry/semantic-conventions v1.43.0 (89aae438b3b3b0a8dd33003c9d70592baf7dbd0d)
4
- // open-telemetry/semantic-conventions-genai 33b7f9da9ade6162d4a5c16247d0bc6ad5f8b469 (33b7f9da9ade6162d4a5c16247d0bc6ad5f8b469)
4
+ // open-telemetry/semantic-conventions-genai 74fd2e0f77267ce26d55cf8991200df5a265ef74 (74fd2e0f77267ce26d55cf8991200df5a265ef74)
5
5
  // Schema: https://opentelemetry.io/schemas/1.43.0
6
6
  // GenAI schema: https://opentelemetry.io/schemas/gen-ai-dev/1.42.0-dev
7
7
  // Licensed under Apache-2.0 (inherited from OpenTelemetry upstream)
@@ -881,6 +881,8 @@ namespace Qyl.OpenTelemetry.SemanticConventions.Keys.GenAi {
881
881
  const RequestModel: string = "gen_ai.request.model";
882
882
  /** The presence penalty setting for the GenAI request. */
883
883
  const RequestPresencePenalty: string = "gen_ai.request.presence_penalty";
884
+ /** The unique identifier of a previous response or interaction used to provide context for the current operation. */
885
+ const RequestPreviousResponseId: string = "gen_ai.request.previous_response.id";
884
886
  /** The reasoning or thinking effort level requested for a GenAI model. */
885
887
  const RequestReasoningLevel: string = "gen_ai.request.reasoning.level";
886
888
  /** Requests with same seed value more likely to return same result. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ancplua/qyl-api-schema",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "TypeSpec source of truth for qyl API contracts. Emits OpenAPI, JSON Schema, Qyl.Api.Contracts DTOs, and TypeScript contract types; not an OpenTelemetry package, storage schema, or server implementation.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -93,7 +93,8 @@
93
93
  "lint": "npm run build:emitters && tsp compile main.tsp --no-emit --warn-as-error",
94
94
  "lint:public": "npm run build:emitters && tsp compile index.tsp --no-emit --warn-as-error",
95
95
  "verify:routes": "node scripts/verify-route-contracts.mjs",
96
- "verify:contracts": "node scripts/verify-contract-fixtures.mjs"
96
+ "verify:contracts": "node scripts/verify-contract-fixtures.mjs",
97
+ "verify:lint-rules": "npm run build:emitters && node scripts/verify-lint-rules.mjs"
97
98
  },
98
99
  "peerDependencies": {
99
100
  "@typespec/compiler": "^1.13.0 || >=1.13.0-dev.0",