langtrain 0.1.23 → 0.1.25
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/dist/chunk-Q5EF25B2.js +3 -0
- package/dist/chunk-Q5EF25B2.js.map +1 -0
- package/dist/chunk-XRT7LLNF.mjs +3 -0
- package/dist/chunk-XRT7LLNF.mjs.map +1 -0
- package/dist/cli.js +6 -6
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +6 -6
- package/dist/cli.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/tsup.config.ts +0 -1
- package/.github/workflows/publish.yml +0 -39
- package/dist/chunk-PGDJTY7T.mjs +0 -13
- package/dist/chunk-PGDJTY7T.mjs.map +0 -1
- package/dist/chunk-TZNQ5KWQ.js +0 -13
- package/dist/chunk-TZNQ5KWQ.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkQ5EF25B2_js=require('./chunk-Q5EF25B2.js');chunkQ5EF25B2_js.r();Object.defineProperty(exports,"AgentClient",{enumerable:true,get:function(){return chunkQ5EF25B2_js.d}});Object.defineProperty(exports,"AgentTypes",{enumerable:true,get:function(){return chunkQ5EF25B2_js.e}});Object.defineProperty(exports,"FileClient",{enumerable:true,get:function(){return chunkQ5EF25B2_js.f}});Object.defineProperty(exports,"GuardrailClient",{enumerable:true,get:function(){return chunkQ5EF25B2_js.m}});Object.defineProperty(exports,"Langtune",{enumerable:true,get:function(){return chunkQ5EF25B2_js.q}});Object.defineProperty(exports,"Langvision",{enumerable:true,get:function(){return chunkQ5EF25B2_js.p}});Object.defineProperty(exports,"ModelClient",{enumerable:true,get:function(){return chunkQ5EF25B2_js.i}});Object.defineProperty(exports,"ModelTypes",{enumerable:true,get:function(){return chunkQ5EF25B2_js.j}});Object.defineProperty(exports,"SecretClient",{enumerable:true,get:function(){return chunkQ5EF25B2_js.k}});Object.defineProperty(exports,"SecretTypes",{enumerable:true,get:function(){return chunkQ5EF25B2_js.l}});Object.defineProperty(exports,"SubscriptionClient",{enumerable:true,get:function(){return chunkQ5EF25B2_js.h}});Object.defineProperty(exports,"Text",{enumerable:true,get:function(){return chunkQ5EF25B2_js.o}});Object.defineProperty(exports,"TrainingClient",{enumerable:true,get:function(){return chunkQ5EF25B2_js.g}});Object.defineProperty(exports,"Vision",{enumerable:true,get:function(){return chunkQ5EF25B2_js.n}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {r}from'./chunk-
|
|
1
|
+
import {r}from'./chunk-XRT7LLNF.mjs';export{d as AgentClient,e as AgentTypes,f as FileClient,m as GuardrailClient,q as Langtune,p as Langvision,i as ModelClient,j as ModelTypes,k as SecretClient,l as SecretTypes,h as SubscriptionClient,o as Text,g as TrainingClient,n as Vision}from'./chunk-XRT7LLNF.mjs';r();//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langtrain",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.25",
|
|
4
4
|
"description": "Unified JavaScript SDK for Langtrain Ecosystem",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -34,8 +34,6 @@
|
|
|
34
34
|
"@types/form-data": "^2.2.1",
|
|
35
35
|
"@types/gradient-string": "^1.1.6",
|
|
36
36
|
"@types/node": "^25.2.3",
|
|
37
|
-
"langtune": "^0.1.1",
|
|
38
|
-
"langvision": "^0.1.1",
|
|
39
37
|
"tsup": "^8.0.2",
|
|
40
38
|
"typescript": "^5.4.2"
|
|
41
39
|
},
|
|
@@ -47,6 +45,8 @@
|
|
|
47
45
|
"form-data": "^4.0.5",
|
|
48
46
|
"gradient-string": "^3.0.0",
|
|
49
47
|
"kleur": "^4.1.5",
|
|
50
|
-
"langtrain": "^0.1.15"
|
|
48
|
+
"langtrain": "^0.1.15",
|
|
49
|
+
"langtune": "^0.1.1",
|
|
50
|
+
"langvision": "^0.1.1"
|
|
51
51
|
}
|
|
52
52
|
}
|
package/tsup.config.ts
CHANGED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
name: Publish Package
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
release:
|
|
5
|
-
types: [created]
|
|
6
|
-
push:
|
|
7
|
-
tags:
|
|
8
|
-
- 'v*'
|
|
9
|
-
workflow_dispatch:
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
build:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
steps:
|
|
15
|
-
- uses: actions/checkout@v4
|
|
16
|
-
- uses: actions/setup-node@v4
|
|
17
|
-
with:
|
|
18
|
-
node-version: '20.x'
|
|
19
|
-
registry-url: 'https://registry.npmjs.org'
|
|
20
|
-
|
|
21
|
-
- run: npm ci
|
|
22
|
-
- run: npm run build
|
|
23
|
-
|
|
24
|
-
publish:
|
|
25
|
-
needs: build
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
if: startsWith(github.ref, 'refs/tags/v')
|
|
28
|
-
steps:
|
|
29
|
-
- uses: actions/checkout@v4
|
|
30
|
-
- uses: actions/setup-node@v4
|
|
31
|
-
with:
|
|
32
|
-
node-version: '20.x'
|
|
33
|
-
registry-url: 'https://registry.npmjs.org'
|
|
34
|
-
|
|
35
|
-
- run: npm ci
|
|
36
|
-
- run: npm run build
|
|
37
|
-
- run: npm publish
|
|
38
|
-
env:
|
|
39
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|