diff --git a/.beads/.local_version b/.beads/.local_version new file mode 100644 index 00000000000..36328c43d5d --- /dev/null +++ b/.beads/.local_version @@ -0,0 +1 @@ +0.49.1 diff --git a/.beads/beads.db b/.beads/beads.db new file mode 100644 index 00000000000..6ce403ab16c Binary files /dev/null and b/.beads/beads.db differ diff --git a/.beads/beads.db-shm b/.beads/beads.db-shm new file mode 100644 index 00000000000..b1051f2810c Binary files /dev/null and b/.beads/beads.db-shm differ diff --git a/.beads/beads.db-wal b/.beads/beads.db-wal new file mode 100644 index 00000000000..e334c5d8b57 Binary files /dev/null and b/.beads/beads.db-wal differ diff --git a/.beads/beads.left.jsonl b/.beads/beads.left.jsonl new file mode 100644 index 00000000000..e69de29bb2d diff --git a/.beads/beads.left.meta.json b/.beads/beads.left.meta.json new file mode 100644 index 00000000000..434498d0e9f --- /dev/null +++ b/.beads/beads.left.meta.json @@ -0,0 +1 @@ +{"version":"0.49.1","timestamp":"2026-02-14T14:52:39.664268138-06:00","commit":"a15b401"} \ No newline at end of file diff --git a/.beads/daemon.lock b/.beads/daemon.lock new file mode 100644 index 00000000000..ba6aba95664 --- /dev/null +++ b/.beads/daemon.lock @@ -0,0 +1,7 @@ +{ + "pid": 171809, + "parent_pid": 171784, + "database": "/home/jeremy/000-projects/kilo/.beads/beads.db", + "version": "0.49.1", + "started_at": "2026-02-14T20:52:39.38617748Z" +} diff --git a/.beads/daemon.pid b/.beads/daemon.pid new file mode 100644 index 00000000000..97a6d2031af --- /dev/null +++ b/.beads/daemon.pid @@ -0,0 +1 @@ +171809 diff --git a/.beads/last-touched b/.beads/last-touched new file mode 100644 index 00000000000..adc4ed2adda --- /dev/null +++ b/.beads/last-touched @@ -0,0 +1 @@ +kilo-ko9 diff --git a/.beads/metadata.json b/.beads/metadata.json new file mode 100644 index 00000000000..c787975e1ff --- /dev/null +++ b/.beads/metadata.json @@ -0,0 +1,4 @@ +{ + "database": "beads.db", + "jsonl_export": "issues.jsonl" +} \ No newline at end of file diff --git a/.beads/sync-state.json b/.beads/sync-state.json new file mode 100644 index 00000000000..b486a94cfd5 --- /dev/null +++ b/.beads/sync-state.json @@ -0,0 +1,7 @@ +{ + "last_failure": "2026-02-14T20:42:41.363720889-06:00", + "failure_count": 7, + "backoff_until": "2026-02-14T21:12:41.36372132-06:00", + "needs_manual_sync": true, + "failure_reason": "git pull failed: exit status 1\nfatal: couldn't find remote ref review/PR-5667\n" +} \ No newline at end of file diff --git a/.changeset/free-toes-hammer.md b/.changeset/free-toes-hammer.md new file mode 100644 index 00000000000..1b960b8217d --- /dev/null +++ b/.changeset/free-toes-hammer.md @@ -0,0 +1,14 @@ +--- +"kilo-code": patch +--- + +fix(mentions): process slash commands in tool_result blocks + +Previously, parseKiloSlashCommands was only called for text blocks, +causing slash commands in tool_result blocks to be ignored. This fix +extends the processing to tool_result blocks by using the new +processTextContent helper function that combines parseMentions and +parseKiloSlashCommands. + +The regression test ensures that slash commands in tool responses are +properly processed and transformed. diff --git a/.changeset/slow-pillows-tap.md b/.changeset/slow-pillows-tap.md new file mode 100644 index 00000000000..f5ec0392917 --- /dev/null +++ b/.changeset/slow-pillows-tap.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Fix Kilo Quota | OpenRouter error handling and retry flow diff --git a/.changeset/zenmux-context-window-fix.md b/.changeset/zenmux-context-window-fix.md new file mode 100644 index 00000000000..49538b9430a --- /dev/null +++ b/.changeset/zenmux-context-window-fix.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Fixed ZenMux context window detection to prevent erroneous context-condensing loops. diff --git a/.changeset/zenmux-native-tools-reliability.md b/.changeset/zenmux-native-tools-reliability.md new file mode 100644 index 00000000000..1fd6501810d --- /dev/null +++ b/.changeset/zenmux-native-tools-reliability.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Fixed ZenMux tool-calling reliability to avoid repeated "tool not used" loops and preserve transformed request messages. diff --git a/.github/workflows/auto-triage.yml b/.github/workflows/auto-triage.yml new file mode 100644 index 00000000000..e96b9caa364 --- /dev/null +++ b/.github/workflows/auto-triage.yml @@ -0,0 +1,126 @@ +name: Auto Triage + +on: + issues: + types: [opened] + pull_request: + types: [opened] + +jobs: + triage: + runs-on: ubuntu-latest + # Skip bot-created issues/PRs + if: | + (github.event_name == 'issues' && github.event.issue.user.type != 'Bot') || + (github.event_name == 'pull_request' && github.event.pull_request.user.type != 'Bot') + permissions: + contents: read + issues: write + pull-requests: write + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "20" + + - name: Install Kilo Code CLI + run: npm install -g @kilocode/cli + + - name: Triage + env: + KILO_PROVIDER_TYPE: kilocode + KILOCODE_TOKEN: ${{ secrets.KILOCODE_INTEGRATION_TOKEN }} + KILOCODE_ORGANIZATION_ID: ${{ secrets.KILOCODE_INTEGRATION_ORGANIZATION_ID }} + KILOCODE_MODEL: claude-haiku-4-5 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + KILO_AUTO_APPROVAL_ENABLED: "true" + KILO_AUTO_APPROVAL_EXECUTE_ENABLED: "true" + KILO_AUTO_APPROVAL_EXECUTE_ALLOWED: "gh issue edit,gh pr edit" + KILO_AUTO_APPROVAL_EXECUTE_DENIED: "gh issue close,gh issue delete,gh issue transfer,gh issue lock,gh issue unlock,gh pr close,gh pr merge,gh repo,gh auth,gh secret,gh variable,rm,sudo,curl,wget,bash,sh,python,node,npm,npx" + KILO_TELEMETRY: "false" + # Determine event type and extract data + EVENT_TYPE: ${{ github.event_name }} + ITEM_NUMBER: ${{ github.event_name == 'issues' && github.event.issue.number || github.event.pull_request.number }} + ITEM_TITLE: ${{ github.event_name == 'issues' && github.event.issue.title || github.event.pull_request.title }} + ITEM_BODY: ${{ github.event_name == 'issues' && github.event.issue.body || github.event.pull_request.body }} + run: | + # Sanitize body - remove shell metacharacters + SAFE_BODY=$(echo "$ITEM_BODY" | head -c 2000 | tr -d '`$(){}[]|;&<>\\' | tr '\n' ' ') + + # Determine gh command based on event type + if [ "$EVENT_TYPE" = "issues" ]; then + GH_CMD="gh issue edit" + ITEM_TYPE="issue" + else + GH_CMD="gh pr edit" + ITEM_TYPE="pull request" + fi + + kilocode --auto "Triage this GitHub ${ITEM_TYPE}: + + Number: ${ITEM_NUMBER} + Title: ${ITEM_TITLE} + Body: ${SAFE_BODY} + + ## Your Task + Add appropriate labels to this ${ITEM_TYPE}. + + ## Command Format + Use ONLY: ${GH_CMD} ${ITEM_NUMBER} --add-label \"