Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 8 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,18 @@ jobs:
with:
version: 10

- name: Check and Update npm
run: |
echo "Initial npm version:"
npm --version
npm install -g npm@latest
echo "Updated npm version:"
npm --version

- name: Install dependencies and build
run: |
pnpm install
pnpm run build

- name: Get OIDC Token
uses: actions/github-script@v7
id: get_token
with:
script: |
const token = await core.getIDToken();
core.setOutput('oidc_token', token);

- name: Decode and Print OIDC Token
run: |
echo "--- Decoded OIDC Token Payload ---"
echo "${{ steps.get_token.outputs.oidc_token }}" | cut -d. -f2 | base64 --decode | jq .
echo "------------------------------------"

- name: Publish to npm
run: npm publish --provenance
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/).

## [1.2.0] - 2025-12-5

### Added
- Support LLM Contract Audit
- Sunhat VSCode Extension v0.1.1
- Developer Documents Updated

## [1.1.0] - 2025-11-18

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Check the `deployments/` directory for your deployment files. You should see:
---

## Development
To dive deeper into advanced topics of the sunhat project lifecycle, please see the [Documentation](https://docs-hat.sun.io/) for guides and reference.
To dive deeper into advanced topics of the sunhat project lifecycle, please see the [Documentation](https://hat-docs.sunagent.ai/) for guides and reference.

---

Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ async function callLLM(
prompt: string,
): Promise<string> {
console.log(`[INFO] Using provider: ${provider}, model: ${config.model}`);
console.log(`[INFO] prompt: ${prompt}`);
// console.log(`[INFO] prompt: ${prompt}`);

switch (provider) {
case 'openai':
Expand Down
2 changes: 1 addition & 1 deletion vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sunhat-vscode-extension",
"displayName": "Sunhat VSCode Extension",
"description": "The essential VS Code extension pack for Web3 developers using Sunhat. Streamline your smart contract development, testing, and deployment lifecycle with this all-in-one toolkit.",
"version": "0.1.0",
"version": "0.1.1",
"keywords": [
"hardhat",
"contract test",
Expand Down