Skip to content

Commit fbc5e39

Browse files
chore: sync repo
1 parent 79b3510 commit fbc5e39

30 files changed

+1007
-1244
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
name: CI
22
on:
33
push:
4-
branches:
5-
- main
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'stl-preview-head/**'
9+
- 'stl-preview-base/**'
610
pull_request:
7-
branches:
8-
- main
9-
- next
11+
branches-ignore:
12+
- 'stl-preview-head/**'
13+
- 'stl-preview-base/**'
1014

1115
jobs:
1216
lint:
17+
timeout-minutes: 10
1318
name: lint
14-
runs-on: ubuntu-latest
15-
19+
runs-on: ${{ github.repository == 'stainless-sdks/llama-api-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
1621
steps:
1722
- uses: actions/checkout@v4
1823

@@ -28,9 +33,13 @@ jobs:
2833
run: ./scripts/lint
2934

3035
build:
36+
timeout-minutes: 5
3137
name: build
32-
runs-on: ubuntu-latest
33-
38+
runs-on: ${{ github.repository == 'stainless-sdks/llama-api-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
39+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
40+
permissions:
41+
contents: read
42+
id-token: write
3443
steps:
3544
- uses: actions/checkout@v4
3645

@@ -44,10 +53,26 @@ jobs:
4453

4554
- name: Check build
4655
run: ./scripts/build
56+
57+
- name: Get GitHub OIDC Token
58+
if: github.repository == 'stainless-sdks/llama-api-typescript'
59+
id: github-oidc
60+
uses: actions/github-script@v6
61+
with:
62+
script: core.setOutput('github_token', await core.getIDToken());
63+
64+
- name: Upload tarball
65+
if: github.repository == 'stainless-sdks/llama-api-typescript'
66+
env:
67+
URL: https://pkg.stainless.com/s
68+
AUTH: ${{ steps.github-oidc.outputs.github_token }}
69+
SHA: ${{ github.sha }}
70+
run: ./scripts/utils/upload-artifact.sh
4771
test:
72+
timeout-minutes: 10
4873
name: test
49-
runs-on: ubuntu-latest
50-
74+
runs-on: ${{ github.repository == 'stainless-sdks/llama-api-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
75+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
5176
steps:
5277
- uses: actions/checkout@v4
5378

.github/workflows/examples.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
*.watchman-cookie*
21
.prism.log
32
node_modules
43
yarn-error.log

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 3
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/meta%2Fllama-api-7ff4fcc96829051ab3c627d2a6eb15eae95e2faeceb6af5d69e91c5d01dc8781.yml
3-
openapi_spec_hash: 10455d7d46f2f4c88d427cc7b0a4ebee
4-
config_hash: bc2644b02f8a40dc1cfbb206af1f623d
1+
configured_endpoints: 4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/meta%2Fllama-api-bfa0267b010dcc4b39e62dfbd698ac6f9421f3212c44b3408b9b154bd6c67a8b.yml
3+
openapi_spec_hash: 7f424537bc7ea7638e3934ef721b8d71
4+
config_hash: 675e5003e5c68b62e813de9c86b50e35

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ If you’d like to use the repository from source, you can either install from g
4242
To install via git:
4343

4444
```sh
45-
$ npm install git+ssh://git@github.com:meta-llama/llama-api-typescript.git
45+
$ npm install git+ssh://git@github.com:stainless-sdks/llama-api-typescript.git
4646
```
4747

4848
Alternatively, to link a local copy of the repo:
4949

5050
```sh
5151
# Clone
52-
$ git clone https://www.github.com/meta-llama/llama-api-typescript
52+
$ git clone https://www.github.com/stainless-sdks/llama-api-typescript
5353
$ cd llama-api-typescript
5454

5555
# With yarn

LICENSE

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1-
MIT License
1+
Copyright 2025 llama-api-client
22

3-
Copyright (c) Meta Platforms, Inc. and affiliates
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

5-
Permission is hereby granted, free of charge, to any person obtaining
6-
a copy of this software and associated documentation files (the
7-
"Software"), to deal in the Software without restriction, including
8-
without limitation the rights to use, copy, modify, merge, publish,
9-
distribute, sublicense, and/or sell copies of the Software, and to
10-
permit persons to whom the Software is furnished to do so, subject to
11-
the following conditions:
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
126

13-
The above copyright notice and this permission notice shall be
14-
included in all copies or substantial portions of the Software.
15-
16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)