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
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# High-risk directories
/.github/ @TrueNine
/cli/ @TrueNine
/libraries/ @TrueNine
/sdk/ @TrueNine
/gui/ @TrueNine
/doc/ @TrueNine
/scripts/ @TrueNine
2 changes: 1 addition & 1 deletion .github/actions/build-gui-platform/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
shell: bash
run: |
echo "=== Finding all bundle artifacts ==="
find target -path '*/bundle/*' -type f 2>/dev/null || echo 'No bundle files found'
find gui/src-tauri/target -path '*/bundle/*' -type f 2>/dev/null || echo 'No bundle files found'

- name: Upload artifacts
uses: actions/upload-artifact@v7
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup-tauri/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ runs:
path: |
~/.cargo/registry
~/.cargo/git
target
gui/src-tauri/target
key: ${{ runner.os }}-cargo-${{ inputs.rust-version }}-${{ steps.cargo-deps-hash.outputs.hash }}
restore-keys: |
${{ runner.os }}-cargo-${{ inputs.rust-version }}-
Expand All @@ -113,6 +113,6 @@ runs:
- name: Clean old bundle artifacts
shell: bash
run: |
if [ -d "target" ]; then
find target -type d -name bundle -prune -exec rm -rf {} +
if [ -d "gui/src-tauri/target" ]; then
find gui/src-tauri/target -type d -name bundle -prune -exec rm -rf {} +
fi
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Scope

- [ ] CLI (`cli/`)
- [ ] Shared Rust / N-API libraries (`libraries/`)
- [ ] SDK core (`sdk/`)
- [ ] GUI (`gui/`)
- [ ] Docs (`doc/`)
- [ ] GitHub automation / release chain (`.github/`)
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/build-gui-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,32 @@ jobs:
rust-targets: ''
tauri-command: pnpm tauri build
artifact-path: |
target/*/release/bundle/**/*.exe
target/release/bundle/**/*.exe
target/*/release/bundle/**/*.sig
target/release/bundle/**/*.sig
gui/src-tauri/target/*/release/bundle/**/*.exe
gui/src-tauri/target/release/bundle/**/*.exe
gui/src-tauri/target/*/release/bundle/**/*.sig
gui/src-tauri/target/release/bundle/**/*.sig
- os: ubuntu-24.04
rust-targets: ''
tauri-command: pnpm tauri build
artifact-path: |
target/*/release/bundle/**/*.AppImage
target/*/release/bundle/**/*.deb
target/*/release/bundle/**/*.rpm
target/*/release/bundle/**/*.sig
target/release/bundle/**/*.AppImage
target/release/bundle/**/*.deb
target/release/bundle/**/*.rpm
target/release/bundle/**/*.sig
gui/src-tauri/target/*/release/bundle/**/*.AppImage
gui/src-tauri/target/*/release/bundle/**/*.deb
gui/src-tauri/target/*/release/bundle/**/*.rpm
gui/src-tauri/target/*/release/bundle/**/*.sig
gui/src-tauri/target/release/bundle/**/*.AppImage
gui/src-tauri/target/release/bundle/**/*.deb
gui/src-tauri/target/release/bundle/**/*.rpm
gui/src-tauri/target/release/bundle/**/*.sig
- os: macos-14
rust-targets: aarch64-apple-darwin,x86_64-apple-darwin
tauri-command: pnpm tauri build --target universal-apple-darwin
artifact-path: |
target/*/release/bundle/**/*.dmg
target/*/release/bundle/**/*.tar.gz
target/*/release/bundle/**/*.sig
target/release/bundle/**/*.dmg
target/release/bundle/**/*.tar.gz
target/release/bundle/**/*.sig
gui/src-tauri/target/*/release/bundle/**/*.dmg
gui/src-tauri/target/*/release/bundle/**/*.tar.gz
gui/src-tauri/target/*/release/bundle/**/*.sig
gui/src-tauri/target/release/bundle/**/*.dmg
gui/src-tauri/target/release/bundle/**/*.tar.gz
gui/src-tauri/target/release/bundle/**/*.sig
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ jobs:
- name: MCP tests
run: pnpm turbo test --filter=@truenine/memory-sync-mcp

test-libraries:
test-sdk-core:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
timeout-minutes: 15
Expand All @@ -261,8 +261,8 @@ jobs:
- name: Build native modules
run: pnpm run build:native

- name: Library tests
run: pnpm turbo test --filter=@truenine/logger --filter=@truenine/md-compiler --filter=@truenine/script-runtime
- name: SDK core tests
run: pnpm turbo test --filter=@truenine/memory-sync-sdk

test-rust:
if: github.event.pull_request.draft == false
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,8 @@ name: Release Packages
env:
NPM_REGISTRY_URL: https://registry.npmjs.org/
CLI_NATIVE_MODULE_DIRS: |
libraries/logger
libraries/md-compiler
libraries/script-runtime
sdk
CLI_NATIVE_BINDING_PREFIXES: |
napi-logger.
napi-md-compiler.
napi-script-runtime.
napi-memory-sync-cli.

concurrency:
Expand All @@ -29,7 +23,7 @@ on:
- cli/**
- mcp/**
- gui/**
- libraries/**
- sdk/**
- scripts/**
- Cargo.toml
- Cargo.lock
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release-gui-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
tauri-command: pnpm tauri build
artifact-name: debug-gui-ubuntu-24.04
artifact-path: |
target/*/release/bundle/**/*.AppImage
target/release/bundle/**/*.AppImage
target/*/release/bundle/**/*.deb
target/release/bundle/**/*.deb
target/*/release/bundle/**/*.rpm
target/release/bundle/**/*.rpm
target/*/release/bundle/**/*.sig
target/release/bundle/**/*.sig
gui/src-tauri/target/*/release/bundle/**/*.AppImage
gui/src-tauri/target/release/bundle/**/*.AppImage
gui/src-tauri/target/*/release/bundle/**/*.deb
gui/src-tauri/target/release/bundle/**/*.deb
gui/src-tauri/target/*/release/bundle/**/*.rpm
gui/src-tauri/target/release/bundle/**/*.rpm
gui/src-tauri/target/*/release/bundle/**/*.sig
gui/src-tauri/target/release/bundle/**/*.sig
signing-private-key: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
signing-private-key-password: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
version: ${{ inputs.version }}
12 changes: 6 additions & 6 deletions .github/workflows/release-gui-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
tauri-command: pnpm tauri build --target universal-apple-darwin
artifact-name: debug-gui-macos-14
artifact-path: |
target/*/release/bundle/**/*.dmg
target/*/release/bundle/**/*.tar.gz
target/*/release/bundle/**/*.sig
target/release/bundle/**/*.dmg
target/release/bundle/**/*.tar.gz
target/release/bundle/**/*.sig
gui/src-tauri/target/*/release/bundle/**/*.dmg
gui/src-tauri/target/*/release/bundle/**/*.tar.gz
gui/src-tauri/target/*/release/bundle/**/*.sig
gui/src-tauri/target/release/bundle/**/*.dmg
gui/src-tauri/target/release/bundle/**/*.tar.gz
gui/src-tauri/target/release/bundle/**/*.sig
rust-targets: aarch64-apple-darwin,x86_64-apple-darwin
signing-private-key: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
signing-private-key-password: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-gui-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
tauri-command: pnpm tauri build
artifact-name: debug-gui-windows-latest
artifact-path: |
target/*/release/bundle/**/*.exe
target/*/release/bundle/**/*.sig
target/release/bundle/**/*.exe
target/release/bundle/**/*.sig
gui/src-tauri/target/*/release/bundle/**/*.exe
gui/src-tauri/target/*/release/bundle/**/*.sig
gui/src-tauri/target/release/bundle/**/*.exe
gui/src-tauri/target/release/bundle/**/*.sig
signing-private-key: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
signing-private-key-password: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
version: ${{ inputs.version }}
8 changes: 7 additions & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ We are rats. We accept that.
- **Students and beginners**: Genuinely willing to learn and get hands dirty, not here to beg for ready-made answers
- **Anyone, any language, any region**: If you use this tool, you are part of the community
- **AI Agents**: Automation pipelines, Agent workflows, LLM-driven toolchains — as long as behaviour complies with this code, Issues and PRs from Agents are treated equally

We welcome Issues, PRs, discussions, rants — as long as you are serious, regardless of whether the author is human or Agent.

---
Expand All @@ -30,6 +31,7 @@ The following behaviours result in immediate Issue closure / PR rejection / acco
- **Resource predators**: Stable income, corporate budget, yet competing with marginal developers for free resources and community attention
- **Harassment**: Personal attacks, discrimination, stalking, harassing maintainers or other contributors
- **Hustle-culture pushers**: Glorify overwork, promote 996, or use this tool to exploit other developers

---

## Contributor Obligations
Expand All @@ -40,12 +42,14 @@ If you submit an Issue (human or Agent):
- State your OS, Node.js version, and tool version
- Agent submissions must include trigger context (call chain, input params, error stack)
- Do not rush maintainers — they are humans, not customer support

If you submit a PR (human or Agent):

- Open an Issue first to discuss, avoid wasted effort
- Follow existing code style (TypeScript strict, functional, immutable-first)
- Do not sneak unrelated changes into a PR
- Agent-generated PRs must declare the generation tool and prompt source in the description; do not disguise as hand-written

---

## Maintainer Rights
Expand All @@ -55,16 +59,18 @@ Maintainers may:
- Close any Issue or PR without explanation
- Ban any account violating this code
- Amend this code at any time

Maintainers are not obligated to:

- Respond to every Issue
- Accept every PR
- Be responsible for anyone's commercial needs

---

## Licence and Enforcement

This project is licensed under [AGPL-3.0](LICENSE).
Commercial use violating the licence will be subject to legal action.

Enforcement of this code of conduct is at the maintainers' sole discretion; final interpretation rests with [@TrueNine](https://github.com/TrueNine).
Enforcement of this code of conduct is at the maintainers' sole discretion; final interpretation rests with [@TrueNine](https://github.com/TrueNine).
Loading
Loading