onde-cli 0.2.1__tar.gz → 0.3.0__tar.gz
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.
- onde_cli-0.3.0/.agents/skills/git/SKILL.md +43 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/.github/workflows/ci.yml +1 -1
- {onde_cli-0.2.1 → onde_cli-0.3.0}/.github/workflows/release-crates.yml +0 -17
- {onde_cli-0.2.1 → onde_cli-0.3.0}/.github/workflows/release-github.yml +2 -2
- {onde_cli-0.2.1 → onde_cli-0.3.0}/.github/workflows/release-npm.yml +6 -2
- {onde_cli-0.2.1 → onde_cli-0.3.0}/.github/workflows/release-pypi.yml +2 -2
- {onde_cli-0.2.1 → onde_cli-0.3.0}/Cargo.lock +3380 -156
- {onde_cli-0.2.1 → onde_cli-0.3.0}/Cargo.toml +3 -1
- onde_cli-0.3.0/PKG-INFO +248 -0
- onde_cli-0.3.0/README.md +166 -0
- onde_cli-0.3.0/npm/README.md.tmpl +32 -0
- onde_cli-0.3.0/npm/onde-cli/README.md +147 -0
- onde_cli-0.3.0/pypi/README.md +220 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/app.rs +565 -11
- onde_cli-0.3.0/src/chat.rs +330 -0
- onde_cli-0.3.0/src/main.rs +110 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/ui.rs +432 -85
- onde_cli-0.2.1/PKG-INFO +0 -169
- onde_cli-0.2.1/README.md +0 -121
- onde_cli-0.2.1/npm/README.md.tmpl +0 -27
- onde_cli-0.2.1/npm/onde-cli/README.md +0 -79
- onde_cli-0.2.1/pypi/README.md +0 -141
- onde_cli-0.2.1/src/main.rs +0 -54
- {onde_cli-0.2.1 → onde_cli-0.3.0}/.github/workflows/release-homebrew.yml +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/.gitignore +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/.nvmrc +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/LICENSE +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/assets/ondeinference-apps.png +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/build.rs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/npm/onde-cli/.gitignore +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/npm/onde-cli/package-lock.json +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/npm/onde-cli/package.json +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/npm/onde-cli/src/index.ts +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/npm/onde-cli/tsconfig.json +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/npm/package-main.json.tmpl +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/npm/package.json.tmpl +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/npm/scripts/render-main-package.cjs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/npm/scripts/render-platform-package.cjs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/pypi/pyproject.toml +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/pyproject.toml +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/rust-toolchain.toml +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/finetune.rs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/gguf.rs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/gresiq.rs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/hf.rs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/hf_clone.rs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/hf_search.rs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/hf_upload.rs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/merge.rs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/project.rs +0 -0
- {onde_cli-0.2.1 → onde_cli-0.3.0}/src/token.rs +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: git
|
|
3
|
+
description: Git workflow rules for this repository.
|
|
4
|
+
allowed-tools: Read, Write, Edit, Glob, Grep, AskUserQuestion
|
|
5
|
+
user-invocable: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Git skill
|
|
9
|
+
|
|
10
|
+
## Core rule
|
|
11
|
+
|
|
12
|
+
- Use `--no-ff`. Important.
|
|
13
|
+
|
|
14
|
+
## What this means in practice
|
|
15
|
+
|
|
16
|
+
- Do not fast-forward merge feature branches, release branches, or hotfix branches.
|
|
17
|
+
- Prefer explicit merge commits so the branch history stays visible.
|
|
18
|
+
- If release prep happens on a branch, merge it into `main` with `--no-ff` before tagging.
|
|
19
|
+
- Tag the merge commit that contains the final release state.
|
|
20
|
+
|
|
21
|
+
## Release guidance
|
|
22
|
+
|
|
23
|
+
For releases, prefer a flow like this:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
git checkout main
|
|
27
|
+
git merge --no-ff <release-branch> -m "Merge release prep for vX.Y.Z"
|
|
28
|
+
git tag vX.Y.Z
|
|
29
|
+
git push origin main
|
|
30
|
+
git push origin vX.Y.Z
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
If the work is already on `main`, make a normal commit and tag that commit. Do not rewrite history just to avoid a merge commit.
|
|
34
|
+
|
|
35
|
+
## Avoid
|
|
36
|
+
|
|
37
|
+
- `git merge --ff`
|
|
38
|
+
- `git pull --ff-only` as a default recommendation for this repo's merge policy
|
|
39
|
+
- Tagging a branch tip that has not been merged into `main` when the intended release source of truth is `main`
|
|
40
|
+
|
|
41
|
+
## Why
|
|
42
|
+
|
|
43
|
+
The repo wants explicit history. Release commits should be easy to find, easy to audit, and clearly connected to the branch that introduced them.
|
|
@@ -102,20 +102,3 @@ jobs:
|
|
|
102
102
|
env:
|
|
103
103
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
|
104
104
|
run: cargo publish --locked
|
|
105
|
-
|
|
106
|
-
github-release:
|
|
107
|
-
name: Create GitHub release
|
|
108
|
-
runs-on: ubuntu-latest
|
|
109
|
-
needs:
|
|
110
|
-
- verify
|
|
111
|
-
- publish
|
|
112
|
-
if: github.event_name == 'push'
|
|
113
|
-
permissions:
|
|
114
|
-
contents: write
|
|
115
|
-
steps:
|
|
116
|
-
- name: Create release
|
|
117
|
-
uses: softprops/action-gh-release@v2
|
|
118
|
-
with:
|
|
119
|
-
tag_name: v${{ needs.verify.outputs.version }}
|
|
120
|
-
generate_release_notes: true
|
|
121
|
-
name: onde-cli v${{ needs.verify.outputs.version }}
|
|
@@ -45,10 +45,10 @@ jobs:
|
|
|
45
45
|
runner: windows-latest
|
|
46
46
|
target: aarch64-pc-windows-msvc
|
|
47
47
|
- name: macos-amd64
|
|
48
|
-
runner: macos-
|
|
48
|
+
runner: macos-26-intel
|
|
49
49
|
target: x86_64-apple-darwin
|
|
50
50
|
- name: macos-arm64
|
|
51
|
-
runner: macos-
|
|
51
|
+
runner: macos-26
|
|
52
52
|
target: aarch64-apple-darwin
|
|
53
53
|
|
|
54
54
|
steps:
|
|
@@ -52,12 +52,12 @@ jobs:
|
|
|
52
52
|
}
|
|
53
53
|
- {
|
|
54
54
|
NAME: darwin-x64,
|
|
55
|
-
OS: macos-
|
|
55
|
+
OS: macos-26-intel,
|
|
56
56
|
TARGET: x86_64-apple-darwin,
|
|
57
57
|
}
|
|
58
58
|
- {
|
|
59
59
|
NAME: darwin-arm64,
|
|
60
|
-
OS: macos-
|
|
60
|
+
OS: macos-26,
|
|
61
61
|
TARGET: aarch64-apple-darwin,
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -115,6 +115,8 @@ jobs:
|
|
|
115
115
|
registry-url: "https://registry.npmjs.org"
|
|
116
116
|
|
|
117
117
|
- name: Publish platform package to NPM
|
|
118
|
+
env:
|
|
119
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
118
120
|
shell: bash
|
|
119
121
|
run: |
|
|
120
122
|
cd npm
|
|
@@ -198,6 +200,8 @@ jobs:
|
|
|
198
200
|
registry-url: "https://registry.npmjs.org"
|
|
199
201
|
|
|
200
202
|
- name: Publish base package to NPM
|
|
203
|
+
env:
|
|
204
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
201
205
|
shell: bash
|
|
202
206
|
run: |
|
|
203
207
|
cd npm/onde-cli
|
|
@@ -52,10 +52,10 @@ jobs:
|
|
|
52
52
|
OS: windows-2022,
|
|
53
53
|
TARGET: aarch64-pc-windows-msvc,
|
|
54
54
|
}
|
|
55
|
-
- { NAME: darwin-x64, OS: macos-
|
|
55
|
+
- { NAME: darwin-x64, OS: macos-26-intel, TARGET: x86_64-apple-darwin }
|
|
56
56
|
- {
|
|
57
57
|
NAME: darwin-arm64,
|
|
58
|
-
OS: macos-
|
|
58
|
+
OS: macos-26,
|
|
59
59
|
TARGET: aarch64-apple-darwin,
|
|
60
60
|
}
|
|
61
61
|
steps:
|