Skip to content

Commit

Permalink
Merge pull request #3 from atomiechen/dev
Browse files Browse the repository at this point in the history
Bump version to 0.1.1
  • Loading branch information
atomiechen authored May 5, 2024
2 parents b09f984 + 4df9996 commit 309dda0
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 15 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/test_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@ on:
push:
branches:
- main
tags:
- v*
release:
types:
- created
# tags:
# - v*
# release:
# types:
# - created
workflow_dispatch:
inputs:
publish_vse:
type: boolean
default: false
description: publish to marketplace
publish_github:
type: boolean
default: false
description: publish to GitHub release

jobs:
build:
Expand All @@ -26,8 +36,8 @@ jobs:
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
- name: Publish to marketplace
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' && ${{ inputs.publish_vse }}
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
3 changes: 3 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ vsc-extension-quickstart.md
**/*.map
**/*.ts
**/.vscode-test.*
demo/**
examples/**
.github/**
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,21 @@ VS Code extension for [HandyLLM](https://github.com/atomiechen/HandyLLM) (>= 0.7

See demo below:

![example screenshot](https://raw.githubusercontent.com/atomiechen/vscode-handyllm/main/assets/demo/example.jpg)
![example screenshot](https://raw.githubusercontent.com/atomiechen/vscode-handyllm/main/demo/example.jpg)

### Run hprompt file

- Run the active hprompt file from the action button, or right click an `.hprompt` file, or issue from the command palette `Run Hprompt` (keyboard shortcut configured).
- You can change `handyllm` command used in the terminal by setting `handyllm.commandName` (needs installation of [HandyLLM CLI](https://github.com/atomiechen/HandyLLM)).

See gif below:

![run hprompt](https://raw.githubusercontent.com/atomiechen/vscode-handyllm/main/assets/demo/run.gif)
![run hprompt](https://raw.githubusercontent.com/atomiechen/vscode-handyllm/main/demo/run.gif)

### Create starter hprompt file

Issue from command palette `New Hprompt File`, or `New File` and then select `Hprompt File`.

See gif below:

![create hprompt](https://raw.githubusercontent.com/atomiechen/vscode-handyllm/main/assets/demo/create.gif)
![create hprompt](https://raw.githubusercontent.com/atomiechen/vscode-handyllm/main/demo/create.gif)
Binary file removed assets/demo/create.gif
Binary file not shown.
Binary file added demo/create.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"url": "https://github.com/atomiechen/vscode-handyllm"
},
"private": true,
"version": "0.1.0",
"version": "0.1.1",
"engines": {
"vscode": "^1.66.0"
},
Expand Down Expand Up @@ -41,11 +41,14 @@
"icon": {
"dark": "assets/icon/action_dark.svg",
"light": "assets/icon/action_light.svg"
}
},
"category": "HandyLLM"
},
{
"command": "handyllm.createHprompt",
"title": "Hprompt File"
"title": "New Hprompt File",
"shortTitle": "Hprompt File",
"category": "HandyLLM"
}
],
"menus": {
Expand Down

0 comments on commit 309dda0

Please sign in to comment.