@hautechai/sdk 1.0.4 → 1.0.6

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.
@@ -11,9 +11,7 @@ on:
11
11
  workflow_dispatch:
12
12
 
13
13
  env:
14
- APP_NAME: sdk
15
14
  NODE_VERSION: 22
16
- TAG_PREFIX: "@hautechai"
17
15
 
18
16
  permissions:
19
17
  contents: write
@@ -61,8 +59,6 @@ jobs:
61
59
  runs-on: ubuntu-22.04
62
60
  needs: [test]
63
61
  name: Release
64
- # outputs:
65
- # release_created: ${{ steps.semantic.outputs.release_created }}
66
62
  steps:
67
63
  - uses: tibdex/github-app-token@v2
68
64
  id: generate_token
@@ -104,52 +100,4 @@ jobs:
104
100
  run: pnpm run up-versions
105
101
  env:
106
102
  GH_TOKEN: ${{ steps.generate_token.outputs.token }}
107
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
108
-
109
- # publish:
110
- # runs-on: ubuntu-22.04
111
- # name: Publish
112
- # needs: [version]
113
- # environment: main
114
- # if: (!contains(needs.version.result, 'failure') && needs.version.outputs.release_created == 'true' && always())
115
- # steps:
116
- # - name: Checkout
117
- # uses: actions/checkout@v4.2.2
118
- # with:
119
- # fetch-depth: 0
120
- #
121
- # - name: Setup PNPM
122
- # uses: pnpm/action-setup@v3
123
- # with:
124
- # run_install: false
125
- #
126
- # - name: Setup Node.js
127
- # uses: actions/setup-node@v4.4.0
128
- # with:
129
- # node-version: ${{ env.NODE_VERSION }}
130
- # registry-url: 'https://registry.npmjs.org'
131
- # cache: 'pnpm'
132
- #
133
- # - name: Install dependencies
134
- # run: pnpm install --frozen-lockfile
135
- # env:
136
- # HUSKY: 0
137
- #
138
- # - name: Get version
139
- # id: version
140
- # run: |
141
- # git fetch --all --tags
142
- #
143
- # TAG=$(git tag --list "${{ env.TAG_PREFIX }}/${{ env.APP_NAME }}@*" | sort -V | tail -n 1 | awk -F'@' '{print $3}')
144
- #
145
- # echo "tag=$TAG" >> $GITHUB_OUTPUT
146
- #
147
- # - name: Build the package
148
- # run: pnpm build
149
- #
150
- # - name: Publish the package
151
- # run: |
152
- # pnpm version from-git --no-commit-hooks --no-git-tag-version --allow-same-version
153
- # pnpm publish --no-git-checks --access public
154
- # env:
155
- # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
103
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- ## [1.0.4](https://github.com/HautechAI/sdk/compare/@hautechai/sdk@1.0.3...@hautechai/sdk@1.0.4) (2025-07-17)
1
+ ## [1.0.6](https://github.com/HautechAI/sdk/compare/@hautechai/sdk@1.0.5...@hautechai/sdk@1.0.6) (2025-07-18)
@@ -4515,11 +4515,11 @@ export interface PipelineDto {
4515
4515
  */
4516
4516
  'kind': PipelineDtoKindEnum;
4517
4517
  /**
4518
- * Total credits of all tasks in the pipeline as a decimal string
4518
+ * Total estimated credits of all tasks in the pipeline as a decimal string
4519
4519
  * @type {string}
4520
4520
  * @memberof PipelineDto
4521
4521
  */
4522
- 'totalCredits': string;
4522
+ 'estimatedCredits': string;
4523
4523
  /**
4524
4524
  * Consumed credits of all successfully completed tasks in the pipeline as a decimal string
4525
4525
  * @type {string}
@@ -4631,11 +4631,11 @@ export interface PipelinePreviewDto {
4631
4631
  */
4632
4632
  'kind': PipelinePreviewDtoKindEnum;
4633
4633
  /**
4634
- * Total credits of all tasks in the pipeline as a decimal string
4634
+ * Total estimated credits of all tasks in the pipeline as a decimal string
4635
4635
  * @type {string}
4636
4636
  * @memberof PipelinePreviewDto
4637
4637
  */
4638
- 'totalCredits': string;
4638
+ 'estimatedCredits': string;
4639
4639
  /**
4640
4640
  * Consumed credits of all successfully completed tasks in the pipeline as a decimal string
4641
4641
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hautechai/sdk",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "license": "MIT",
5
5
  "keywords": [],
6
6
  "repository": {
@@ -1,3 +1,6 @@
1
1
  #!/bin/bash
2
2
 
3
- pnpm semantic-release -t "${TAG_PREFIX}/${APP_NAME}@\${version}" --no-ci
3
+ # Extract package name from package.json
4
+ PACKAGE_NAME=$(node -p "require('./package.json').name")
5
+
6
+ pnpm semantic-release -t "${PACKAGE_NAME}@\${version}" --no-ci