Skip to content

Update nodejs langchain sample with otel and stable sdk#293

Draft
ajmfehr wants to merge 3 commits intomainfrom
alfehr/update-node-langchain-stable
Draft

Update nodejs langchain sample with otel and stable sdk#293
ajmfehr wants to merge 3 commits intomainfrom
alfehr/update-node-langchain-stable

Conversation

@ajmfehr
Copy link
Copy Markdown
Contributor

@ajmfehr ajmfehr commented May 1, 2026

add dev tunnel config

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 16 package(s) with unknown licenses.
See the Details below.

License Issues

nodejs/langchain/sample-agent/package.json

PackageVersionLicenseIssue Type
@microsoft/agents-a365-notifications^1.0.0NullUnknown License
@microsoft/agents-a365-runtime^1.0.0NullUnknown License
@microsoft/agents-a365-tooling^1.0.0NullUnknown License
@microsoft/agents-a365-tooling-extensions-langchain^1.0.0NullUnknown License
@microsoft/agents-activity^1.5.1NullUnknown License
@microsoft/agents-hosting^1.5.1NullUnknown License
@microsoft/opentelemetry^1.0.0NullUnknown License
express^4.22.1NullUnknown License

nodejs/openai/sample-agent/package.json

PackageVersionLicenseIssue Type
@microsoft/agents-a365-notifications^1.0.0NullUnknown License
@microsoft/agents-a365-runtime^1.0.0NullUnknown License
@microsoft/agents-a365-tooling^1.0.0NullUnknown License
@microsoft/agents-a365-tooling-extensions-openai^1.0.0NullUnknown License
@microsoft/agents-activity^1.5.1NullUnknown License
@microsoft/agents-hosting^1.5.1NullUnknown License
@microsoft/opentelemetry^1.0.0NullUnknown License
express^4.22.1NullUnknown License
Denied Licenses: GPL-3.0-only, AGPL-3.0-only

OpenSSF Scorecard

Scorecard details
PackageVersionScoreDetails
npm/@microsoft/agents-a365-notifications ^1.0.0 UnknownUnknown
npm/@microsoft/agents-a365-runtime ^1.0.0 UnknownUnknown
npm/@microsoft/agents-a365-tooling ^1.0.0 UnknownUnknown
npm/@microsoft/agents-a365-tooling-extensions-langchain ^1.0.0 UnknownUnknown
npm/@microsoft/agents-activity ^1.5.1 UnknownUnknown
npm/@microsoft/agents-hosting ^1.5.1 UnknownUnknown
npm/@microsoft/opentelemetry ^1.0.0 UnknownUnknown
npm/@types/express ^4.17.25 UnknownUnknown
npm/express ^4.22.1 UnknownUnknown
npm/@microsoft/agents-a365-notifications ^1.0.0 UnknownUnknown
npm/@microsoft/agents-a365-runtime ^1.0.0 UnknownUnknown
npm/@microsoft/agents-a365-tooling ^1.0.0 UnknownUnknown
npm/@microsoft/agents-a365-tooling-extensions-openai ^1.0.0 UnknownUnknown
npm/@microsoft/agents-activity ^1.5.1 UnknownUnknown
npm/@microsoft/agents-hosting ^1.5.1 UnknownUnknown
npm/@microsoft/opentelemetry ^1.0.0 UnknownUnknown
npm/@types/express ^4.17.25 UnknownUnknown
npm/express ^4.22.1 UnknownUnknown

Scanned Files

  • nodejs/langchain/sample-agent/package.json
  • nodejs/openai/sample-agent/package.json

"agentic_scopes": "ea9ffc3e-8a23-4a7d-836d-234d7c7565c1/.default",
"connectionsMap__0__serviceUrl": "*",
"connectionsMap__0__connection": "service_connection",
"connections__service_connection__settings__clientId": "037c994d-fc58-49e3-8b44-816dfe8e4a26"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make palceholder

"version": "0.2.0",
"configurations": [
{
"name": "Debug (Agentic Auth + Dev Tunnel)",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add instructions to readme

{
"label": "Start Dev Tunnel (langchain-agent-debug)",
"type": "shell",
"command": "devtunnel host langchain-agent-debug --allow-anonymous",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace with placeholder

tenantId,
turnContext,
this.authorization,
turnContext as unknown as TurnContextLike,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug in otel package needs to be fixed upstream

turnContext,
this.authorization,
turnContext as unknown as TurnContextLike,
this.authorization as any,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug in otel package needs to be fixed upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants