@tdk-landscape/tdk-cli-core 1.3.129 → 1.3.131

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
@@ -4,6 +4,26 @@ Notable changes to the `tdk` CLI. Versions match [npm](https://www.npmjs.com/pac
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 1.3.130 (2026-10-08)
8
+
9
+ - Releases now come with a signed checksum list: `checksums.txt.sigstore.json` (keyless Sigstore signature from the release workflow) is attached next to the binaries in [tdk-cli-releases](https://github.com/tdk-landscape/tdk-cli-releases/releases) and to a release with the same tag here. How to verify is in [docs/security.md](docs/security.md#releases). The binaries themselves are not signed individually (#869, #840).
10
+ - `tdk resource` for a Python backend now writes `pytest==9.0.3` in the generated `pyproject.toml` (was 8.3.4, affected by GHSA-6w46-j5rx-g56g) (#867).
11
+ - Examples: bumped past open Dependabot alerts: puma 7.2.1 (Sinatra), NestJS 11.1.18, drizzle-orm 0.45.2 and pytest 9.0.3 (#867).
12
+ - Supply chain: every checked-in Dockerfile base image is pinned to a digest (#865).
13
+ - Tests: a property-based fuzz test for the `service.json` line-break guard runs on every pull request (#866).
14
+ - Docs: the README shows the OpenSSF Best Practices badge (#868).
15
+
16
+ ## 1.3.129 (2026-10-08)
17
+
18
+ - Security policy: `SECURITY.md` now states acknowledgement, assessment, fix and disclosure timelines (#842).
19
+ - Dependencies: four vulnerable transitive JavaScript dependencies bumped in `bun.lock` and `cli/pnpm-lock.yaml` (shell-quote, smol-toml, source-map-js, ws), and the BYO fiber (v2.52.15) and starlette (1.x) examples moved past known advisories (#843, #844, #845).
20
+ - Supply chain: every GitHub Action is pinned to a commit SHA (#864).
21
+ - Docs: a guide for testing webhooks locally (#846).
22
+
23
+ ## 1.3.128 (2026-10-08)
24
+
25
+ - Internal: the skills-sync workflow gets `contents: write` only on the job that pushes, not workflow-wide (#841). No change to the CLI.
26
+
7
27
  ## 1.3.127 (2026-10-08)
8
28
 
9
29
  - Security hardening flagged by Socket (#826). The npm package no longer includes `ext/ide-components/code_executor/server.py`, a browser terminal that ran client-supplied commands through a shell. `tdk` and the Tilt engine never started it. The other IDE components are unchanged. `tdk doctor` now single-quotes the registry URL and container name it passes to `curl` and `docker logs`, so a value such as `$(...)` can no longer run a command.
package/README.md CHANGED
@@ -9,6 +9,7 @@
9
9
  [![Example apps E2E](https://github.com/tdk-landscape/tdk-cli-core/actions/workflows/examples-e2e.yml/badge.svg?branch=main)](https://github.com/tdk-landscape/tdk-cli-core/actions/workflows/examples-e2e.yml)
10
10
  [![CodeQL](https://github.com/tdk-landscape/tdk-cli-core/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/tdk-landscape/tdk-cli-core/security/code-scanning)
11
11
  [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/tdk-landscape/tdk-cli-core/badge)](https://scorecard.dev/viewer/?uri=github.com/tdk-landscape/tdk-cli-core)
12
+ [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/15310/badge)](https://www.bestpractices.dev/projects/15310)
12
13
  [![Known Vulnerabilities](https://snyk.io/test/github/tdk-landscape/tdk-cli-core/badge.svg)](https://snyk.io/test/github/tdk-landscape/tdk-cli-core)
13
14
  [![Socket Badge](https://badge.socket.dev/npm/package/@tdk-landscape/tdk-cli-core/latest)](https://socket.dev/npm/package/@tdk-landscape/tdk-cli-core/overview)
14
15
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
package/cli/bin/tdk.js CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ import { existsSync } from "node:fs";
3
4
  import { dirname, join } from "node:path";
4
5
  import { fileURLToPath, pathToFileURL } from "node:url";
5
6
 
@@ -26,7 +27,12 @@ if (nodeTooOld(process.versions.node)) {
26
27
  process.exit(1);
27
28
  }
28
29
 
29
- const cliPath = join(__dirname, "..", "dist", "cli.js");
30
+ // dist-bundle/ (ink/react/chalk inlined) exists only in a packed npm package;
31
+ // a git checkout runs the committed dist/ instead.
32
+ const bundledCliPath = join(__dirname, "..", "dist-bundle", "cli.js");
33
+ const cliPath = existsSync(bundledCliPath)
34
+ ? bundledCliPath
35
+ : join(__dirname, "..", "dist", "cli.js");
30
36
 
31
37
  import(pathToFileURL(cliPath).href).catch((err) => {
32
38
  console.error("Failed to start TDK:", err);
@@ -20,7 +20,7 @@ dependencies = [
20
20
 
21
21
  [project.optional-dependencies]
22
22
  dev = [
23
- "pytest==8.3.4",
23
+ "pytest==9.0.3",
24
24
  "httpx==0.28.1",
25
25
  ]
26
26
 
@@ -0,0 +1,2 @@
1
+ import{createRequire as __tdkRequire}from'node:module';const require=__tdkRequire(import.meta.url);
2
+ var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>{try{return b||a((b={exports:{}}).exports,b),b.exports}catch(c){throw b=0,c}},o=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var p=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d};