Skip to content

Commit db62fd3

Browse files
committed
Fix build
1 parent 3c3668a commit db62fd3

File tree

5 files changed

+12
-45
lines changed

5 files changed

+12
-45
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,6 @@ jobs:
2020
fetch-depth: 0
2121
token: ${{ secrets.GH_TOKEN != '' && secrets.GH_TOKEN || github.token }}
2222

23-
- name: Checkout SDK source
24-
uses: actions/checkout@v4
25-
with:
26-
repository: metorial/metorial-enterprise
27-
path: metorial-enterprise
28-
fetch-depth: 1
29-
sparse-checkout: |
30-
oss/clients/metorial-go
31-
token: ${{ secrets.GH_TOKEN != '' && secrets.GH_TOKEN || github.token }}
32-
33-
- name: Link SDK dependency
34-
shell: bash
35-
run: |
36-
mkdir -p ../clients
37-
ln -sfn "$GITHUB_WORKSPACE/metorial-enterprise/oss/clients/metorial-go" ../clients/metorial-go
38-
3923
- name: Set up Go
4024
uses: actions/setup-go@v5
4125
with:

.github/workflows/release.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,32 +31,11 @@ jobs:
3131
fetch-depth: 0
3232
token: ${{ secrets.GH_TOKEN != '' && secrets.GH_TOKEN || github.token }}
3333

34-
- name: Checkout SDK source
35-
uses: actions/checkout@v4
36-
with:
37-
repository: metorial/metorial-enterprise
38-
path: metorial-enterprise
39-
fetch-depth: 1
40-
sparse-checkout: |
41-
oss/clients/metorial-go
42-
token: ${{ secrets.GH_TOKEN != '' && secrets.GH_TOKEN || github.token }}
43-
44-
- name: Link SDK dependency
45-
shell: bash
46-
run: |
47-
mkdir -p ../clients
48-
ln -sfn "$GITHUB_WORKSPACE/metorial-enterprise/oss/clients/metorial-go" ../clients/metorial-go
49-
5034
- name: Set up Go
5135
uses: actions/setup-go@v5
5236
with:
5337
go-version-file: go.mod
5438

55-
- name: Set up Node.js
56-
uses: actions/setup-node@v4
57-
with:
58-
node-version: 20
59-
6039
- name: Install Bun
6140
uses: oven-sh/setup-bun@v2
6241
with:

go.mod

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,24 @@ module github.com/metorial/cli
33
go 1.25.0
44

55
require (
6+
github.com/google/jsonschema-go v0.4.2
67
github.com/manifoldco/promptui v0.9.0
7-
github.com/metorial/metorial-go v0.0.0
8+
github.com/metorial/metorial-go v0.0.0-20260403143502-71d28d31f58d
9+
github.com/modelcontextprotocol/go-sdk v1.4.1
810
github.com/pelletier/go-toml/v2 v2.2.4
911
github.com/spf13/cobra v1.10.1
12+
github.com/tailscale/hujson v0.0.0-20241010212012-29efb4a0184b
1013
golang.org/x/term v0.32.0
1114
gopkg.in/yaml.v3 v3.0.1
1215
)
1316

1417
require (
1518
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
16-
github.com/google/jsonschema-go v0.4.2 // indirect
1719
github.com/inconshreveable/mousetrap v1.1.0 // indirect
18-
github.com/modelcontextprotocol/go-sdk v1.4.1 // indirect
1920
github.com/segmentio/asm v1.1.3 // indirect
2021
github.com/segmentio/encoding v0.5.4 // indirect
2122
github.com/spf13/pflag v1.0.9 // indirect
22-
github.com/tailscale/hujson v0.0.0-20241010212012-29efb4a0184b // indirect
2323
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
2424
golang.org/x/oauth2 v0.34.0 // indirect
2525
golang.org/x/sys v0.40.0 // indirect
2626
)
27-
28-
replace github.com/metorial/metorial-go => ../clients/metorial-go

go.sum

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5P
55
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8=
66
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
77
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
8+
github.com/golang-jwt/jwt/v5 v5.3.0 h1:pv4AsKCKKZuqlgs5sUmn4x8UlGa0kEVt/puTpKx9vvo=
9+
github.com/golang-jwt/jwt/v5 v5.3.0/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE=
10+
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
11+
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
812
github.com/google/jsonschema-go v0.4.2 h1:tmrUohrwoLZZS/P3x7ex0WAVknEkBZM46iALbcqoRA8=
913
github.com/google/jsonschema-go v0.4.2/go.mod h1:r5quNTdLOYEz95Ru18zA0ydNbBuYoo9tgaYcxEYhJVE=
1014
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
1115
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
1216
github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA=
1317
github.com/manifoldco/promptui v0.9.0/go.mod h1:ka04sppxSGFAtxX0qhlYQjISsg9mR4GWtQEhdbn6Pgg=
18+
github.com/metorial/metorial-go v0.0.0-20260403143502-71d28d31f58d h1:sb9jypUKDsbwFgjKmHijjIzMD9vEDDU0vMr3wA+Q2oE=
19+
github.com/metorial/metorial-go v0.0.0-20260403143502-71d28d31f58d/go.mod h1:4yvqmCvuyUaiS2QCkWH5tYxUSFmok+PBmLRpg9QOiA4=
1420
github.com/modelcontextprotocol/go-sdk v1.4.1 h1:M4x9GyIPj+HoIlHNGpK2hq5o3BFhC+78PkEaldQRphc=
1521
github.com/modelcontextprotocol/go-sdk v1.4.1/go.mod h1:Bo/mS87hPQqHSRkMv4dQq1XCu6zv4INdXnFZabkNU6s=
1622
github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4=
@@ -31,12 +37,12 @@ github.com/yosida95/uritemplate/v3 v3.0.2/go.mod h1:ILOh0sOhIJR3+L/8afwt/kE++YT0
3137
golang.org/x/oauth2 v0.34.0 h1:hqK/t4AKgbqWkdkcAeI8XLmbK+4m4G5YeQRrmiotGlw=
3238
golang.org/x/oauth2 v0.34.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA=
3339
golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
34-
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
35-
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
3640
golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ=
3741
golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
3842
golang.org/x/term v0.32.0 h1:DR4lr0TjUs3epypdhTOkMmuF5CDFJ/8pOnbzMZPQ7bg=
3943
golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ=
44+
golang.org/x/tools v0.41.0 h1:a9b8iMweWG+S0OBnlU36rzLp20z1Rp10w+IY2czHTQc=
45+
golang.org/x/tools v0.41.0/go.mod h1:XSY6eDqxVNiYgezAVqqCeihT4j1U2CCsqvH3WhQpnlg=
4046
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
4147
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
4248
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

metorial

16.5 MB
Binary file not shown.

0 commit comments

Comments
 (0)